Class Model
java.lang.Object
org.eclipse.epsilon.flock.emc.wrappers.Model
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(String typeName) Returns all of the model elements that are directly contained in this model.getContainerOf
(Object underlyingModelObject) getIdentity
(Object underlyingModelObject) getUnwrappedEquivalent
(Object unwrappedModelElement, Model otherModel, ConservativeCopyContext context) boolean
hasPackage
(String originalPackage) boolean
hasProperty
(String type, String property) boolean
boolean
isInstantiable
(String typeName) boolean
boolean
boolean
owns
(ModelElement element) boolean
void
setIdentity
(Object underlyingModelObject, String newIdentity) ModelValue<?>
-
Constructor Details
-
Model
-
-
Method Details
-
createInstance
- Throws:
EolRuntimeException
-
hasType
-
isInstantiable
-
hasProperty
- Throws:
EolRuntimeException
-
hasPackage
-
directContents
Returns all of the model elements that are directly contained in this model. This excludes model elements that are referenced from this model, but contained in another model. -
owns
-
owns
-
wrap
-
getContainerOf
-
isTypeOf
-
getUnwrappedEquivalent
public Object getUnwrappedEquivalent(Object unwrappedModelElement, Model otherModel, ConservativeCopyContext context) throws ConservativeCopyException - Throws:
ConservativeCopyException
-
preventLoadingOfExternalModelElements
public boolean preventLoadingOfExternalModelElements() -
getIdentity
-
setIdentity
-