KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > legacy > I


1 //$Id: I.java,v 1.2 2005/06/19 02:01:05 oneovthafew Exp $
2
package org.hibernate.test.legacy;
3
4 /**
5  * @author Gavin King
6  */

7 public class I {
8     private Long JavaDoc id;
9     private String JavaDoc name;
10     private char type;
11     private K parent;
12     
13     public K getParent() {
14         return parent;
15     }
16     
17     public void setParent(K parent) {
18         this.parent = parent;
19     }
20
21     void setType(char type) {
22         this.type = type;
23     }
24
25     char getType() {
26         return type;
27     }
28
29     void setName(String JavaDoc name) {
30         this.name = name;
31     }
32
33     String JavaDoc getName() {
34         return name;
35     }
36 }
37
Popular Tags