KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > mapping > TypeDef


1 package org.hibernate.mapping;
2
3 import java.io.Serializable JavaDoc;
4 import java.util.Properties JavaDoc;
5
6 /**
7  * Placeholder for typedef information
8  */

9 public class TypeDef implements Serializable JavaDoc {
10
11     private String JavaDoc typeClass;
12     private Properties JavaDoc parameters;
13
14     public TypeDef(String JavaDoc typeClass, Properties JavaDoc parameters) {
15         this.typeClass = typeClass;
16         this.parameters = parameters;
17     }
18
19     public Properties JavaDoc getParameters() {
20         return parameters;
21     }
22     public String JavaDoc getTypeClass() {
23         return typeClass;
24     }
25
26 }
27
Popular Tags