org.eclipse.ocl.examples.domain.values
Interface EnumerationLiteralValue

All Superinterfaces:
ElementValue, ObjectValue, Value
All Known Implementing Classes:
AbstractEnumerationLiteralValueImpl, EnumerationLiteralValueImpl

public interface EnumerationLiteralValue
extends ElementValue


Field Summary
 
Fields inherited from interface org.eclipse.ocl.examples.domain.values.Value
INVALID_NAME
 
Method Summary
 DomainEnumerationLiteral getElement()
           
 java.lang.String getName()
           
 DomainEnumeration getType()
          Return the type of this value determined from its construction context.
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.ObjectValue
getObject
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.Value
asBagValue, asBoolean, asBooleanValue, asCollectionValue, asDouble, asEcoreObject, asElement, asElementValue, 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
 

Method Detail

getElement

DomainEnumerationLiteral getElement()
Specified by:
getElement in interface ElementValue

getName

java.lang.String getName()

getType

DomainEnumeration 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