org.apache.jdo.jdoql.tree
Interface CastExpression

All Superinterfaces:
Expression, Node, java.io.Serializable
All Known Implementing Classes:
CastExpr

public interface CastExpression
extends Expression

This node represents a cast expression. It has a result type and a child which corresponds with the expression to cast.

Author:
Michael Watzek

Method Summary
 Expression getExpression()
          Returns the node's cast expression.
 java.lang.String getTypeName()
          Returns the string representation of the Java class, to which this node's expression is casted.
 
Methods inherited from interface org.apache.jdo.jdoql.tree.Node
arrive, getChildren, getJavaClass, getObject, getParent, getTokenType, leave, setObject, setParent, walkNextChild
 

Method Detail

getTypeName

java.lang.String getTypeName()
Returns the string representation of the Java class, to which this node's expression is casted.

Returns:
the Java type name

getExpression

Expression getExpression()
Returns the node's cast expression.

Returns:
the node's cast expression


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.