org.eclipse.ocl.examples.domain.values.impl
Class AbstractObjectValue<T>
java.lang.Object
org.eclipse.ocl.examples.domain.values.impl.AbstractValue
org.eclipse.ocl.examples.domain.values.impl.AbstractObjectValue<T>
- All Implemented Interfaces:
- ObjectValue, Value
- Direct Known Subclasses:
- AbstractEnumerationLiteralValueImpl, AbstractTypeValueImpl, ElementValueImpl, EObjectValueImpl, ObjectValueImpl
public abstract class AbstractObjectValue<T>
- extends AbstractValue
- implements ObjectValue
Fields inherited from interface org.eclipse.ocl.examples.domain.values.Value |
INVALID_NAME |
Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.AbstractValue |
asBagValue, asBoolean, asBooleanValue, asCollectionValue, asDouble, asEcoreObject, asElement, asElementValue, asInteger, asIntegerValue, asNavigableObject, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asStringValue, asTypeValue, asUniqueCollectionValue, getActualType, getValueFactory, isCollectionValue, isFalse, isIntegerValue, isInvalid, isNull, isRealValue, isTrue, isUndefined, isUnlimited, isUnlimitedNatural, oclToString, toIntegerValue, toIteratorValue, 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.domain.values.Value |
asBagValue, asBoolean, asBooleanValue, asCollectionValue, asDouble, asEcoreObject, asElement, asElementValue, asInteger, asIntegerValue, asNavigableObject, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asStringValue, asTypeValue, asUniqueCollectionValue, getActualType, getType, getValueFactory, isCollectionValue, isFalse, isIntegerValue, isInvalid, isNull, isRealValue, isTrue, isUndefined, isUnlimited, isUnlimitedNatural, oclToString, toIntegerValue, toIteratorValue, toRealValue, toString |
object
protected final T object
AbstractObjectValue
protected AbstractObjectValue(ValueFactory valueFactory,
T 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
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object