public class IfExpImpl extends OCLExpressionImpl implements IfExp
The following features are implemented:
| Modifier and Type | Method and Description |
|---|---|
<T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> |
accept(U v) |
NotificationChain |
basicSetCondition(OCLExpression<EClassifier> newCondition,
NotificationChain msgs) |
NotificationChain |
basicSetElseExpression(OCLExpression<EClassifier> newElseExpression,
NotificationChain msgs) |
NotificationChain |
basicSetThenExpression(OCLExpression<EClassifier> newThenExpression,
NotificationChain msgs) |
boolean |
checkBooleanCondition(DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
checkIfType(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) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
OCLExpression<EClassifier> |
getCondition() |
OCLExpression<EClassifier> |
getElseExpression() |
OCLExpression<EClassifier> |
getThenExpression() |
void |
setCondition(OCLExpression<EClassifier> newCondition) |
void |
setElseExpression(OCLExpression<EClassifier> newElseExpression) |
void |
setThenExpression(OCLExpression<EClassifier> newThenExpression) |
String |
toString() |
getEndPosition, getStartPosition, getType, setEndPosition, setStartPosition, setTypeequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getType, setName, setTypegetEndPosition, getStartPosition, setEndPosition, setStartPositionpublic OCLExpression<EClassifier> getCondition()
getCondition in interface IfExp<EClassifier>IfExp.setCondition(OCLExpression),
ExpressionsPackage.getIfExp_Condition()public NotificationChain basicSetCondition(OCLExpression<EClassifier> newCondition, NotificationChain msgs)
public void setCondition(OCLExpression<EClassifier> newCondition)
setCondition in interface IfExp<EClassifier>newCondition - the new value of the 'Condition' containment reference.IfExp.getCondition()public OCLExpression<EClassifier> getThenExpression()
getThenExpression in interface IfExp<EClassifier>IfExp.setThenExpression(OCLExpression),
ExpressionsPackage.getIfExp_ThenExpression()public NotificationChain basicSetThenExpression(OCLExpression<EClassifier> newThenExpression, NotificationChain msgs)
public void setThenExpression(OCLExpression<EClassifier> newThenExpression)
setThenExpression in interface IfExp<EClassifier>newThenExpression - the new value of the 'Then Expression' containment reference.IfExp.getThenExpression()public OCLExpression<EClassifier> getElseExpression()
getElseExpression in interface IfExp<EClassifier>IfExp.setElseExpression(OCLExpression),
ExpressionsPackage.getIfExp_ElseExpression()public NotificationChain basicSetElseExpression(OCLExpression<EClassifier> newElseExpression, NotificationChain msgs)
public void setElseExpression(OCLExpression<EClassifier> newElseExpression)
setElseExpression in interface IfExp<EClassifier>newElseExpression - the new value of the 'Else Expression' containment reference.IfExp.getElseExpression()public boolean checkBooleanCondition(DiagnosticChain diagnostics,
Map<Object,Object> context)
checkBooleanCondition in interface IfExp<EClassifier>diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
public boolean checkIfType(DiagnosticChain diagnostics,
Map<Object,Object> context)
checkIfType in interface IfExp<EClassifier>diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
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 String toString()
toString 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.