org.tranql.ql
Class BooleanLiteral

java.lang.Object
  extended byorg.tranql.ql.AbstractNode
      extended byorg.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

Constructor Summary
BooleanLiteral(boolean value)
           
 
Method Summary
 DataType getDataType()
           
 java.lang.String getText()
           
 boolean getValue()
           
 java.lang.String toString()
           
 java.lang.Object visit(QueryVisitor visitor, java.lang.Object param)
           
 
Methods inherited from class org.tranql.ql.AbstractNode
addChild, getChild, getSibling, isOnlyChild, setSibling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.tranql.ql.Node
addChild, getChild, getSibling, isOnlyChild, setSibling
 

Constructor Detail

BooleanLiteral

public BooleanLiteral(boolean value)
Method Detail

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.