public class VariableExpImpl<C,PM> extends OCLExpressionImpl<C> implements VariableExp<C,PM>
The following features are implemented:
Modifier and Type | Method and Description |
---|---|
<T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> |
accept(U v) |
Variable<C,PM> |
basicGetReferredVariable() |
boolean |
checkVarType(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) |
Variable<C,PM> |
getReferredVariable() |
void |
setReferredVariable(Variable<C,PM> newReferredVariable) |
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 Variable<C,PM> getReferredVariable()
getReferredVariable
in interface VariableExp<C,PM>
VariableExp.setReferredVariable(Variable)
,
ExpressionsPackage.getVariableExp_ReferredVariable()
public void setReferredVariable(Variable<C,PM> newReferredVariable)
setReferredVariable
in interface VariableExp<C,PM>
newReferredVariable
- the new value of the 'Referred Variable' reference.VariableExp.getReferredVariable()
public boolean checkVarType(DiagnosticChain diagnostics, Map<Object,Object> context)
checkVarType
in interface VariableExp<C,PM>
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.