Interface IModelFactory

All Known Implementing Classes:
AbstractFeatureFieldModelFactory, AbstractMultiFeatureFieldModelFactory, AdoptedCommonAttributeContentModelFactory, AdoptedCommonPictureModelFactory, AdoptedExchangePlanContentModelFactory, AggregatesModelFactory, BmCommonAttributeDataSeparationModelFactory, BpSchemeModelFactory, ChartModelFactory, CmiModelFactory, CommonAttributeContentModelFactory, CommonPictureModelFactory, CompositeModelFactory, ConfigurationStandaloneContentModelFactory, DefaultModelFactory, DistributionSupportModelFactory, DocumentNumeratorModelFactory, ExchangePlanContentModelFactory, FormDynamicListModelFactory, FormExtensionModelFactory, FormModelFactory, GeographicalSchemaModelFactory, GraphicalSchemePictureModelFactory, InfobaseApplicationEditorModelFactory, MdExtensionPropertiesModelFactory, MdGranularEditorMultiFeatureModelFactory, MdGranularEditorsModelFactory, MdHelpModelFactory, MdSingleDefaultModelFactory, MdSingleModelFactory, ModelFactory, MoxelModelFactory, PlannerModelFactory, PlatformServicesModelFactory, PromptConfirmationOnRestructureModel.Factory, PropertiesModelFactory, SelectionModelFactory, StandardAttributeModelFactory, StyleModelFactory, SuppressModelFactory, WebServerExtensionModelFactory, WsReferenceGranularEditorModelFactory, WsReferenceModelFactory, XdtoModelFactory
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 AEF IModel instances.
  • Method Details

    • createModel

      IModel createModel(IDefinition definition, org.eclipse.emf.ecore.EObject... objects)
      Creates IModel instance by the given arguments.
      Parameters:
      definition - the definition, cannot be null.
      objects - the objects for that the model is created.
      Returns:
      the newly created model.
    • createModel

      default IModel createModel(IDefinition definition, Collection<Object> objects)
      Creates IModel instance by the given arguments.
      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.