1 package org.hibernate.criterion; 3 4 5 import java.io.Serializable ; 6 7 import org.hibernate.Criteria; 8 import org.hibernate.HibernateException; 9 import org.hibernate.type.Type; 10 11 22 public interface Projection extends Serializable { 23 24 31 public String toSqlString(Criteria criteria, int position, CriteriaQuery criteriaQuery) 32 throws HibernateException; 33 34 41 public String toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery) 42 throws HibernateException; 43 44 51 public Type[] getTypes(Criteria criteria, CriteriaQuery criteriaQuery) 52 throws HibernateException; 53 56 public Type[] getTypes(String alias, Criteria criteria, CriteriaQuery criteriaQuery) 57 throws HibernateException; 58 59 62 public String [] getColumnAliases(int loc); 63 67 public String [] getColumnAliases(String alias, int loc); 68 69 74 public String [] getAliases(); 75 76 79 public boolean isGrouped(); 80 81 } 82 | Popular Tags |