org.apache.jdo.jdoql.tree
Interface ConstantExpression

All Superinterfaces:
Expression, Node, java.io.Serializable
All Known Subinterfaces:
BooleanLiteralExpression, ByteLiteralExpression, CharLiteralExpression, DoubleLiteralExpression, FloatLiteralExpression, IntLiteralExpression, LongLiteralExpression, ShortLiteralExpression
All Known Implementing Classes:
BooleanLiteralExpr, ByteLiteralExpr, CharLiteralExpr, ConstantExpr, DoubleLiteralExpr, FloatLiteralExpr, IntLiteralExpr, LongLiteralExpr, ShortLiteralExpr

public interface ConstantExpression
extends Expression

This node represents a constant expression. Examples of constant expressions are BooleanLiteralExpression or ByteLiteralExpression. It does not have any children.

Author:
Michael Watzek

Method Summary
 java.lang.Object getValue()
          Returns the value represented by this expression.
 
Methods inherited from interface org.apache.jdo.jdoql.tree.Node
arrive, getChildren, getJavaClass, getObject, getParent, getTokenType, leave, setObject, setParent, walkNextChild
 

Method Detail

getValue

java.lang.Object getValue()
Returns the value represented by this expression.

Returns:
the value


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