Class ModelElement
- java.lang.Object
-
- org.eclipse.epsilon.flock.emc.wrappers.ModelValue<UnwrappedType>
-
- org.eclipse.epsilon.flock.emc.wrappers.BackedModelValue<Object>
-
- org.eclipse.epsilon.flock.emc.wrappers.ModelElement
-
public class ModelElement extends BackedModelValue<Object>
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.flock.emc.wrappers.BackedModelValue
model, underlyingModelObject
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
belongsTo(String originalPackage)
void
conservativelySetValueForProperty(ModelValue<?> equivalentValue, String propertyName, ConservativeCopyContext context)
void
copyIdentityFrom(ModelElement original)
ModelElement
getContainer()
ModelValue<?>
getEquivalentIn(Model model, ConservativeCopyContext context)
Model
getModel()
Collection<String>
getPropertiesSharedWith(ModelElement element)
org.eclipse.epsilon.flock.emc.wrappers.ModelType
getType()
String
getTypeName()
String
getUnqualifiedTypeName()
ModelValue<?>
getValueOfProperty(String property)
boolean
isKindOf(String type)
boolean
isTypeOf(String type)
String
toString()
-
Methods inherited from class org.eclipse.epsilon.flock.emc.wrappers.BackedModelValue
equals, hashCode, unwrap
-
Methods inherited from class org.eclipse.epsilon.flock.emc.wrappers.ModelValue
createReadOnlyVariable, getUnwrappedEquivalentIn
-
-
-
-
Method Detail
-
getEquivalentIn
public ModelValue<?> getEquivalentIn(Model model, ConservativeCopyContext context)
- Specified by:
getEquivalentIn
in classModelValue<Object>
-
getModel
public Model getModel()
-
getType
public org.eclipse.epsilon.flock.emc.wrappers.ModelType getType()
-
getTypeName
public String getTypeName()
-
getUnqualifiedTypeName
public String getUnqualifiedTypeName()
-
isTypeOf
public boolean isTypeOf(String type)
-
isKindOf
public boolean isKindOf(String type)
-
belongsTo
public boolean belongsTo(String originalPackage)
-
getContainer
public ModelElement getContainer()
-
copyIdentityFrom
public void copyIdentityFrom(ModelElement original)
-
getPropertiesSharedWith
public Collection<String> getPropertiesSharedWith(ModelElement element) throws EolModelElementTypeNotFoundException
-
getValueOfProperty
public ModelValue<?> getValueOfProperty(String property) throws EolRuntimeException
- Throws:
EolRuntimeException
-
conservativelySetValueForProperty
public void conservativelySetValueForProperty(ModelValue<?> equivalentValue, String propertyName, ConservativeCopyContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
toString
public String toString()
- Overrides:
toString
in classBackedModelValue<Object>
-
-