de.uni_paderborn.fujaba.codegen
Class OOVariable

java.lang.Object
  extended byde.uni_paderborn.fujaba.codegen.OOExpression
      extended byde.uni_paderborn.fujaba.codegen.OOSingleExpr
          extended byde.uni_paderborn.fujaba.codegen.OOVariable
All Implemented Interfaces:
java.lang.Comparable

public final class OOVariable
extends OOSingleExpr
implements java.lang.Comparable

Class OOVariable

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

Field Summary
static OOVariable FUJABA_EXCEPTION_VARIABLE
          No comment provided by developer, please add a comment to improve documentation.
static OOVariable FUJABA_SUCCESS
          No comment provided by developer, please add a comment to improve documentation.
static OOVariable FUJABA_TMP_OBJECT
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
OOVariable(java.lang.String firstName, OOVariableType type, java.lang.String secondName)
          Default Constructor
 
Method Summary
 int compareTo(java.lang.Object other)
          No comment provided by developer, please add a comment to improve documentation.
 boolean equals(java.lang.Object other)
          No comment provided by developer, please add a comment to improve documentation.
 java.lang.String getFirstName()
          Get the firstName attribute of the OOVariable object
 java.lang.String getSecondName()
          Get the secondName attribute of the OOVariable object
 java.lang.String getSourceCode(OOGenVisitor visitor)
          Get the sourceCode attribute of the OOVariable object
 OOVariableType getType()
          Get the type attribute of the OOVariable object
 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FUJABA_SUCCESS

public static final OOVariable FUJABA_SUCCESS
No comment provided by developer, please add a comment to improve documentation.


FUJABA_TMP_OBJECT

public static final OOVariable FUJABA_TMP_OBJECT
No comment provided by developer, please add a comment to improve documentation.


FUJABA_EXCEPTION_VARIABLE

public static final OOVariable FUJABA_EXCEPTION_VARIABLE
No comment provided by developer, please add a comment to improve documentation.

Constructor Detail

OOVariable

public OOVariable(java.lang.String firstName,
                  OOVariableType type,
                  java.lang.String secondName)
Default Constructor

Parameters:
firstName - No description provided
type - No description provided
secondName - No description provided
Method Detail

getFirstName

public java.lang.String getFirstName()
Get the firstName attribute of the OOVariable object

Returns:
The firstName value

getSecondName

public java.lang.String getSecondName()
Get the secondName attribute of the OOVariable object

Returns:
The secondName value

getType

public OOVariableType getType()
Get the type attribute of the OOVariable object

Returns:
The type value

equals

public boolean equals(java.lang.Object other)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
other - No description provided
Returns:
No description provided

compareTo

public int compareTo(java.lang.Object other)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
compareTo in interface java.lang.Comparable
Parameters:
other - No description provided
Returns:
No description provided

getSourceCode

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