public class IfExpImpl extends OCLExpressionImpl implements IfExp
The following features are implemented:
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(Visitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
NotificationChain |
basicSetOwnedCondition(OCLExpression newOwnedCondition,
NotificationChain msgs) |
NotificationChain |
basicSetOwnedElse(OCLExpression newOwnedElse,
NotificationChain msgs) |
NotificationChain |
basicSetOwnedThen(OCLExpression newOwnedThen,
NotificationChain msgs) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
Object |
eInvoke(int operationID,
<any> arguments) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
OCLExpression |
getOwnedCondition() |
OCLExpression |
getOwnedElse() |
OCLExpression |
getOwnedThen() |
boolean |
isIsElseIf() |
void |
setIsElseIf(boolean newIsElseIf) |
void |
setOwnedCondition(OCLExpression newOwnedCondition) |
void |
setOwnedElse(OCLExpression newOwnedElse) |
void |
setOwnedThen(OCLExpression newOwnedThen) |
String |
toString() |
boolean |
validateConditionTypeIsBoolean(DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateTypeIsNotInvalid(DiagnosticChain diagnostics,
Map<Object,Object> context) |
getTypeValue, isNonNull, isNull, setTypeValue, validateTypeIsNotNullbasicGetType, CompatibleBody, getType, getTypeId, isIsMany, isIsRequired, setIsRequired, setTypegetName, setNameallOwnedElements, eInverseAdd, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuegetESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloadedequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypeValue, isNonNull, isNull, setTypeValue, validateTypeIsNotNullCompatibleBody, getType, getTypeId, isIsMany, isIsRequired, setIsRequired, setTypegetName, setNameallOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuepublic boolean isIsElseIf()
isIsElseIf in interface IfExpIfExp.setIsElseIf(boolean),
PivotPackage.getIfExp_IsElseIf()public void setIsElseIf(boolean newIsElseIf)
setIsElseIf in interface IfExpnewIsElseIf - the new value of the 'Is Else If' attribute.IfExp.isIsElseIf()public OCLExpression getOwnedCondition()
getOwnedCondition in interface IfExpIfExp.setOwnedCondition(OCLExpression),
PivotPackage.getIfExp_OwnedCondition()public NotificationChain basicSetOwnedCondition(OCLExpression newOwnedCondition, NotificationChain msgs)
public void setOwnedCondition(OCLExpression newOwnedCondition)
setOwnedCondition in interface IfExpnewOwnedCondition - the new value of the 'Owned Condition' containment reference.IfExp.getOwnedCondition()public OCLExpression getOwnedThen()
getOwnedThen in interface IfExpIfExp.setOwnedThen(OCLExpression),
PivotPackage.getIfExp_OwnedThen()public NotificationChain basicSetOwnedThen(OCLExpression newOwnedThen, NotificationChain msgs)
public void setOwnedThen(OCLExpression newOwnedThen)
setOwnedThen in interface IfExpnewOwnedThen - the new value of the 'Owned Then' containment reference.IfExp.getOwnedThen()public OCLExpression getOwnedElse()
getOwnedElse in interface IfExpIfExp.setOwnedElse(OCLExpression),
PivotPackage.getIfExp_OwnedElse()public NotificationChain basicSetOwnedElse(OCLExpression newOwnedElse, NotificationChain msgs)
public void setOwnedElse(OCLExpression newOwnedElse)
setOwnedElse in interface IfExpnewOwnedElse - the new value of the 'Owned Else' containment reference.IfExp.getOwnedElse()public boolean validateConditionTypeIsBoolean(DiagnosticChain diagnostics,
Map<Object,Object> context)
validateConditionTypeIsBoolean in interface IfExppublic boolean validateTypeIsNotInvalid(DiagnosticChain diagnostics,
Map<Object,Object> context)
validateTypeIsNotInvalid in interface IfExppublic NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class ElementImplpublic 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 Object eInvoke(int operationID, <any> arguments) throws InvocationTargetException
eInvoke in class OCLExpressionImplInvocationTargetExceptionpublic String toString()
toString in class TypedElementImplCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.