Class ASTPredicate
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.query.sql.SimpleNode
-
- org.apache.jackrabbit.spi.commons.query.sql.ASTPredicate
-
- All Implemented Interfaces:
Node
public class ASTPredicate extends SimpleNode
-
-
Constructor Summary
Constructors Constructor Description ASTPredicate(int id)
ASTPredicate(JCRSQLParser p, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEscapeString()
Name
getIdentifier()
java.lang.String
getIdentifierOperand()
int
getOperationType()
boolean
isNegate()
java.lang.Object
jjtAccept(JCRSQLParserVisitor visitor, java.lang.Object data)
Accept the visitor.void
setEscapeString(java.lang.String esc)
void
setIdentifier(Name identifier)
void
setIdentifierOperand(java.lang.String identifier)
void
setNegate(boolean b)
void
setOperationType(int type)
java.lang.String
toString()
-
Methods inherited from class org.apache.jackrabbit.spi.commons.query.sql.SimpleNode
childrenAccept, dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString
-
-
-
-
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(java.lang.String identifier)
-
getIdentifierOperand
public java.lang.String getIdentifierOperand()
-
setEscapeString
public void setEscapeString(java.lang.String esc)
-
getEscapeString
public java.lang.String getEscapeString()
-
jjtAccept
public java.lang.Object jjtAccept(JCRSQLParserVisitor visitor, java.lang.Object data)
Accept the visitor.- Specified by:
jjtAccept
in interfaceNode
- Overrides:
jjtAccept
in classSimpleNode
-
toString
public java.lang.String toString()
- Overrides:
toString
in classSimpleNode
-
-