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
-
-
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()
java.lang.String
getValue()
java.lang.Object
jjtAccept(JCRSQLParserVisitor visitor, java.lang.Object data)
Accept the visitor.void
setType(int type)
void
setValue(java.lang.String value)
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
-
ASTLiteral
public ASTLiteral(int id)
-
ASTLiteral
public ASTLiteral(JCRSQLParser p, int id)
-
-
Method Detail
-
getValue
public java.lang.String getValue()
-
setValue
public void setValue(java.lang.String value)
-
getType
public int getType()
-
setType
public void setType(int type)
-
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
-
-