public class EnumLiteralExpImpl extends LiteralExpImpl implements EnumLiteralExp
The following features are implemented:
| Modifier and Type | Method and Description |
|---|---|
<T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> |
accept(U v) |
EEnumLiteral |
basicGetReferredEnumLiteral() |
boolean |
checkEnumType(DiagnosticChain diagnostics,
Map<Object,Object> context) |
int |
eBaseStructuralFeatureID(int derivedFeatureID,
Class<?> baseClass) |
int |
eDerivedStructuralFeatureID(int baseFeatureID,
Class<?> baseClass) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
EEnumLiteral |
getReferredEnumLiteral() |
void |
setReferredEnumLiteral(EEnumLiteral newReferredEnumLiteral) |
toStringgetEndPosition, getStartPosition, getType, setEndPosition, setStartPosition, setTypeequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getType, setName, setTypegetEndPosition, getStartPosition, setEndPosition, setStartPositionpublic EEnumLiteral getReferredEnumLiteral()
getReferredEnumLiteral in interface EnumLiteralExp<EClassifier,EEnumLiteral>EnumLiteralExp.setReferredEnumLiteral(Object),
ExpressionsPackage.getEnumLiteralExp_ReferredEnumLiteral()public EEnumLiteral basicGetReferredEnumLiteral()
public void setReferredEnumLiteral(EEnumLiteral newReferredEnumLiteral)
setReferredEnumLiteral in interface EnumLiteralExp<EClassifier,EEnumLiteral>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<EClassifier,EEnumLiteral>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 OCLExpressionImplpublic void eSet(int featureID,
Object newValue)
eSet in class OCLExpressionImplpublic void eUnset(int featureID)
eUnset in class OCLExpressionImplpublic boolean eIsSet(int featureID)
eIsSet in class OCLExpressionImplpublic int eBaseStructuralFeatureID(int derivedFeatureID,
Class<?> baseClass)
eBaseStructuralFeatureID in class OCLExpressionImplpublic int eDerivedStructuralFeatureID(int baseFeatureID,
Class<?> baseClass)
eDerivedStructuralFeatureID in class OCLExpressionImplpublic <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
OCLExpressionImplaccept in interface Visitableaccept in class OCLExpressionImplCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.