de.uni_paderborn.fujaba.codegen
Class OOTypeCastExpr

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

public class OOTypeCastExpr
extends OOSingleExpr

UMLClass: 'OOTypeCastExpr'.

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

Constructor Summary
OOTypeCastExpr(OOTypeInterface typeName, OOExpression castSource)
          Constructor for class OOTypeCastExpr
 
Method Summary
 OOExpression getCastSource()
          Get the value of castSource.
 java.lang.String getSourceCode(OOGenVisitor visitor)
          Get the sourceCode attribute of the OOTypeCastExpr 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
 

Constructor Detail

OOTypeCastExpr

public OOTypeCastExpr(OOTypeInterface typeName,
                      OOExpression castSource)
Constructor for class OOTypeCastExpr

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

getTypeName

public OOTypeInterface getTypeName()
Get the value of typeName.

Returns:
Value of typeName.

getCastSource

public OOExpression getCastSource()
Get the value of castSource.

Returns:
Value of castSource.

getSourceCode

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