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

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

public class EObjectValueImpl
extends AbstractObjectValue<org.eclipse.emf.ecore.EObject>


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
EObjectValueImpl(ValueFactory valueFactory, org.eclipse.emf.ecore.EObject eObject)
           
 
Method Summary
 DomainType getType()
          Return the type of this value determined from its construction context.
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.AbstractObjectValue
asObject, asObjectValue, asValidValue, equals, getObject, hashCode
 
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

EObjectValueImpl

public EObjectValueImpl(ValueFactory valueFactory,
                        org.eclipse.emf.ecore.EObject eObject)
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.


toString

public java.lang.String toString()
Overrides:
toString in class AbstractObjectValue<org.eclipse.emf.ecore.EObject>