org.eclipse.gmt.modisco.java
Interface WhileStatement

All Superinterfaces:
ASTNode, Statement

public interface WhileStatement
extends Statement

A representation of the model object 'While Statement'.

The following features are supported:

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

Method Summary
 Statement getBody()
          Returns the value of the 'Body' containment reference.
 Expression getExpression()
          Returns the value of the 'Expression' containment reference.
 void setBody(Statement value)
          Sets the value of the 'Body' containment reference.
 void setExpression(Expression value)
          Sets the value of the 'Expression' 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.getWhileStatement_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:

getBody

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

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

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

setBody

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

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