org.eclipse.ocl.examples.pivot.values.impl
Class ObjectValueImpl
java.lang.Object
org.eclipse.ocl.examples.pivot.values.impl.AbstractValue
org.eclipse.ocl.examples.pivot.values.impl.ObjectValueImpl
- All Implemented Interfaces:
- ObjectValue, Value
- Direct Known Subclasses:
- ElementValueImpl
public class ObjectValueImpl
- extends AbstractValue
- implements ObjectValue
Field Summary |
protected java.lang.Object |
object
|
Fields inherited from interface org.eclipse.ocl.examples.pivot.values.Value |
INVALID_NAME |
Methods inherited from class org.eclipse.ocl.examples.pivot.values.impl.AbstractValue |
asBagValue, asBoolean, asBooleanValue, asCollectionValue, asDouble, asElement, asElementValue, asInteger, asIntegerValue, asOrderedCollectionValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asStringValue, asTypeValue, asUniqueCollectionValue, getValueFactory, isCollectionValue, isFalse, isIntegerValue, isInvalid, isNull, isRealValue, isTrue, isUndefined, isUnlimited, isUnlimitedNatural, oclToString, toIntegerValue, toRealValue, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.ocl.examples.pivot.values.Value |
asBagValue, asBoolean, asBooleanValue, asCollectionValue, asDouble, asElement, asElementValue, asInteger, asIntegerValue, asOrderedCollectionValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asStringValue, asTypeValue, asUniqueCollectionValue, getValueFactory, isCollectionValue, isFalse, isIntegerValue, isInvalid, isNull, isRealValue, isTrue, isUndefined, isUnlimited, isUnlimitedNatural, oclToString, toIntegerValue, toRealValue, toString |
object
protected final java.lang.Object object
ObjectValueImpl
public ObjectValueImpl(ValueFactory valueFactory,
java.lang.Object object)
asObject
public java.lang.Object asObject()
- Specified by:
asObject
in interface Value
asObjectValue
public ObjectValue asObjectValue()
- Specified by:
asObjectValue
in interface Value
- Overrides:
asObjectValue
in class AbstractValue
asValidValue
public Value asValidValue()
- Specified by:
asValidValue
in interface Value
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
getObject
public java.lang.Object getObject()
- Specified by:
getObject
in interface ObjectValue
getType
public Type getType(TypeManager typeManager,
Type staticType)
- Specified by:
getType
in interface Value
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object