FileDocCategorySizeDatePackage
SelectExpression.javaAPI DocHibernate 3.2.51482Tue Jul 12 15:27:30 BST 2005org.hibernate.hql.ast.tree

SelectExpression

public interface SelectExpression
Represents an element of a projection list, i.e. a select expression.
author
josh Sep 21, 2004 9:00:13 PM

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetAlias()

public org.hibernate.type.TypegetDataType()
Returns the data type of the select expression.

return
The data type of the select expression.

public FromElementgetFromElement()
Returns the FROM element that this expression refers to.

return
The FROM element.

public booleanisConstructor()
Returns true if the element is a constructor (e.g. new Foo).

return
true if the element is a constructor (e.g. new Foo).

public booleanisReturnableEntity()
Returns true if this select expression represents an entity that can be returned.

return
true if this select expression represents an entity that can be returned.

public booleanisScalar()

public voidsetAlias(java.lang.String alias)

public voidsetScalarColumnText(int i)
Appends AST nodes that represent the columns after the current AST node. (e.g. 'as col0_O_')

param
i The index of the select expression in the projection list.

public voidsetText(java.lang.String text)
Sets the text of the node.

param
text the new node text.