01: /**
02: * Copyright (c) 2004 Red Hat, Inc. All rights reserved.
03: *
04: * This library is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU Lesser General Public
06: * License as published by the Free Software Foundation; either
07: * version 2.1 of the License, or any later version.
08: *
09: * This library is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12: * Lesser General Public License for more details.
13: *
14: * You should have received a copy of the GNU Lesser General Public
15: * License along with this library; if not, write to the Free Software
16: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
17: * USA
18: *
19: * Component of: Red Hat Application Server
20: *
21: * Initial Developers: Aizaz Ahmed
22: * Vivek Lakshmanan
23: * Andrew Overholt
24: * Matthew Wringe
25: *
26: */package olstore.dto;
27:
28: /**
29: * This DTO is used to store the user's address information.
30: */
31: public class AddressValue {
32:
33: private String country = null;
34: private String city = null;
35: private String postalCode = null;
36: private String street1 = null;
37: private String street2 = null;
38: private String province = null;
39:
40: public String getCountry() {
41: return country;
42: }
43:
44: public void setCountry(String country) {
45: this .country = country;
46: }
47:
48: public String getCity() {
49: return city;
50: }
51:
52: public void setCity(String city) {
53: this .city = city;
54: }
55:
56: public String getPostalCode() {
57: return postalCode;
58: }
59:
60: public void setPostalCode(String postalCode) {
61: this .postalCode = postalCode;
62: }
63:
64: public String getStreet1() {
65: return street1;
66: }
67:
68: public void setStreet1(String street1) {
69: this .street1 = street1;
70: }
71:
72: public String getStreet2() {
73: return street2;
74: }
75:
76: public void setStreet2(String street2) {
77: this .street2 = street2;
78: }
79:
80: public String getProvince() {
81: return province;
82: }
83:
84: public void setProvince(String province) {
85: this.province = province;
86: }
87: }
|