public class EnumLiteralExpImpl<C,EL> extends LiteralExpImpl<C> implements EnumLiteralExp<C,EL>
The following features are implemented:
Modifier and Type | Method and Description |
---|---|
<T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> |
accept(U v) |
EL |
basicGetReferredEnumLiteral() |
boolean |
checkEnumType(DiagnosticChain diagnostics,
Map<Object,Object> context) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
EL |
getReferredEnumLiteral() |
void |
setReferredEnumLiteral(EL newReferredEnumLiteral) |
eBaseStructuralFeatureID, eDerivedStructuralFeatureID, getEndPosition, getName, getStartPosition, getType, setEndPosition, setName, setStartPosition, setType, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, getType, setName, setType
getEndPosition, getStartPosition, setEndPosition, setStartPosition
public EL getReferredEnumLiteral()
getReferredEnumLiteral
in interface EnumLiteralExp<C,EL>
EnumLiteralExp.setReferredEnumLiteral(Object)
,
ExpressionsPackage.getEnumLiteralExp_ReferredEnumLiteral()
public EL basicGetReferredEnumLiteral()
public void setReferredEnumLiteral(EL newReferredEnumLiteral)
setReferredEnumLiteral
in interface EnumLiteralExp<C,EL>
newReferredEnumLiteral
- the new value of the 'Referred Enum Literal' reference.EnumLiteralExp.getReferredEnumLiteral()
public boolean checkEnumType(DiagnosticChain diagnostics, Map<Object,Object> context)
checkEnumType
in interface EnumLiteralExp<C,EL>
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class OCLExpressionImpl<C>
public void eSet(int featureID, Object newValue)
eSet
in class OCLExpressionImpl<C>
public void eUnset(int featureID)
eUnset
in class OCLExpressionImpl<C>
public boolean eIsSet(int featureID)
eIsSet
in class OCLExpressionImpl<C>
public <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
OCLExpressionImpl
accept
in interface Visitable
accept
in class OCLExpressionImpl<C>
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.