Class AbstractFeatureFieldModelFactory
- java.lang.Object
-
- com._1c.g5.aef2.standard.definitions.models.AbstractFeatureFieldModelFactory
-
- All Implemented Interfaces:
IModelFactory
- Direct Known Subclasses:
BmCommonAttributeDataSeparationModelFactory
,BpSchemeModelFactory
,CmiModelFactory
,CommonAttributeContentModelFactory
,DocumentNumeratorModelFactory
,GraphicalSchemePictureModelFactory
,MdHelpModelFactory
,MdSingleDefaultModelFactory
,MdSingleModelFactory
,ModelFactory
,PropertiesModelFactory
,SelectionModelFactory
,StandardAttributeModelFactory
public abstract class AbstractFeatureFieldModelFactory extends Object implements IModelFactory
The abstract model factory implementation for single-feature definitions.
-
-
Constructor Summary
Constructors Constructor Description AbstractFeatureFieldModelFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected IModel
createGroupModel(IFieldDefinition definition, org.eclipse.emf.ecore.EObject... objects)
Creates model for multiple objects.IModel
createModel(IDefinition definition, org.eclipse.emf.ecore.EObject... objects)
CreatesIModel
instance by the given arguments.protected abstract IModel
createSingleModel(EObjectFeature objectFeature)
Creates model for single object.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com._1c.g5.aef2.standard.definitions.models.IModelFactory
createModel
-
-
-
-
Method Detail
-
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.
-
createSingleModel
protected abstract IModel createSingleModel(EObjectFeature objectFeature)
Creates model for single object.- Parameters:
objectFeature
- theEObjectFeature
instance that contains all needed information.- Returns:
- a newly created model.
-
createGroupModel
protected IModel createGroupModel(IFieldDefinition definition, org.eclipse.emf.ecore.EObject... objects)
Creates model for multiple objects. Returnsnull
by default.- Parameters:
definition
- the field definition.objects
- objects.- Returns:
- a newly created model.
-
-