KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > loader > EntityAliases


1 //$Id: EntityAliases.java,v 1.1 2005/02/13 11:50:05 oneovthafew Exp $
2
package org.hibernate.loader;
3
4 import org.hibernate.persister.entity.Loadable;
5
6 /**
7  * Metadata describing the SQL result set column aliases
8  * for a particular entity.
9  *
10  * @author Gavin King
11  */

12 public interface EntityAliases {
13     /**
14      * The result set column aliases for the primary key columns
15      */

16     public String JavaDoc[] getSuffixedKeyAliases();
17     /**
18      * The result set column aliases for the discriminator columns
19      */

20     public String JavaDoc getSuffixedDiscriminatorAlias();
21     /**
22      * The result set column aliases for the version columns
23      */

24     public String JavaDoc[] getSuffixedVersionAliases();
25     /**
26      * The result set column aliases for the property columns
27      */

28     public String JavaDoc[][] getSuffixedPropertyAliases();
29     /**
30      * The result set column aliases for the property columns of a subclass
31      */

32     public String JavaDoc[][] getSuffixedPropertyAliases(Loadable persister);
33     /**
34      * The result set column alias for the Oracle row id
35      */

36     public String JavaDoc getRowIdAlias();
37
38 }
39
Popular Tags