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, validateTypeIsNotNull
basicGetType, CompatibleBody, getType, getTypeId, isIsMany, isIsRequired, setIsRequired, setType
getName, setName
allOwnedElements, eInverseAdd, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
getESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloaded
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTypeValue, isNonNull, isNull, setTypeValue, validateTypeIsNotNull
CompatibleBody, getType, getTypeId, isIsMany, isIsRequired, setIsRequired, setType
getName, setName
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
public boolean isIsElseIf()
isIsElseIf
in interface IfExp
IfExp.setIsElseIf(boolean)
,
PivotPackage.getIfExp_IsElseIf()
public void setIsElseIf(boolean newIsElseIf)
setIsElseIf
in interface IfExp
newIsElseIf
- the new value of the 'Is Else If' attribute.IfExp.isIsElseIf()
public OCLExpression getOwnedCondition()
getOwnedCondition
in interface IfExp
IfExp.setOwnedCondition(OCLExpression)
,
PivotPackage.getIfExp_OwnedCondition()
public NotificationChain basicSetOwnedCondition(OCLExpression newOwnedCondition, NotificationChain msgs)
public void setOwnedCondition(OCLExpression newOwnedCondition)
setOwnedCondition
in interface IfExp
newOwnedCondition
- the new value of the 'Owned Condition' containment reference.IfExp.getOwnedCondition()
public OCLExpression getOwnedThen()
getOwnedThen
in interface IfExp
IfExp.setOwnedThen(OCLExpression)
,
PivotPackage.getIfExp_OwnedThen()
public NotificationChain basicSetOwnedThen(OCLExpression newOwnedThen, NotificationChain msgs)
public void setOwnedThen(OCLExpression newOwnedThen)
setOwnedThen
in interface IfExp
newOwnedThen
- the new value of the 'Owned Then' containment reference.IfExp.getOwnedThen()
public OCLExpression getOwnedElse()
getOwnedElse
in interface IfExp
IfExp.setOwnedElse(OCLExpression)
,
PivotPackage.getIfExp_OwnedElse()
public NotificationChain basicSetOwnedElse(OCLExpression newOwnedElse, NotificationChain msgs)
public void setOwnedElse(OCLExpression newOwnedElse)
setOwnedElse
in interface IfExp
newOwnedElse
- the new value of the 'Owned Else' containment reference.IfExp.getOwnedElse()
public boolean validateConditionTypeIsBoolean(DiagnosticChain diagnostics, Map<Object,Object> context)
validateConditionTypeIsBoolean
in interface IfExp
public boolean validateTypeIsNotInvalid(DiagnosticChain diagnostics, Map<Object,Object> context)
validateTypeIsNotInvalid
in interface IfExp
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class ElementImpl
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 Object eInvoke(int operationID, <any> arguments) throws InvocationTargetException
eInvoke
in class OCLExpressionImpl
InvocationTargetException
public String toString()
toString
in class TypedElementImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.