KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > loader > custom > SQLQueryScalarReturn


1 package org.hibernate.loader.custom;
2
3 import org.hibernate.type.Type;
4
5 /**
6  * @author gloegl
7  */

8 public class SQLQueryScalarReturn {
9
10     private Type type;
11     private String JavaDoc columnAlias;
12     
13     public SQLQueryScalarReturn(String JavaDoc alias, Type type) {
14         this.type = type;
15         this.columnAlias = alias;
16     }
17     
18     public String JavaDoc getColumnAlias() {
19         return columnAlias;
20     }
21     
22     public Type getType() {
23         return type;
24     }
25
26 }
27
Popular Tags