KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > subselect > Human


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

7 public class Human {
8     private Long JavaDoc id;
9     private String JavaDoc name;
10     private char sex;
11     private String JavaDoc address;
12     
13     public void setAddress(String JavaDoc address) {
14         this.address = address;
15     }
16     public String JavaDoc getAddress() {
17         return address;
18     }
19     public void setSex(char sex) {
20         this.sex = sex;
21     }
22     public char getSex() {
23         return sex;
24     }
25     public void setName(String JavaDoc name) {
26         this.name = name;
27     }
28     public String JavaDoc getName() {
29         return name;
30     }
31     public void setId(Long JavaDoc id) {
32         this.id = id;
33     }
34     public Long JavaDoc getId() {
35         return id;
36     }
37 }
38
Popular Tags