de.uni_paderborn.fujaba.codegen
Class OOSwitchCaseStatement

java.lang.Object
  extended byde.uni_paderborn.fujaba.codegen.OOStatement
      extended byde.uni_paderborn.fujaba.codegen.OOSwitchCaseStatement

public class OOSwitchCaseStatement
extends OOStatement

No comment provided by developer, please add a comment to improve documentation.

Version:
$Revision: 1.8 $
Author:
$Author: schneider $

Constructor Summary
OOSwitchCaseStatement(OOVariable variable, java.util.Iterator cases)
          Default Constructor
 
Method Summary
 java.util.Iterator getCases()
          Get the cases attribute of the OOSwitchCaseStatement object
 java.lang.String getSourceCode(OOGenVisitor visitor)
          Get the sourceCode attribute of the OOSwitchCaseStatement object
 OOVariable getVariable()
          Get the variable attribute of the OOSwitchCaseStatement object
 void setCases(java.util.Iterator cases)
          Sets the cases attribute of the OOSwitchCaseStatement object
 void setVariable(OOVariable variable)
          Sets the variable attribute of the OOSwitchCaseStatement object
 java.lang.String toString()
          Describe toString method here.
 
Methods inherited from class de.uni_paderborn.fujaba.codegen.OOStatement
add, add, addAll, addAll, getToken, removeYou, setToken, toArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OOSwitchCaseStatement

public OOSwitchCaseStatement(OOVariable variable,
                             java.util.Iterator cases)
Default Constructor

Parameters:
variable - No description provided
cases - No description provided
Method Detail

setVariable

public void setVariable(OOVariable variable)
Sets the variable attribute of the OOSwitchCaseStatement object

Parameters:
variable - The new variable value

getVariable

public OOVariable getVariable()
Get the variable attribute of the OOSwitchCaseStatement object

Returns:
The variable value

setCases

public void setCases(java.util.Iterator cases)
Sets the cases attribute of the OOSwitchCaseStatement object

Parameters:
cases - The new cases value

getCases

public java.util.Iterator getCases()
Get the cases attribute of the OOSwitchCaseStatement object

Returns:
The cases value

getSourceCode

public java.lang.String getSourceCode(OOGenVisitor visitor)
Get the sourceCode attribute of the OOSwitchCaseStatement object

Specified by:
getSourceCode in class OOStatement
Parameters:
visitor - No description provided
Returns:
The sourceCode value

toString

public java.lang.String toString()
Description copied from class: OOStatement
Describe toString method here.

Overrides:
toString in class OOStatement
Returns:
short string representation of current object