public class

BooleanLiteralNode

extends LiteralNode
implements ExpectedTypeAwareNode
java.lang.Object
   ↳ antlr.CommonAST
     ↳ org.hibernate.hql.ast.tree.Node
       ↳ org.hibernate.hql.ast.tree.SqlNode
         ↳ org.hibernate.hql.ast.tree.HqlSqlWalkerNode
           ↳ org.hibernate.hql.ast.tree.AbstractSelectExpression
             ↳ org.hibernate.hql.ast.tree.LiteralNode
               ↳ org.hibernate.hql.ast.tree.BooleanLiteralNode

Class Overview

Represents a boolean literal within a query.

Summary

Public Constructors
BooleanLiteralNode()
Public Methods
Type getDataType()
Type getExpectedType()
String getRenderText(SessionFactoryImplementor sessionFactory)
Retrieve the text to be used for rendering this particular node.
Boolean getValue()
void setExpectedType(Type expectedType)
[Expand]
Inherited Methods
From class org.hibernate.hql.ast.tree.LiteralNode
From class org.hibernate.hql.ast.tree.AbstractSelectExpression
From class org.hibernate.hql.ast.tree.HqlSqlWalkerNode
From class org.hibernate.hql.ast.tree.SqlNode
From class org.hibernate.hql.ast.tree.Node
From class java.lang.Object
From interface org.hibernate.hql.ast.tree.ExpectedTypeAwareNode
From interface org.hibernate.hql.ast.tree.InitializeableNode
From interface org.hibernate.hql.ast.tree.SelectExpression

Public Constructors

public BooleanLiteralNode ()

Public Methods

public Type getDataType ()

public Type getExpectedType ()

public String getRenderText (SessionFactoryImplementor sessionFactory)

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

Parameters
sessionFactory The session factory
Returns
  • The text to use for rendering

public Boolean getValue ()

public void setExpectedType (Type expectedType)