01: package net.ar.webonswing.petstore.model;
02:
03: import java.io.*;
04:
05: public class Address implements Serializable {
06: protected String city;
07: protected String country;
08: protected Integer id;
09: protected String state;
10: protected String street1;
11: protected String street2;
12: protected String zipcode;
13:
14: public Address() {
15: }
16:
17: public String getCity() {
18: return city;
19: }
20:
21: public String getCountry() {
22: return country;
23: }
24:
25: public Integer getId() {
26: return id;
27: }
28:
29: public String getState() {
30: return state;
31: }
32:
33: public String getStreet1() {
34: return street1;
35: }
36:
37: public String getStreet2() {
38: return street2;
39: }
40:
41: public String getZipcode() {
42: return zipcode;
43: }
44:
45: public void setCity(String city) {
46: this .city = city;
47: }
48:
49: public void setCountry(String country) {
50: this .country = country;
51: }
52:
53: public void setId(Integer id) {
54: this .id = id;
55: }
56:
57: public void setState(String state) {
58: this .state = state;
59: }
60:
61: public void setStreet1(String street1) {
62: this .street1 = street1;
63: }
64:
65: public void setStreet2(String street2) {
66: this .street2 = street2;
67: }
68:
69: public void setZipcode(String zipcode) {
70: this.zipcode = zipcode;
71: }
72: }
|