de.uni_paderborn.fujaba.codegen
Class OOWhileStatement

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

public class OOWhileStatement
extends OOStatement

Class OOWhileStatement

Version:
$Revision: 1.10 $
Author:
$Author: schneider $

Field Summary
private  OOExpression condition
          UMLAttribute : 'condition : OOExpression '
private  boolean foot
          UMLAttribute : 'foot : Boolean '
 
Fields inherited from class de.uni_paderborn.fujaba.codegen.OOStatement
 
Constructor Summary
private OOWhileStatement()
          Default Constructor
  OOWhileStatement(OOExpression condition, boolean foot)
          Constructor for class OOWhileStatement
 
Method Summary
 OOExpression getCondition()
          Get the value of condition.
 java.lang.String getSourceCode(OOGenVisitor visitor)
          Get the sourceCode attribute of the OOWhileStatement object
 boolean isFoot()
          Get the value of foot.
 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

foot

private boolean foot
UMLAttribute : 'foot : Boolean '


condition

private OOExpression condition
UMLAttribute : 'condition : OOExpression '

Constructor Detail

OOWhileStatement

private OOWhileStatement()
Default Constructor


OOWhileStatement

public OOWhileStatement(OOExpression condition,
                        boolean foot)
Constructor for class OOWhileStatement

Parameters:
condition - No description provided
foot - No description provided
Method Detail

isFoot

public boolean isFoot()
Get the value of foot.

Returns:
Value of foot.

getCondition

public OOExpression getCondition()
Get the value of condition.

Returns:
Value of condition.

getSourceCode

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