de.uni_paderborn.fujaba.codegen
Class OOStatement

java.lang.Object
  extended byde.uni_paderborn.fujaba.codegen.OOStatement
Direct Known Subclasses:
OOBeginMethodBodyStatement, OOBreakStatement, OOCaseStatement, OOCatchStatement, OODoStatement, OOElseIfStatement, OOElseStatement, OOEmptyLineStatement, OOEndBlockStatement, OOEndMethodBodyStatement, OOExprStatement, OOForStatement, OOIfStatement, OOLineCommentStatement, OOLocalVarDeclStatement, OOMemoStatement, OOReturnStatement, OOSDMEnsureStatement, OOStartBlockStatement, OOStartMethodBodyStatement, OOSwitchCaseStatement, OOThrowStatement, OOTryStatement, OOWhileStatement

public abstract class OOStatement
extends java.lang.Object

Associations

             0..1      hasStatements      n
 OOGenToken -------------------------------- OOStatement
             token   {ordered,}   statement
 

Version:
$Revision: 1.15 $
Author:
$Author: schneider $

Constructor Summary
OOStatement()
          Default Constructor
 
Method Summary
static void add(java.util.LinkedList theList, java.lang.Object theObject)
          No comment provided by developer, please add a comment to improve documentation.
static void add(java.util.LinkedList theList, OOStatement newStatement)
          No comment provided by developer, please add a comment to improve documentation.
static void addAll(java.util.LinkedList theList, java.util.Iterator iter)
          Access method for an one to n association.
static void addAll(java.util.LinkedList theLinkedList, OOStatement[] statements)
          append all statements to theLinkedList
abstract  java.lang.String getSourceCode(OOGenVisitor visitor)
          Get the sourceCode attribute of the OOStatement object
 OOGenToken getToken()
          UMLMethod: '+ getToken (): OOGenToken'.
 void removeYou()
          UMLMethod: '+ removeYou (): Void'.
 boolean setToken(OOGenToken value)
          UMLMethod: '+ setToken (value: OOGenToken): Boolean'.
static OOStatement[] toArray(java.util.LinkedList theList)
          copy contents of theList to an array
 java.lang.String toString()
          Describe toString method here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OOStatement

public OOStatement()
Default Constructor

Method Detail

getSourceCode

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

Parameters:
visitor - No description provided
Returns:
The sourceCode value

setToken

public boolean setToken(OOGenToken value)
UMLMethod: '+ setToken (value: OOGenToken): Boolean'.

Parameters:
value - The new token value
Returns:
No description provided

getToken

public OOGenToken getToken()
UMLMethod: '+ getToken (): OOGenToken'.

Returns:
The token value

removeYou

public void removeYou()
UMLMethod: '+ removeYou (): Void'.


addAll

public static void addAll(java.util.LinkedList theLinkedList,
                          OOStatement[] statements)
append all statements to theLinkedList

Parameters:
theLinkedList - a LinkedList value
statements - The object added.

toArray

public static OOStatement[] toArray(java.util.LinkedList theList)
copy contents of theList to an array

Parameters:
theList - a LinkedList value
Returns:
an OOStatement[] value

add

public static void add(java.util.LinkedList theList,
                       OOStatement newStatement)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
theList - No description provided
newStatement - No description provided

add

public static void add(java.util.LinkedList theList,
                       java.lang.Object theObject)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
theList - No description provided
theObject - No description provided

addAll

public static void addAll(java.util.LinkedList theList,
                          java.util.Iterator iter)
Access method for an one to n association.

Parameters:
theList - The object added.
iter - The object added.

toString

public java.lang.String toString()
Describe toString method here.

Returns:
short string representation of current object