KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ojb > otm > Address2


1 package org.apache.ojb.otm;
2
3 public class Address2
4 {
5
6     private int id;
7     private int personId;
8     private Person person;
9
10     public int getId()
11     {
12         return id;
13     }
14
15     public void setId(int id)
16     {
17         this.id = id;
18     }
19
20     public int getPersonId()
21     {
22         return personId;
23     }
24
25     public void setPersonId(int personId)
26     {
27         this.personId = personId;
28     }
29
30     public Person getPerson()
31     {
32         return person;
33     }
34
35     public void setPerson(Person person)
36     {
37         this.person = person;
38     }
39 }
40
Popular Tags