Class DefaultModelFactory
- java.lang.Object
-
- com._1c.g5.aef2.standard.definitions.models.DefaultModelFactory
-
- All Implemented Interfaces:
IModelFactory
public class DefaultModelFactory extends Object implements IModelFactory
The model factory that operates with definition and creates model forSeparatorDefinition
andSectionDefinition
only.
-
-
Field Summary
Fields Modifier and Type Field Description static IModelFactory
INSTANCE
The shared instance of the model factory.
-
Constructor Summary
Constructors Constructor Description DefaultModelFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IModel
createModel(IDefinition definition, Collection<Object> objects)
CreatesIModel
instance by the given arguments.IModel
createModel(IDefinition definition, org.eclipse.emf.ecore.EObject... objects)
CreatesIModel
instance by the given arguments.
-
-
-
Field Detail
-
INSTANCE
public static final IModelFactory INSTANCE
The shared instance of the model factory.
-
-
Method Detail
-
createModel
public IModel createModel(IDefinition definition, Collection<Object> objects)
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
public IModel createModel(IDefinition definition, org.eclipse.emf.ecore.EObject... objects)
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.
-
-