KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > subclasspropertyref > Person


1 //$Id: Person.java,v 1.1 2005/03/06 16:34:02 oneovthafew Exp $
2
package org.hibernate.test.subclasspropertyref;
3
4
5 /**
6  * @author gavin
7  */

8 public class Person {
9     private Long JavaDoc id;
10     private String JavaDoc name;
11     private String JavaDoc personId;
12     /**
13      * @return Returns the id.
14      */

15     public Long JavaDoc getId() {
16         return id;
17     }
18     /**
19      * @param id The id to set.
20      */

21     public void setId(Long JavaDoc id) {
22         this.id = id;
23     }
24     /**
25      * @return Returns the name.
26      */

27     public String JavaDoc getName() {
28         return name;
29     }
30     /**
31      * @param name The name to set.
32      */

33     public void setName(String JavaDoc name) {
34         this.name = name;
35     }
36     public String JavaDoc getPersonId() {
37         return personId;
38     }
39     
40     public void setPersonId(String JavaDoc personId) {
41         this.personId = personId;
42     }
43     
44 }
45
Popular Tags