de.uni_paderborn.fujaba.codegen
Class OOObjectOfTypeExpr

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

public class OOObjectOfTypeExpr
extends OOSingleExpr

Class OOObjectOfTypeExpr

Version:
$Revision: 1.12 $
Author:
$Author: schneider $

Field Summary
private  OOVariable objectName
          UMLAttribute : 'objectName : OOVariableName '
private  OOTypeInterface typeName
          UMLAttribute : 'typeName : String '
 
Fields inherited from class de.uni_paderborn.fujaba.codegen.OOExpression
 
Constructor Summary
private OOObjectOfTypeExpr()
          Default Constructor
  OOObjectOfTypeExpr(OOVariable objectName, OOTypeInterface typeName)
          Constructor for class OOObjectOfTypeExpr
  OOObjectOfTypeExpr(OOVariable objectName, java.lang.String typeName)
          Constructor for class OOObjectOfTypeExpr
  OOObjectOfTypeExpr(OOVariableType objectType, OOTypeInterface typeName)
          Constructor for class OOObjectOfTypeExpr
  OOObjectOfTypeExpr(OOVariableType objectType, java.lang.String typeName)
          Constructor for class OOObjectOfTypeExpr
  OOObjectOfTypeExpr(java.lang.String objectName, OOTypeInterface typeName)
          Constructor for class OOObjectOfTypeExpr
  OOObjectOfTypeExpr(java.lang.String objectName, java.lang.String typeName)
          Constructor for class OOObjectOfTypeExpr
 
Method Summary
 OOVariable getObjectName()
          Get the value of objectName.
 java.lang.String getSourceCode(OOGenVisitor visitor)
          Get the sourceCode attribute of the OOObjectOfTypeExpr object
 OOTypeInterface getTypeName()
          Get the value of typeName.
 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
 

Field Detail

objectName

private OOVariable objectName
UMLAttribute : 'objectName : OOVariableName '


typeName

private OOTypeInterface typeName
UMLAttribute : 'typeName : String '

Constructor Detail

OOObjectOfTypeExpr

private OOObjectOfTypeExpr()
Default Constructor


OOObjectOfTypeExpr

public OOObjectOfTypeExpr(OOVariable objectName,
                          OOTypeInterface typeName)
Constructor for class OOObjectOfTypeExpr

Parameters:
objectName - No description provided
typeName - No description provided

OOObjectOfTypeExpr

public OOObjectOfTypeExpr(java.lang.String objectName,
                          OOTypeInterface typeName)
Constructor for class OOObjectOfTypeExpr

Parameters:
objectName - No description provided
typeName - No description provided

OOObjectOfTypeExpr

public OOObjectOfTypeExpr(OOVariableType objectType,
                          OOTypeInterface typeName)
Constructor for class OOObjectOfTypeExpr

Parameters:
objectType - No description provided
typeName - No description provided

OOObjectOfTypeExpr

public OOObjectOfTypeExpr(OOVariable objectName,
                          java.lang.String typeName)
Constructor for class OOObjectOfTypeExpr

Parameters:
objectName - No description provided
typeName - No description provided

OOObjectOfTypeExpr

public OOObjectOfTypeExpr(java.lang.String objectName,
                          java.lang.String typeName)
Constructor for class OOObjectOfTypeExpr

Parameters:
objectName - No description provided
typeName - No description provided

OOObjectOfTypeExpr

public OOObjectOfTypeExpr(OOVariableType objectType,
                          java.lang.String typeName)
Constructor for class OOObjectOfTypeExpr

Parameters:
objectType - No description provided
typeName - No description provided
Method Detail

getObjectName

public OOVariable getObjectName()
Get the value of objectName.

Returns:
Value of objectName.

getTypeName

public OOTypeInterface getTypeName()
Get the value of typeName.

Returns:
Value of typeName.

getSourceCode

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