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
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.spi.commons.query.sql.SimpleNode
children, id, parent, parser
-
-
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 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
-
-
-
-
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 interfaceNode
- Overrides:
jjtAccept
in classSimpleNode
-
toString
public String toString()
- Overrides:
toString
in classSimpleNode
-
-