org.eclipse.modisco.omg.gastm
Interface IfStatement

All Superinterfaces:
GASTMObject, GASTMSyntaxObject, Statement

public interface IfStatement
extends Statement

A representation of the model object 'If Statement'.

The following features are supported:

See Also:
GASTMPackage.getIfStatement()
Generated:
Model:

Method Summary
 Expression getCondition()
          Returns the value of the 'Condition' containment reference.
 Statement getElseBody()
          Returns the value of the 'Else Body' containment reference.
 Statement getThenBody()
          Returns the value of the 'Then Body' containment reference.
 void setCondition(Expression value)
          Sets the value of the 'Condition' containment reference.
 void setElseBody(Statement value)
          Sets the value of the 'Else Body' containment reference.
 void setThenBody(Statement value)
          Sets the value of the 'Then Body' containment reference.
 
Methods inherited from interface org.eclipse.modisco.omg.gastm.GASTMSyntaxObject
getAnnotations, getLocationInfo, getPreProcessorElements, setLocationInfo
 

Method Detail

getCondition

Expression 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(Expression), GASTMPackage.getIfStatement_Condition()
Generated:
Model:
containment="true" required="true"

setCondition

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

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

getThenBody

Statement getThenBody()
Returns the value of the 'Then Body' containment reference.

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

Returns:
the value of the 'Then Body' containment reference.
See Also:
setThenBody(Statement), GASTMPackage.getIfStatement_ThenBody()
Generated:
Model:
containment="true" required="true"

setThenBody

void setThenBody(Statement value)
Sets the value of the 'Then Body' containment reference.

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

getElseBody

Statement getElseBody()
Returns the value of the 'Else Body' containment reference.

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

Returns:
the value of the 'Else Body' containment reference.
See Also:
setElseBody(Statement), GASTMPackage.getIfStatement_ElseBody()
Generated:
Model:
containment="true"

setElseBody

void setElseBody(Statement value)
Sets the value of the 'Else Body' containment reference.

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