Class DefaultPresentationModelFactory

    • Constructor Detail

      • DefaultPresentationModelFactory

        public DefaultPresentationModelFactory()
    • Method Detail

      • createPresentationModel

        @Nonnull
        public PresentationModel createPresentationModel​(@Nonnull
                                                         java.lang.Object owner,
                                                         @Nonnull
                                                         java.util.Collection<java.lang.Object> localroles)
        Creates a new instance of PresentationModel with some roles or role factories.
        Specified by:
        createPresentationModel in interface PresentationModelFactory
        Parameters:
        owner - the related datum
        localroles - roles or RoleFactory instances to put in the presentation model
        Returns:
        the new instance