Class EmfModel

    • Field Detail

      • PROPERTY_IS_METAMODEL_FILE_BASED

        @Deprecated
        public static final java.lang.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:
        Constant Field Values
      • PROPERTY_METAMODEL_URI

        public static final java.lang.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:
        Constant Field Values
      • PROPERTY_FILE_BASED_METAMODEL_URI

        public static final java.lang.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:
        Constant Field Values
      • PROPERTY_MODEL_URI

        public static final java.lang.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:
        Constant Field Values
      • PROPERTY_MODEL_FILE

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

        public static final java.lang.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:
        Constant Field Values
      • metamodelUris

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

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

        @Deprecated
        protected boolean isMetamodelFileBased
        Deprecated.
      • modelUri

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

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

        protected boolean useExtendedMetadata
      • reuseUnmodifiedFileBasedMetamodels

        protected boolean reuseUnmodifiedFileBasedMetamodels
      • fileBasedMetamodels

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

        protected static java.util.Map<java.lang.String,​java.lang.Long> fileBasedMetamodelTimestamps
    • Constructor Detail

      • EmfModel

        public EmfModel()