org.eclipse.modisco.omg.gastm
Interface SwitchStatement

All Superinterfaces:
GASTMObject, GASTMSyntaxObject, Statement

public interface SwitchStatement
extends Statement

A representation of the model object 'Switch Statement'.

The following features are supported:

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

Method Summary
 SwitchCase getCases()
          Returns the value of the 'Cases' reference.
 Expression getSwitchExpression()
          Returns the value of the 'Switch Expression' containment reference.
 void setCases(SwitchCase value)
          Sets the value of the 'Cases' reference.
 void setSwitchExpression(Expression value)
          Sets the value of the 'Switch Expression' containment reference.
 
Methods inherited from interface org.eclipse.modisco.omg.gastm.GASTMSyntaxObject
getAnnotations, getLocationInfo, getPreProcessorElements, setLocationInfo
 

Method Detail

getSwitchExpression

Expression getSwitchExpression()
Returns the value of the 'Switch Expression' containment reference.

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

Returns:
the value of the 'Switch Expression' containment reference.
See Also:
setSwitchExpression(Expression), GASTMPackage.getSwitchStatement_SwitchExpression()
Generated:
Model:
containment="true" required="true"

setSwitchExpression

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

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

getCases

SwitchCase getCases()
Returns the value of the 'Cases' reference.

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

Returns:
the value of the 'Cases' reference.
See Also:
setCases(SwitchCase), GASTMPackage.getSwitchStatement_Cases()
Generated:
Model:
required="true"

setCases

void setCases(SwitchCase value)
Sets the value of the 'Cases' reference.

Parameters:
value - the new value of the 'Cases' reference.
See Also:
getCases()
Generated: