org.eclipse.gmt.modisco.java
Interface SwitchCase

All Superinterfaces:
ASTNode, Statement

public interface SwitchCase
extends Statement

A representation of the model object 'Switch Case'.

The following features are supported:

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

Method Summary
 Expression getExpression()
          Returns the value of the 'Expression' containment reference.
 boolean isDefault()
          Returns the value of the 'Default' attribute.
 void setDefault(boolean value)
          Sets the value of the 'Default' attribute.
 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

isDefault

boolean isDefault()
Returns the value of the 'Default' attribute.

If the meaning of the 'Default' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Default' attribute.
See Also:
setDefault(boolean), JavaPackage.getSwitchCase_Default()
Generated:
Model:
unique="false" required="true" ordered="false"

setDefault

void setDefault(boolean value)
Sets the value of the 'Default' attribute.

Parameters:
value - the new value of the 'Default' attribute.
See Also:
isDefault()
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.getSwitchCase_Expression()
Generated:
Model:
containment="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: