org.hibernate.hql.ast.tree

Class ParameterNode

Implemented Interfaces:
DisplayableNode, ExpectedTypeAwareNode, InitializeableNode

public class ParameterNode
extends HqlSqlWalkerNode
implements DisplayableNode, ExpectedTypeAwareNode

Implementation of ParameterNode.
Author:
Steve Ebersole

Method Summary

String
getDisplayText()
Returns additional display text for the AST node.
Type
getExpectedType()
ParameterSpecification
getHqlParameterSpecification()
String
getRenderText(SessionFactoryImplementor sessionFactory)
Retrieve the text to be used for rendering this particular node.
void
setExpectedType(Type expectedType)
void
setHqlParameterSpecification(ParameterSpecification parameterSpecification)

Methods inherited from class org.hibernate.hql.ast.tree.HqlSqlWalkerNode

getASTFactory, getAliasGenerator, getSessionFactoryHelper, getWalker, initialize

Methods inherited from class org.hibernate.hql.ast.tree.SqlNode

getDataType, getOriginalText, setDataType, setText

Methods inherited from class org.hibernate.hql.ast.tree.Node

getColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initialize

Method Details

getDisplayText

public String getDisplayText()
Returns additional display text for the AST node.
Specified by:
getDisplayText in interface DisplayableNode
Returns:
String - The additional display text.

getExpectedType

public Type getExpectedType()
Specified by:
getExpectedType in interface ExpectedTypeAwareNode

getHqlParameterSpecification

public ParameterSpecification getHqlParameterSpecification()

getRenderText

public String getRenderText(SessionFactoryImplementor sessionFactory)
Retrieve the text to be used for rendering this particular node.
Overrides:
getRenderText in interface Node
Parameters:
sessionFactory - The session factory
Returns:
The text to use for rendering

setExpectedType

public void setExpectedType(Type expectedType)
Specified by:
setExpectedType in interface ExpectedTypeAwareNode

setHqlParameterSpecification

public void setHqlParameterSpecification(ParameterSpecification parameterSpecification)