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<Classifier> newCondition,
NotificationChain msgs) |
NotificationChain |
basicSetElseExpression(OCLExpression<Classifier> newElseExpression,
NotificationChain msgs) |
NotificationChain |
basicSetThenExpression(OCLExpression<Classifier> 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<Classifier> |
getCondition() |
OCLExpression<Classifier> |
getElseExpression() |
OCLExpression<Classifier> |
getThenExpression() |
void |
setCondition(OCLExpression<Classifier> newCondition) |
void |
setElseExpression(OCLExpression<Classifier> newElseExpression) |
void |
setThenExpression(OCLExpression<Classifier> newThenExpression) |
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 OCLExpression<Classifier> getCondition()
getCondition
in interface IfExp<Classifier>
IfExp.setCondition(OCLExpression)
,
ExpressionsPackage.getIfExp_Condition()
public NotificationChain basicSetCondition(OCLExpression<Classifier> newCondition, NotificationChain msgs)
public void setCondition(OCLExpression<Classifier> newCondition)
setCondition
in interface IfExp<Classifier>
newCondition
- the new value of the 'Condition' containment reference.IfExp.getCondition()
public OCLExpression<Classifier> getThenExpression()
getThenExpression
in interface IfExp<Classifier>
IfExp.setThenExpression(OCLExpression)
,
ExpressionsPackage.getIfExp_ThenExpression()
public NotificationChain basicSetThenExpression(OCLExpression<Classifier> newThenExpression, NotificationChain msgs)
public void setThenExpression(OCLExpression<Classifier> newThenExpression)
setThenExpression
in interface IfExp<Classifier>
newThenExpression
- the new value of the 'Then Expression' containment reference.IfExp.getThenExpression()
public OCLExpression<Classifier> getElseExpression()
getElseExpression
in interface IfExp<Classifier>
IfExp.setElseExpression(OCLExpression)
,
ExpressionsPackage.getIfExp_ElseExpression()
public NotificationChain basicSetElseExpression(OCLExpression<Classifier> newElseExpression, NotificationChain msgs)
public void setElseExpression(OCLExpression<Classifier> newElseExpression)
setElseExpression
in interface IfExp<Classifier>
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<Classifier>
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<Classifier>
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 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.