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) |
EnumerationLiteral |
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) |
EnumerationLiteral |
getReferredEnumLiteral() |
void |
setReferredEnumLiteral(EnumerationLiteral newReferredEnumLiteral) |
getEndPosition, getStartPosition, getType, has_type, setEndPosition, setStartPosition, setType, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
has_type
getName, getType, setName, setType
getEndPosition, getStartPosition, setEndPosition, setStartPosition
public EnumerationLiteral getReferredEnumLiteral()
getReferredEnumLiteral
in interface EnumLiteralExp<Classifier,EnumerationLiteral>
EnumLiteralExp.setReferredEnumLiteral(Object)
,
ExpressionsPackage.getEnumLiteralExp_ReferredEnumLiteral()
public EnumerationLiteral basicGetReferredEnumLiteral()
public void setReferredEnumLiteral(EnumerationLiteral newReferredEnumLiteral)
setReferredEnumLiteral
in interface EnumLiteralExp<Classifier,EnumerationLiteral>
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<Classifier,EnumerationLiteral>
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)
accept
in interface Visitable
accept
in class OCLExpressionImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.