org.tranql.ql
Class BooleanLiteral
java.lang.Object
org.tranql.ql.AbstractNode
org.tranql.ql.BooleanLiteral
- All Implemented Interfaces:
- Literal, Node, java.io.Serializable
- public class BooleanLiteral
- extends AbstractNode
- implements Literal
This node is a string literal used in a where clause.
- Version:
- $Revision: 138 $ $Date: 2004-10-21 05:52:45 +0200 (Thu, 21 Oct 2004) $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BooleanLiteral
public BooleanLiteral(boolean value)
getValue
public boolean getValue()
getText
public java.lang.String getText()
- Specified by:
getText
in interface Literal
getDataType
public DataType getDataType()
- Specified by:
getDataType
in interface Literal
visit
public java.lang.Object visit(QueryVisitor visitor,
java.lang.Object param)
throws QueryException
- Specified by:
visit
in interface Node
- Throws:
QueryException
toString
public java.lang.String toString()
Copyright © -2006 The Codehaus. All Rights Reserved.