org.eclipse.gmt.modisco.java
Interface EnhancedForStatement

All Superinterfaces:
ASTNode, Statement

public interface EnhancedForStatement
extends Statement

A representation of the model object 'Enhanced For Statement'.

The following features are supported:

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

Method Summary
 Statement getBody()
          Returns the value of the 'Body' containment reference.
 Expression getExpression()
          Returns the value of the 'Expression' containment reference.
 SingleVariableDeclaration getParameter()
          Returns the value of the 'Parameter' 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.
 void setParameter(SingleVariableDeclaration value)
          Sets the value of the 'Parameter' containment reference.
 
Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnit
 

Method Detail

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.getEnhancedForStatement_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:

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.getEnhancedForStatement_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:

getParameter

SingleVariableDeclaration getParameter()
Returns the value of the 'Parameter' containment reference. It is bidirectional and its opposite is 'Enhanced For Statement'.

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

Returns:
the value of the 'Parameter' containment reference.
See Also:
setParameter(SingleVariableDeclaration), JavaPackage.getEnhancedForStatement_Parameter(), SingleVariableDeclaration.getEnhancedForStatement()
Generated:
Model:
opposite="enhancedForStatement" containment="true" required="true" ordered="false"

setParameter

void setParameter(SingleVariableDeclaration value)
Sets the value of the 'Parameter' containment reference.

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