org.eclipse.ocl.examples.domain.values.impl
Class ElementValueImpl
java.lang.Object
org.eclipse.ocl.examples.domain.values.impl.AbstractValue
org.eclipse.ocl.examples.domain.values.impl.AbstractObjectValue<DomainElement>
org.eclipse.ocl.examples.domain.values.impl.ElementValueImpl
- All Implemented Interfaces:
- ElementValue, ObjectValue, Value
public class ElementValueImpl
- extends AbstractObjectValue<DomainElement>
- implements ElementValue
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, 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, asInteger, asIntegerValue, asNavigableObject, asObject, asObjectValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asStringValue, asTypeValue, asUniqueCollectionValue, asValidValue, getActualType, getValueFactory, isCollectionValue, isFalse, isIntegerValue, isInvalid, isNull, isRealValue, isTrue, isUndefined, isUnlimited, isUnlimitedNatural, oclToString, toIntegerValue, toIteratorValue, toRealValue, toString |
type
protected DomainType type
ElementValueImpl
public ElementValueImpl(ValueFactory valueFactory,
DomainElement element)
asElement
public DomainElement asElement()
- Specified by:
asElement
in interface Value
- Overrides:
asElement
in class AbstractValue
asElementValue
public ElementValue asElementValue()
- Specified by:
asElementValue
in interface Value
- Overrides:
asElementValue
in class AbstractValue
getElement
public DomainElement getElement()
- Specified by:
getElement
in interface ElementValue
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.
- Specified by:
getType
in interface Value