Class DecoratorEmfModel
java.lang.Object
org.eclipse.epsilon.eol.models.Model
org.eclipse.epsilon.eol.models.CachedModel<org.eclipse.emf.ecore.EObject>
org.eclipse.epsilon.emc.emf.AbstractEmfModel
org.eclipse.epsilon.emc.emf.AbstractReflectiveEmfModel
org.eclipse.epsilon.emc.emf.EmfModel
org.eclipse.epsilon.emc.emf.decorator.DecoratorEmfModel
- All Implemented Interfaces:
AutoCloseable,IModel,IReflectiveModel
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.epsilon.emc.emf.EmfModel
EmfModel.CachedContentsAdapterNested classes/interfaces inherited from interface org.eclipse.epsilon.eol.models.IModel
IModel.AmbiguityCheckResult -
Field Summary
Fields inherited from class org.eclipse.epsilon.emc.emf.EmfModel
fileBasedMetamodels, fileBasedMetamodelTimestamps, isMetamodelFileBased, metamodelFileUris, metamodelUris, modelUri, packages, PROPERTY_FILE_BASED_METAMODEL_URI, PROPERTY_IS_METAMODEL_FILE_BASED, PROPERTY_METAMODEL_FILE, PROPERTY_METAMODEL_URI, PROPERTY_MODEL_FILE, PROPERTY_MODEL_URI, PROPERTY_REUSE_UNMODIFIED_FILE_BASED_METAMODELS, PROPERTY_VALIDATE, reuseUnmodifiedFileBasedMetamodels, useExtendedMetadata, validateFields inherited from class org.eclipse.epsilon.emc.emf.AbstractEmfModel
compositeRegistry, expand, modelImpl, PROPERTY_EXPAND, PROPERTY_PARALLELALLOF, registry, resourceLoadOptions, resourceStoreOptions, transactionSupportFields inherited from class org.eclipse.epsilon.eol.models.CachedModel
allContentsCache, kindCache, PROPERTY_CACHED, PROPERTY_CONCURRENT, typeCacheFields inherited from class org.eclipse.epsilon.eol.models.Model
aliases, ENV_PREFIX, name, PROPERTY_ALIASES, PROPERTY_NAME, PROPERTY_READONLOAD, PROPERTY_READONLY, PROPERTY_STOREONDISPOSAL, propertyGetter, propertySetter, readOnLoad, storeOnDisposal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<DecoratorDescriptor>protected List<org.eclipse.emf.ecore.EClass>getDecoratorEClasses(Collection<org.eclipse.emf.ecore.EPackage> ePackages) protected booleanisDecorator(org.eclipse.emf.ecore.EClass e) protected booleanisDecoratorFor(org.eclipse.emf.ecore.EObject candidateDecorator, Object target, org.eclipse.emf.ecore.EReference eReference) protected booleanisHook(org.eclipse.emf.ecore.EReference e) booleanknowsAboutProperty(Object instance, String property) Returnstrueif this instance could have this property at some point.Methods inherited from class org.eclipse.epsilon.emc.emf.EmfModel
addContentsAdapter, addToCache, createResourceSet, determinePackagesFrom, disposeModel, forceAddToCache, forceRemoveFromCache, getMetamodel, getMetamodelFiles, getMetamodelFileUris, getMetamodelUris, getModelFile, getModelFileUri, isMetamodelFileBased, isReuseUnmodifiedFileBasedMetamodels, isValidate, load, loadModel, loadModelFromUri, removeContentsAdapter, removeFromCache, setCachingEnabled, setMetamodelFile, setMetamodelFileBased, setMetamodelFiles, setMetamodelFileUri, setMetamodelFileUris, setMetamodelUri, setMetamodelUris, setModelFile, setModelFileUri, setReuseUnmodifiedFileBasedMetamodels, setupContainmentChangeListeners, setValidate, store, toStringMethods inherited from class org.eclipse.epsilon.emc.emf.AbstractReflectiveEmfModel
getEnumerationLabelOf, getEnumerationTypeOf, getPropertiesOf, hasPackage, hasProperty, isEnumerationValue, preventLoadingOfExternalModelElementsMethods inherited from class org.eclipse.epsilon.emc.emf.AbstractEmfModel
allContentsFromModel, checkAmbiguity, classesForName, classForName, classForName, classForName, createInstanceInModel, deleteElementInModel, getAllOfKindFromModel, getAllOfTypeFromModel, getAllTypeNamesOf, getCacheKeyForType, getContainerOf, getElementById, getElementId, getEnumerationValue, getFullyQualifiedName, getFullyQualifiedTypeNameOf, getInputStream, getModelImpl, getPackageRegistry, getResource, getResourceLoadOptions, getResources, getResourceStoreOptions, getTransactionSupport, getTypeNameOf, getTypeOf, hasAdapter, hasType, initCaches, isExpand, isInstantiable, isLoaded, isModelElement, isOfKind, isOfType, isParallelAllOf, isPropertySet, knowsAboutProperty, owns, putResourceLoadOption, putResourceStoreOption, setElementId, setExpand, setModelImpl, setParallelAllOf, setResource, setResourceLoadOptions, setResourceStoreOptions, store, store, store, validateMethods inherited from class org.eclipse.epsilon.eol.models.CachedModel
allContents, clearCache, createInstance, deleteElement, dispose, getAllOfKind, getAllOfKindOrType, getAllOfType, isCachingEnabled, isConcurrent, load, setConcurrent, wrap, wrapUnmodifiableMethods inherited from class org.eclipse.epsilon.eol.models.Model
allInstances, createInstance, getAliases, getName, getPropertyGetter, isReadOnLoad, isStoredOnDisposal, load, load, setName, setReadOnLoad, setStoredOnDisposalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.epsilon.eol.models.IModel
allContents, checkAmbiguity, close, createInstance, createInstance, deleteElement, dispose, getAliases, getAllOfKind, getAllOfType, getElementById, getElementId, getEnumerationValue, getFullyQualifiedTypeNameOf, getName, getPropertyGetter, getTransactionSupport, getTypeNameOf, getTypeOf, hasType, isInstantiable, isModelElement, isOfKind, isOfType, isPropertySet, isReadOnLoad, isStoredOnDisposal, load, load, load, owns, setElementId, setName, setReadOnLoad, setStoredOnDisposal, storeMethods inherited from interface org.eclipse.epsilon.eol.models.IReflectiveModel
getContainerOf
-
Constructor Details
-
DecoratorEmfModel
public DecoratorEmfModel()
-
-
Method Details
-
getDecoratorEClasses
protected List<org.eclipse.emf.ecore.EClass> getDecoratorEClasses(Collection<org.eclipse.emf.ecore.EPackage> ePackages) -
getDecoratorDescriptors
-
knowsAboutProperty
Description copied from interface:IModelReturnstrueif this instance could have this property at some point.- Specified by:
knowsAboutPropertyin interfaceIModel- Overrides:
knowsAboutPropertyin classAbstractEmfModel
-
isDecorator
protected boolean isDecorator(org.eclipse.emf.ecore.EClass e) -
isHook
protected boolean isHook(org.eclipse.emf.ecore.EReference e) -
isDecoratorFor
protected boolean isDecoratorFor(org.eclipse.emf.ecore.EObject candidateDecorator, Object target, org.eclipse.emf.ecore.EReference eReference) -
getPropertySetter
- Specified by:
getPropertySetterin interfaceIModel- Specified by:
getPropertySetterin interfaceIReflectiveModel- Overrides:
getPropertySetterin classAbstractReflectiveEmfModel
-