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) |
toString
getEndPosition, getStartPosition, getType, setEndPosition, setStartPosition, setType
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, getType, setName, setType
getEndPosition, getStartPosition, setEndPosition, setStartPosition
public 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 OCLExpressionImpl
public void eSet(int featureID, Object newValue)
eSet
in class OCLExpressionImpl
public void eUnset(int featureID)
eUnset
in class OCLExpressionImpl
public boolean eIsSet(int featureID)
eIsSet
in class OCLExpressionImpl
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
eBaseStructuralFeatureID
in class OCLExpressionImpl
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
eDerivedStructuralFeatureID
in class OCLExpressionImpl
public <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
OCLExpressionImpl
accept
in interface Visitable
accept
in class OCLExpressionImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.