de.uni_paderborn.fujaba.codegen
Class OONewArrayExpr

java.lang.Object
  extended byde.uni_paderborn.fujaba.codegen.OOExpression
      extended byde.uni_paderborn.fujaba.codegen.OOSingleExpr
          extended byde.uni_paderborn.fujaba.codegen.OONewArrayExpr

public class OONewArrayExpr
extends OOSingleExpr

Class OONewObjectExpr

Version:
$Revision: 1.4 $
Author:
$Author: lowende $

Constructor Summary
OONewArrayExpr(OOTypeInterface elementType, OOExpression sizeExpr)
          Constructor for class OONewObjectExpr
 
Method Summary
 boolean addToParameter(OOExpression value)
           
 OOTypeInterface getElementType()
          Get the value of varType.
 OOExpression getFirstOfParameter()
           
 OOExpression getLastOfParameter()
           
 OOExpression getNextIndexOfParameter(OOExpression object, int index)
           
 OOExpression getNextOfParameter(OOExpression object)
           
 OOExpression getParameterAt(int index)
           
 OOExpression getPreviousIndexOfParameter(OOExpression object, int index)
           
 OOExpression getPreviousOfParameter(OOExpression object)
           
 OOExpression getSizeExpr()
          Get the value of parameter.
 java.lang.String getSourceCode(OOGenVisitor visitor)
          Get the sourceCode attribute of the OONewObjectExpr object
 boolean hasInParameter(OOExpression value)
           
 int indexOfParameter(OOExpression elem)
           
 boolean isAfterOfParameter(OOExpression leftObject, OOExpression rightObject)
           
 boolean isBeforeOfParameter(OOExpression leftObject, OOExpression rightObject)
           
 java.util.Iterator iteratorOfParameter()
           
 java.util.Iterator iteratorOfParameter(OOExpression lowerBound)
           
 int lastIndexOfParameter(OOExpression elem)
           
 void removeAllFromParameter()
           
 boolean removeFromParameter(OOExpression value)
           
 int sizeOfParameter()
           
 java.lang.String toString()
           
 
Methods inherited from class de.uni_paderborn.fujaba.codegen.OOExpression
addAll, removeYou, toArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OONewArrayExpr

public OONewArrayExpr(OOTypeInterface elementType,
                      OOExpression sizeExpr)
Constructor for class OONewObjectExpr

Parameters:
elementType - No description provided
sizeExpr - No description provided
Method Detail

getSizeExpr

public OOExpression getSizeExpr()
Get the value of parameter.

Returns:
Value of parameter.

getElementType

public OOTypeInterface getElementType()
Get the value of varType.

Returns:
Value of varType.

hasInParameter

public boolean hasInParameter(OOExpression value)
Parameters:
value - No description provided
Returns:
No description provided
See Also:
#parameter

iteratorOfParameter

public java.util.Iterator iteratorOfParameter()
Returns:
No description provided
See Also:
#parameter

sizeOfParameter

public int sizeOfParameter()
Returns:
No description provided
See Also:
#parameter

addToParameter

public boolean addToParameter(OOExpression value)
Parameters:
value - The object added.
Returns:
No description provided
See Also:
#parameter

removeFromParameter

public boolean removeFromParameter(OOExpression value)
Parameters:
value - No description provided
Returns:
No description provided
See Also:
#parameter

removeAllFromParameter

public void removeAllFromParameter()
See Also:
#parameter

getParameterAt

public OOExpression getParameterAt(int index)
Parameters:
index - No description provided
Returns:
The parameterAt value
See Also:
#parameter

indexOfParameter

public int indexOfParameter(OOExpression elem)
Parameters:
elem - No description provided
Returns:
No description provided
See Also:
#parameter

lastIndexOfParameter

public int lastIndexOfParameter(OOExpression elem)
Parameters:
elem - No description provided
Returns:
No description provided
See Also:
#parameter

iteratorOfParameter

public java.util.Iterator iteratorOfParameter(OOExpression lowerBound)
Parameters:
lowerBound - No description provided
Returns:
No description provided
See Also:
#parameter

isBeforeOfParameter

public boolean isBeforeOfParameter(OOExpression leftObject,
                                   OOExpression rightObject)
Parameters:
leftObject - No description provided
rightObject - No description provided
Returns:
The beforeOfParameter value
See Also:
#parameter

isAfterOfParameter

public boolean isAfterOfParameter(OOExpression leftObject,
                                  OOExpression rightObject)
Parameters:
leftObject - No description provided
rightObject - No description provided
Returns:
The afterOfParameter value
See Also:
#parameter

getFirstOfParameter

public OOExpression getFirstOfParameter()
Returns:
The firstOfParameter value
See Also:
#parameter

getLastOfParameter

public OOExpression getLastOfParameter()
Returns:
The lastOfParameter value
See Also:
#parameter

getNextOfParameter

public OOExpression getNextOfParameter(OOExpression object)
Parameters:
object - No description provided
Returns:
The nextOfParameter value
See Also:
#parameter

getNextIndexOfParameter

public OOExpression getNextIndexOfParameter(OOExpression object,
                                            int index)
Parameters:
object - No description provided
index - No description provided
Returns:
The nextIndexOfParameter value
See Also:
#parameter

getPreviousOfParameter

public OOExpression getPreviousOfParameter(OOExpression object)
Parameters:
object - No description provided
Returns:
The previousOfParameter value
See Also:
#parameter

getPreviousIndexOfParameter

public OOExpression getPreviousIndexOfParameter(OOExpression object,
                                                int index)
Parameters:
object - No description provided
index - No description provided
Returns:
The previousIndexOfParameter value
See Also:
#parameter

getSourceCode

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

Overrides:
getSourceCode in class OOExpression
Parameters:
visitor - No description provided
Returns:
The sourceCode value

toString

public java.lang.String toString()
Returns:
short string representation of current object