KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.hibernate.test.legacy;
2
3 /**
4  * @author hbm2java
5  */

6 public class Person extends org.hibernate.test.legacy.Party {
7
8    java.lang.String JavaDoc id;
9    java.lang.String JavaDoc givenName;
10    java.lang.String JavaDoc lastName;
11    java.lang.String JavaDoc nationalID;
12
13
14   java.lang.String JavaDoc getId() {
15     return id;
16   }
17
18   void setId(java.lang.String JavaDoc newValue) {
19     id = newValue;
20   }
21
22   java.lang.String JavaDoc getGivenName() {
23     return givenName;
24   }
25
26   void setGivenName(java.lang.String JavaDoc newValue) {
27     givenName = newValue;
28   }
29
30   java.lang.String JavaDoc getLastName() {
31     return lastName;
32   }
33
34   void setLastName(java.lang.String JavaDoc newValue) {
35     lastName = newValue;
36   }
37
38   java.lang.String JavaDoc getNationalID() {
39     return nationalID;
40   }
41
42   void setNationalID(java.lang.String JavaDoc newValue) {
43     nationalID = newValue;
44   }
45
46
47 }
48
Popular Tags