|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object antlr.BaseAST antlr.CommonAST org.hibernate.hql.ast.tree.Node org.hibernate.hql.ast.tree.JavaConstantNode
public class JavaConstantNode
A node representing a static Java constant.
Field Summary |
---|
Fields inherited from class antlr.BaseAST |
---|
down, right |
Constructor Summary | |
---|---|
JavaConstantNode()
|
Method Summary | |
---|---|
Type |
getExpectedType()
|
String |
getRenderText(SessionFactoryImplementor sessionFactory)
Retrieve the text to be used for rendering this particular node. |
void |
setExpectedType(Type expectedType)
|
void |
setSessionFactory(SessionFactoryImplementor factory)
|
void |
setText(String s)
|
Methods inherited from class org.hibernate.hql.ast.tree.Node |
---|
getColumn, getFilename, getLine, getTextLength, initialize, initialize |
Methods inherited from class antlr.CommonAST |
---|
getText, getType, initialize, setType |
Methods inherited from class antlr.BaseAST |
---|
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JavaConstantNode()
Method Detail |
---|
public void setText(String s)
setText
in interface antlr.collections.AST
setText
in class antlr.CommonAST
public void setExpectedType(Type expectedType)
setExpectedType
in interface ExpectedTypeAwareNode
public Type getExpectedType()
getExpectedType
in interface ExpectedTypeAwareNode
public void setSessionFactory(SessionFactoryImplementor factory)
setSessionFactory
in interface SessionFactoryAwareNode
public String getRenderText(SessionFactoryImplementor sessionFactory)
Node
getRenderText
in class Node
sessionFactory
- The session factory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |