Class EmfModel

All Implemented Interfaces:
AutoCloseable, IModel, IReflectiveModel
Direct Known Subclasses:
DecoratorEmfModel, EmfM0Model, InMemoryEmfModel, UmlModel, XmlModel

public class EmfModel extends AbstractReflectiveEmfModel
  • Field Details

    • PROPERTY_IS_METAMODEL_FILE_BASED

      @Deprecated public static final String PROPERTY_IS_METAMODEL_FILE_BASED
      Deprecated.
      PROPERTY_METAMODEL_URI and PROPERTY_FILE_BASED_METAMODEL_URI are now interpreted as comma-separated lists of 0+ metamodel locations, and it is allowed to mix both types of metamodels now. This property is no longer used.
      See Also:
    • PROPERTY_METAMODEL_URI

      public static final String PROPERTY_METAMODEL_URI
      One of the keys used to construct the first argument to Model.load(StringProperties, String). This key is a comma-separated list of zero or more namespaces URI of some of the metamodels to which this model conforms. Users may combine this key with PROPERTY_FILE_BASED_METAMODEL_URI to load both file-based and URI-based metamodels at the same time.
      See Also:
    • PROPERTY_FILE_BASED_METAMODEL_URI

      public static final String PROPERTY_FILE_BASED_METAMODEL_URI
      One of the keys used to construct the first argument to Model.load(StringProperties, String). This key is a comma-separated list of zero or more URIs that can be used to locate some of the metamodels to which this model conforms. Users may combine this key with PROPERTY_METAMODEL_URI to load both file-based and URI-based metamodels at the same time.
      See Also:
    • PROPERTY_METAMODEL_FILE

      @Deprecated public static final String PROPERTY_METAMODEL_FILE
      Deprecated.
      Replaced by PROPERTY_FILE_BASED_METAMODEL_URI. This property will be removed in a future release of Epsilon.
      See Also:
    • PROPERTY_MODEL_URI

      public static final String PROPERTY_MODEL_URI
      One of the keys used to construct the first argument to Model.load(StringProperties, String). This key is paired with a URI that can be used to locate this model. This key must always be paired with a value.
      See Also:
    • PROPERTY_MODEL_FILE

      @Deprecated public static final String PROPERTY_MODEL_FILE
      Deprecated.
      Replaced by PROPERTY_MODEL_URI. This property will be removed in a future release of Epsilon.
      See Also:
    • PROPERTY_REUSE_UNMODIFIED_FILE_BASED_METAMODELS

      public static final String PROPERTY_REUSE_UNMODIFIED_FILE_BASED_METAMODELS
      One of the keys used to construct the first argument to Model.load(StringProperties, String). This key is a Boolean value that if set to true (the default), tries to reuse previously registered file-based EPackages that have not been modified since the last time they were registered.
      See Also:
    • PROPERTY_VALIDATE

      public static final String PROPERTY_VALIDATE
      One of the keys used to construct the first argument to Model.load(StringProperties, String). This key is a Boolean value that if set to true it triggers validation of all the resources in the model's resource set after loading (default is false)
      See Also:
    • metamodelUris

      protected List<org.eclipse.emf.common.util.URI> metamodelUris
    • packages

      protected List<org.eclipse.emf.ecore.EPackage> packages
    • isMetamodelFileBased

      @Deprecated protected boolean isMetamodelFileBased
      Deprecated.
    • modelUri

      protected org.eclipse.emf.common.util.URI modelUri
    • metamodelFileUris

      protected List<org.eclipse.emf.common.util.URI> metamodelFileUris
    • useExtendedMetadata

      protected boolean useExtendedMetadata
    • validate

      protected boolean validate
    • reuseUnmodifiedFileBasedMetamodels

      protected boolean reuseUnmodifiedFileBasedMetamodels
    • fileBasedMetamodels

      protected static Map<String,List<org.eclipse.emf.ecore.EPackage>> fileBasedMetamodels
    • fileBasedMetamodelTimestamps

      protected static Map<String,Long> fileBasedMetamodelTimestamps
  • Constructor Details

    • EmfModel

      public EmfModel()
  • Method Details