Class CompositeModelFactory
- java.lang.Object
- 
- com._1c.g5.aef2.standard.definitions.models.CompositeModelFactory
 
- 
- All Implemented Interfaces:
- IModelFactory
 
 public class CompositeModelFactory extends Object implements IModelFactory The composite model factory that accumulates others model factories registered with extension point"com._1c.g5.aef2.standard.definitions.modelFactory"..
- 
- 
Field SummaryFields Modifier and Type Field Description static IModelFactoryINSTANCEThe shared instance of the model factory.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IModelcreateModel(IDefinition definition, Collection<Object> objects)CreatesIModelinstance by the given arguments.IModelcreateModel(IDefinition definition, org.eclipse.emf.ecore.EObject... objects)CreatesIModelinstance by the given arguments.protected List<IModelFactory>getFactories()Gets list of AEF model factories.
 
- 
- 
- 
Field Detail- 
INSTANCEpublic static final IModelFactory INSTANCE The shared instance of the model factory.
 
- 
 - 
Method Detail- 
createModelpublic IModel createModel(IDefinition definition, Collection<Object> objects) Description copied from interface:IModelFactoryCreatesIModelinstance by the given arguments.- Specified by:
- createModelin interface- IModelFactory
- 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.
 
 - 
createModelpublic IModel createModel(IDefinition definition, org.eclipse.emf.ecore.EObject... objects) Description copied from interface:IModelFactoryCreatesIModelinstance by the given arguments.- Specified by:
- createModelin interface- IModelFactory
- Parameters:
- definition- the definition, cannot be- null.
- objects- the objects for that the model is created.
- Returns:
- the newly created model.
 
 - 
getFactoriesprotected List<IModelFactory> getFactories() Gets list of AEF model factories.- Returns:
- list of model factories.
 
 
- 
 
-