org.eclipse.gmt.modisco.java
Interface SwitchStatement

All Superinterfaces:
ASTNode, Statement

public interface SwitchStatement
extends Statement

A representation of the model object 'Switch Statement'.

The following features are supported:

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

Method Summary
 Expression getExpression()
          Returns the value of the 'Expression' containment reference.
  getStatements()
          Returns the value of the 'Statements' containment reference list.
 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.getSwitchStatement_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:

getStatements

 getStatements()
Returns the value of the 'Statements' containment reference list. The list contents are of type Statement.

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

Returns:
the value of the 'Statements' containment reference list.
See Also:
JavaPackage.getSwitchStatement_Statements()
Generated:
Model:
containment="true"