org.eclipse.gmt.modisco.java
Interface IfStatement

All Superinterfaces:
ASTNode, Statement

public interface IfStatement
extends Statement

A representation of the model object 'If Statement'.

The following features are supported:

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

Method Summary
 Statement getElseStatement()
          Returns the value of the 'Else Statement' containment reference.
 Expression getExpression()
          Returns the value of the 'Expression' containment reference.
 Statement getThenStatement()
          Returns the value of the 'Then Statement' containment reference.
 void setElseStatement(Statement value)
          Sets the value of the 'Else Statement' containment reference.
 void setExpression(Expression value)
          Sets the value of the 'Expression' containment reference.
 void setThenStatement(Statement value)
          Sets the value of the 'Then Statement' containment reference.
 
Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnit
 

Method Detail

getExpression

Expression getExpression()
Returns the value of the 'Expression' containment reference.

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

Returns:
the value of the 'Expression' containment reference.
See Also:
setExpression(Expression), JavaPackage.getIfStatement_Expression()
Generated:
Model:
containment="true" required="true" ordered="false"

setExpression

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

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

getThenStatement

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

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

Returns:
the value of the 'Then Statement' containment reference.
See Also:
setThenStatement(Statement), JavaPackage.getIfStatement_ThenStatement()
Generated:
Model:
containment="true" required="true" ordered="false"

setThenStatement

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

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

getElseStatement

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

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

Returns:
the value of the 'Else Statement' containment reference.
See Also:
setElseStatement(Statement), JavaPackage.getIfStatement_ElseStatement()
Generated:
Model:
containment="true" ordered="false"

setElseStatement

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

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