Top Description Fields Constructors Methods
org.hibernate.hql.ast.tree

public Class BooleanLiteralNode

extends LiteralNode
implements ExpectedTypeAwareNode
Class Inheritance
All Implemented Interfaces
org.hibernate.hql.ast.tree.ExpectedTypeAwareNode
Imports
org.hibernate.type.LiteralType, .Type, org.hibernate.Hibernate, .QueryException, org.hibernate.engine.SessionFactoryImplementor

Represents a boolean literal within a query.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private Type

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Type
public Type
public String
getRenderText(SessionFactoryImplementor
The session factory
sessionFactory
)

Overrides org.hibernate.hql.ast.tree.Node.getRenderText.

Retrieve the text to be used for rendering this particular node.
public Boolean
public void
private LiteralType<T>
Inherited from org.hibernate.hql.ast.tree.LiteralNode:
setScalarColumnText

Field Detail

expectedTypeback to summary
private Type expectedType

Constructor Detail

BooleanLiteralNodeback to summary
public BooleanLiteralNode()

Method Detail

getDataTypeback to summary
public Type getDataType()

Overrides org.hibernate.hql.ast.tree.LiteralNode.getDataType.

Implements org.hibernate.hql.ast.tree.SelectExpression.getDataType.

Doc from org.hibernate.hql.ast.tree.SelectExpression.getDataType.

Returns the data type of the select expression.

Returns:Type

The data type of the select expression.

getExpectedTypeback to summary
public Type getExpectedType()

Implements org.hibernate.hql.ast.tree.ExpectedTypeAwareNode.getExpectedType.

getRenderTextback to summary
public String getRenderText(SessionFactoryImplementor sessionFactory)

Overrides org.hibernate.hql.ast.tree.Node.getRenderText.

Doc from org.hibernate.hql.ast.tree.Node.getRenderText.

Retrieve the text to be used for rendering this particular node.

Parameters
sessionFactory:SessionFactoryImplementor

The session factory

Returns:String

The text to use for rendering

getValueback to summary
public Boolean getValue()
setExpectedTypeback to summary
public void setExpectedType(Type expectedType)

Implements org.hibernate.hql.ast.tree.ExpectedTypeAwareNode.setExpectedType.

typeAsLiteralTypeback to summary
private LiteralType<T> typeAsLiteralType()