01: /**
02: * Copyright (C) 2001-2006 France Telecom R&D
03: */package compositepk;
04:
05: public class Address {
06: long id1;
07: String id2;
08: String street;
09: int zip;
10: String town;
11:
12: public long getId1() {
13: return id1;
14: }
15:
16: public void setId1(long id1) {
17: this .id1 = id1;
18: }
19:
20: public String getId2() {
21: return id2;
22: }
23:
24: public void setId2(String id2) {
25: this .id2 = id2;
26: }
27:
28: public String getStreet() {
29: return street;
30: }
31:
32: public void setStreet(String street) {
33: this .street = street;
34: }
35:
36: public String getTown() {
37: return town;
38: }
39:
40: public void setTown(String town) {
41: this .town = town;
42: }
43:
44: public int getZip() {
45: return zip;
46: }
47:
48: public void setZip(int zip) {
49: this.zip = zip;
50: }
51:
52: }
|