org.hibernate.criterion
Class SimpleProjection
java.lang.Object
org.hibernate.criterion.SimpleProjection
- Projection, Serializable
public abstract class SimpleProjection
extends java.lang.Object
A single-column projection that may be aliased
getAliases
public String[] getAliases()
Get the user-visible aliases for this projection
(ie. the ones that will be passed to the
ResultTransformer)
- getAliases in interface Projection
getColumnAliases
public String[] getColumnAliases(String alias,
int loc)
Get the SQL select clause column aliases for a particular
user-visible alias
- getColumnAliases in interface Projection
getColumnAliases
public String[] getColumnAliases(int loc)
Get the SQL select clause column aliases
- getColumnAliases in interface Projection
isGrouped
public boolean isGrouped()
Does this projection specify grouping attributes?
- isGrouped in interface Projection