Class BackedModelValue<UnwrappedType>
- java.lang.Object
-
- org.eclipse.epsilon.flock.emc.wrappers.ModelValue<UnwrappedType>
-
- org.eclipse.epsilon.flock.emc.wrappers.BackedModelValue<UnwrappedType>
-
- Direct Known Subclasses:
ModelElement
public abstract class BackedModelValue<UnwrappedType> extends ModelValue<UnwrappedType>
An implementation of ModelValue that is backed by an underlying Java object, which represents a model value.
-
-
Field Summary
Fields Modifier and Type Field Description protected Modelmodelprotected UnwrappedTypeunderlyingModelObject
-
Constructor Summary
Constructors Modifier Constructor Description protectedBackedModelValue(Model model, UnwrappedType underlyingModelObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()StringtoString()UnwrappedTypeunwrap()-
Methods inherited from class org.eclipse.epsilon.flock.emc.wrappers.ModelValue
createReadOnlyVariable, getEquivalentIn, getUnwrappedEquivalentIn
-
-
-
-
Field Detail
-
model
protected final Model model
-
underlyingModelObject
protected final UnwrappedType underlyingModelObject
-
-
Constructor Detail
-
BackedModelValue
protected BackedModelValue(Model model, UnwrappedType underlyingModelObject)
-
-
Method Detail
-
unwrap
public UnwrappedType unwrap()
- Specified by:
unwrapin classModelValue<UnwrappedType>
-
equals
public boolean equals(Object o)
- Specified by:
equalsin classModelValue<UnwrappedType>
-
hashCode
public int hashCode()
- Specified by:
hashCodein classModelValue<UnwrappedType>
-
toString
public String toString()
- Specified by:
toStringin classModelValue<UnwrappedType>
-
-