de.uni_paderborn.fujaba.codegen
Class OOForStatement

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

public class OOForStatement
extends OOStatement

Class OOForStatement

Version:
$Revision: 1.6 $
Author:
$Author: schneider $

Field Summary
private  OOExpression endExpr
          UMLAttribute : 'endExpr : OOExpression '
private  OOExpression initExpr
          UMLAttribute : 'initExpr : OOExpression '
private  OOExpression stepExpr
          UMLAttribute : 'stepExpr : OOExpression '
 
Fields inherited from class de.uni_paderborn.fujaba.codegen.OOStatement
 
Constructor Summary
private OOForStatement()
          Default Constructor
  OOForStatement(OOExpression initExpr, OOExpression endExpr, OOExpression stepExpr)
          Constructor for class OOForStatement
 
Method Summary
 OOExpression getEndExpr()
          Get the value of endExpr.
 OOExpression getInitExpr()
          Get the value of initExpr.
 java.lang.String getSourceCode(OOGenVisitor visitor)
          Get the sourceCode attribute of the OOForStatement object
 OOExpression getStepExpr()
          Get the value of stepExpr.
 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
 

Field Detail

initExpr

private OOExpression initExpr
UMLAttribute : 'initExpr : OOExpression '


endExpr

private OOExpression endExpr
UMLAttribute : 'endExpr : OOExpression '


stepExpr

private OOExpression stepExpr
UMLAttribute : 'stepExpr : OOExpression '

Constructor Detail

OOForStatement

private OOForStatement()
Default Constructor


OOForStatement

public OOForStatement(OOExpression initExpr,
                      OOExpression endExpr,
                      OOExpression stepExpr)
Constructor for class OOForStatement

Parameters:
initExpr - No description provided
endExpr - No description provided
stepExpr - No description provided
Method Detail

getInitExpr

public OOExpression getInitExpr()
Get the value of initExpr.

Returns:
Value of initExpr.

getEndExpr

public OOExpression getEndExpr()
Get the value of endExpr.

Returns:
Value of endExpr.

getStepExpr

public OOExpression getStepExpr()
Get the value of stepExpr.

Returns:
Value of stepExpr.

getSourceCode

public java.lang.String getSourceCode(OOGenVisitor visitor)
Get the sourceCode attribute of the OOForStatement 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