de.uni_paderborn.fujaba.codegen
Class OOIfStatement

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

public class OOIfStatement
extends OOStatement

Class OOIfStatement

Version:
$Revision: 1.7 $
Author:
$Author: schneider $

Constructor Summary
OOIfStatement(OOExpression condition)
          Default Constructor
 
Method Summary
 OOExpression getCondition()
          Get the value of condition.
 java.lang.String getSourceCode(OOGenVisitor visitor)
          Get the sourceCode attribute of the OOIfStatement 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

OOIfStatement

public OOIfStatement(OOExpression condition)
Default Constructor

Parameters:
condition - No description provided
Method Detail

getSourceCode

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

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

getCondition

public OOExpression getCondition()
Get the value of condition.

Returns:
Value of condition.

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