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 booleanbelongsTo(String originalPackage)voidconservativelySetValueForProperty(ModelValue<?> equivalentValue, String propertyName, ConservativeCopyContext context)voidcopyIdentityFrom(ModelElement original)ModelElementgetContainer()ModelValue<?>getEquivalentIn(Model model, ConservativeCopyContext context)ModelgetModel()Collection<String>getPropertiesSharedWith(ModelElement element)org.eclipse.epsilon.flock.emc.wrappers.ModelTypegetType()StringgetTypeName()StringgetUnqualifiedTypeName()ModelValue<?>getValueOfProperty(String property)booleanisKindOf(String type)booleanisTypeOf(String type)StringtoString()-
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:
getEquivalentInin 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:
toStringin classBackedModelValue<Object>
-
-