Interface IModelFactory

    • Method Detail

      • createModel

        IModel createModel​(IDefinition definition,
                           org.eclipse.emf.ecore.EObject... objects)
        Creates IModel instance by the given arguments.
        Parameters:
        definition - the definition, cannot be null.
        objects - the objects for that the model is created.
        Returns:
        the newly created model.
      • createModel

        default IModel createModel​(IDefinition definition,
                                   Collection<Object> objects)
        Creates IModel instance by the given arguments.
        Parameters:
        definition - the definition, cannot be null.
        objects - the objects for that the model is created, cannot be null.
        Returns:
        the newly created model or null.