Class ASTLiteral
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.query.sql.SimpleNode
-
- org.apache.jackrabbit.spi.commons.query.sql.ASTLiteral
-
- All Implemented Interfaces:
Node
public class ASTLiteral 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 ASTLiteral(int id)
ASTLiteral(JCRSQLParser p, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getType()
String
getValue()
Object
jjtAccept(JCRSQLParserVisitor visitor, Object data)
Accept the visitor.void
setType(int type)
void
setValue(String value)
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
-
ASTLiteral
public ASTLiteral(int id)
-
ASTLiteral
public ASTLiteral(JCRSQLParser p, int id)
-
-
Method Detail
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
getType
public int getType()
-
setType
public void setType(int type)
-
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
-
-