Class DefaultModelFactory
java.lang.Object
com._1c.g5.aef2.standard.definitions.models.DefaultModelFactory
- All Implemented Interfaces:
IModelFactory
The model factory that operates with definition and
creates model for
SeparatorDefinition and SectionDefinition only.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IModelFactoryThe shared instance of the model factory. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateModel(IDefinition definition, Collection<Object> objects) CreatesIModelinstance by the given arguments.createModel(IDefinition definition, org.eclipse.emf.ecore.EObject... objects) CreatesIModelinstance by the given arguments.
-
Field Details
-
INSTANCE
The shared instance of the model factory.
-
-
Constructor Details
-
DefaultModelFactory
public DefaultModelFactory()
-
-
Method Details
-
createModel
Description copied from interface:IModelFactoryCreatesIModelinstance by the given arguments.- Specified by:
createModelin interfaceIModelFactory- Parameters:
definition- the definition, cannot benull.objects- the objects for that the model is created, cannot benull.- Returns:
- the newly created model or
null.
-
createModel
Description copied from interface:IModelFactoryCreatesIModelinstance by the given arguments.- Specified by:
createModelin interfaceIModelFactory- Parameters:
definition- the definition, cannot benull.objects- the objects for that the model is created.- Returns:
- the newly created model.
-