org.apache.jackrabbit.spi.commons.query.sql
Class ASTPredicate

java.lang.Object
  extended by org.apache.jackrabbit.spi.commons.query.sql.SimpleNode
      extended by org.apache.jackrabbit.spi.commons.query.sql.ASTPredicate
All Implemented Interfaces:
Node

public class ASTPredicate
extends SimpleNode


Field Summary
 
Fields inherited from class org.apache.jackrabbit.spi.commons.query.sql.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTPredicate(int id)
           
ASTPredicate(JCRSQLParser p, int id)
           
 
Method Summary
 String getEscapeString()
           
 Name getIdentifier()
           
 String getIdentifierOperand()
           
 int getOperationType()
           
 boolean isNegate()
           
 Object jjtAccept(JCRSQLParserVisitor visitor, Object data)
          Accept the visitor.
 void setEscapeString(String esc)
           
 void setIdentifier(Name identifier)
           
 void setIdentifierOperand(String identifier)
           
 void setNegate(boolean b)
           
 void setOperationType(int type)
           
 String toString()
           
 
Methods inherited from class org.apache.jackrabbit.spi.commons.query.sql.SimpleNode
childrenAccept, dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTPredicate

public ASTPredicate(int id)

ASTPredicate

public ASTPredicate(JCRSQLParser p,
                    int id)
Method Detail

setOperationType

public void setOperationType(int type)

getOperationType

public int getOperationType()

setNegate

public void setNegate(boolean b)

isNegate

public boolean isNegate()

setIdentifier

public void setIdentifier(Name identifier)

getIdentifier

public Name getIdentifier()

setIdentifierOperand

public void setIdentifierOperand(String identifier)

getIdentifierOperand

public String getIdentifierOperand()

setEscapeString

public void setEscapeString(String esc)

getEscapeString

public String getEscapeString()

jjtAccept

public Object jjtAccept(JCRSQLParserVisitor visitor,
                        Object data)
Accept the visitor.

Specified by:
jjtAccept in interface Node
Overrides:
jjtAccept in class SimpleNode

toString

public String toString()
Overrides:
toString in class SimpleNode


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.