org.eclipse.ocl.cst
Interface IfExpCS

All Superinterfaces:
CSTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, OCLExpressionCS
All Known Implementing Classes:
IfExpCSImpl

public interface IfExpCS
extends OCLExpressionCS

A representation of the model object 'If Exp CS'.

The following features are supported:

See Also:
CSTPackage.getIfExpCS()
Generated
Model

Method Summary
 OCLExpressionCS getCondition()
          Returns the value of the 'Condition' containment reference.
 OCLExpressionCS getElseExpression()
          Returns the value of the 'Else Expression' containment reference.
 OCLExpressionCS getThenExpression()
          Returns the value of the 'Then Expression' containment reference.
 void setCondition(OCLExpressionCS value)
          Sets the value of the 'Condition' containment reference.
 void setElseExpression(OCLExpressionCS value)
          Sets the value of the 'Else Expression' containment reference.
 void setThenExpression(OCLExpressionCS value)
          Sets the value of the 'Then Expression' containment reference.
 
Methods inherited from interface org.eclipse.ocl.cst.CSTNode
getAst, getEndOffset, getEndToken, getStartOffset, getStartToken, setAst, setEndOffset, setEndToken, setStartOffset, setStartToken
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getThenExpression

OCLExpressionCS getThenExpression()
Returns the value of the 'Then Expression' containment reference.

If the meaning of the 'Then Expression' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Then Expression' containment reference.
See Also:
setThenExpression(OCLExpressionCS), CSTPackage.getIfExpCS_ThenExpression()
Generated
Model
containment="true" required="true"

setThenExpression

void setThenExpression(OCLExpressionCS value)
Sets the value of the 'Then Expression' containment reference.

Parameters:
value - the new value of the 'Then Expression' containment reference.
See Also:
getThenExpression()
Generated

getElseExpression

OCLExpressionCS getElseExpression()
Returns the value of the 'Else Expression' containment reference.

If the meaning of the 'Else Expression' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Else Expression' containment reference.
See Also:
setElseExpression(OCLExpressionCS), CSTPackage.getIfExpCS_ElseExpression()
Generated
Model
containment="true" required="true"

setElseExpression

void setElseExpression(OCLExpressionCS value)
Sets the value of the 'Else Expression' containment reference.

Parameters:
value - the new value of the 'Else Expression' containment reference.
See Also:
getElseExpression()
Generated

getCondition

OCLExpressionCS getCondition()
Returns the value of the 'Condition' containment reference.

If the meaning of the 'Condition' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Condition' containment reference.
See Also:
setCondition(OCLExpressionCS), CSTPackage.getIfExpCS_Condition()
Generated
Model
containment="true" required="true"

setCondition

void setCondition(OCLExpressionCS value)
Sets the value of the 'Condition' containment reference.

Parameters:
value - the new value of the 'Condition' containment reference.
See Also:
getCondition()
Generated