org.eclipse.ocl.examples.domain.values.impl
Class ObjectValueImpl

java.lang.Object
  extended by org.eclipse.ocl.examples.domain.values.impl.AbstractValue
      extended by org.eclipse.ocl.examples.domain.values.impl.AbstractObjectValue<java.lang.Object>
          extended by org.eclipse.ocl.examples.domain.values.impl.ObjectValueImpl
All Implemented Interfaces:
ObjectValue, Value

public class ObjectValueImpl
extends AbstractObjectValue<java.lang.Object>


Field Summary
protected  DomainType type
           
 
Fields inherited from class org.eclipse.ocl.examples.domain.values.impl.AbstractObjectValue
object
 
Fields inherited from class org.eclipse.ocl.examples.domain.values.impl.AbstractValue
valueFactory
 
Fields inherited from interface org.eclipse.ocl.examples.domain.values.Value
INVALID_NAME
 
Constructor Summary
ObjectValueImpl(ValueFactory valueFactory, java.lang.Object object)
           
 
Method Summary
 DomainType getType()
          Return the type of this value determined from its construction context.
 
Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.AbstractObjectValue
asObject, asObjectValue, asValidValue, equals, getObject, hashCode, toString
 
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, getValueFactory, isCollectionValue, isFalse, isIntegerValue, isInvalid, isNull, isRealValue, isTrue, isUndefined, isUnlimited, isUnlimitedNatural, oclToString, toIntegerValue, toIteratorValue, toRealValue, toString
 

Field Detail

type

protected DomainType type
Constructor Detail

ObjectValueImpl

public ObjectValueImpl(ValueFactory valueFactory,
                       java.lang.Object object)
Method Detail

getType

public DomainType getType()
Description copied from interface: Value
Return the type of this value determined from its construction context. In the case of collections this may differ from the actual type.