01: package samples.bidbuy;
02:
03: public class Address {
04:
05: // constructors
06:
07: public Address() {
08: };
09:
10: public Address(String name, String address, String city,
11: String state, String zipCode) {
12: this .name = name;
13: this .address = address;
14: this .city = city;
15: this .state = state;
16: this .zipCode = zipCode;
17: }
18:
19: // properties
20:
21: private String name;
22:
23: public String getName() {
24: return name;
25: }
26:
27: public void setName(String value) {
28: name = value;
29: }
30:
31: private String address;
32:
33: public String getAddress() {
34: return address;
35: }
36:
37: public void setAddress(String value) {
38: address = value;
39: }
40:
41: private String city;
42:
43: public String getCity() {
44: return city;
45: }
46:
47: public void setCity(String value) {
48: city = value;
49: }
50:
51: private String state;
52:
53: public String getState() {
54: return state;
55: }
56:
57: public void setState(String value) {
58: state = value;
59: }
60:
61: private String zipCode;
62:
63: public String getZipCode() {
64: return zipCode;
65: }
66:
67: public void setZipCode(String value) {
68: zipCode = value;
69: }
70: }
|