Class CompositeModelFactory
java.lang.Object
com._1c.g5.aef2.standard.definitions.models.CompositeModelFactory
- All Implemented Interfaces:
IModelFactory
The composite model factory that accumulates others model factories
registered with extension point
"com._1c.g5.aef2.standard.definitions.modelFactory".
.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IModelFactory
The shared instance of the model factory. -
Method Summary
Modifier and TypeMethodDescriptioncreateModel
(IDefinition definition, Collection<Object> objects) CreatesIModel
instance by the given arguments.createModel
(IDefinition definition, org.eclipse.emf.ecore.EObject... objects) CreatesIModel
instance by the given arguments.protected List<IModelFactory>
Gets list of AEF model factories.
-
Field Details
-
INSTANCE
The shared instance of the model factory.
-
-
Method Details
-
createModel
Description copied from interface:IModelFactory
CreatesIModel
instance by the given arguments.- Specified by:
createModel
in 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:IModelFactory
CreatesIModel
instance by the given arguments.- Specified by:
createModel
in interfaceIModelFactory
- Parameters:
definition
- the definition, cannot benull
.objects
- the objects for that the model is created.- Returns:
- the newly created model.
-
getFactories
Gets list of AEF model factories.- Returns:
- list of model factories.
-