Interface IModelFactory
-
- All Known Implementing Classes:
AbstractFeatureFieldModelFactory
,AbstractMultiFeatureFieldModelFactory
,BmCommonAttributeDataSeparationModelFactory
,BpSchemeModelFactory
,CmiModelFactory
,CommonAttributeContentModelFactory
,CommonPictureModelFactory
,CompositeModelFactory
,ConfigurationStandaloneContentModelFactory
,DefaultModelFactory
,DocumentNumeratorModelFactory
,ExchangePlanContentModelFactory
,GraphicalSchemePictureModelFactory
,MdExtensionPropertiesModelFactory
,MdHelpModelFactory
,MdSingleDefaultModelFactory
,MdSingleModelFactory
,ModelFactory
,PropertiesModelFactory
,SelectionModelFactory
,StandardAttributeModelFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IModelFactory
The model factory to create the AEFIModel
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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.
-
-
-
Method Detail
-
createModel
IModel createModel(IDefinition definition, org.eclipse.emf.ecore.EObject... objects)
CreatesIModel
instance by the given arguments.- Parameters:
definition
- the definition, cannot benull
.objects
- the objects for that the model is created.- Returns:
- the newly created model.
-
createModel
default IModel createModel(IDefinition definition, Collection<Object> objects)
CreatesIModel
instance by the given arguments.- Parameters:
definition
- the definition, cannot benull
.objects
- the objects for that the model is created, cannot benull
.- Returns:
- the newly created model or
null
.
-
-