2009/05/20 - Apache Shale has been retired.
For more information, please explore the Attic.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.shale.usecases.ajax;
19
20 import org.apache.commons.logging.Log;
21 import org.apache.commons.logging.LogFactory;
22
23 /***
24 * <p>Simple address bean with street, city, state, and zipCode properties.</p>
25 *
26 * $Id$
27 */
28 public class Address {
29
30
31
32 /***
33 * <p>The <code>Log</code> instance for this class.</p>
34 */
35 private static final Log log = LogFactory.getLog(Address.class);
36
37
38
39
40 /***
41 * <p>The street.</p>
42 */
43 private String street = null;
44
45
46 /***
47 * <p>Return the street.</p>
48 */
49 public String getStreet() {
50
51 return this.street;
52
53 }
54
55
56 /***
57 * <p>Set the street.</p>
58 *
59 * @param street The new street street
60 */
61 public void setStreet(String street) {
62
63 this.street = street;
64
65 }
66
67
68 /***
69 * <p>The city.</p>
70 */
71 private String city = null;
72
73
74 /***
75 * <p>Return the city.</p>
76 */
77 public String getCity() {
78
79 return this.city;
80
81 }
82
83
84 /***
85 * <p>Set the city.</p>
86 *
87 * @param city The new city city
88 */
89 public void setCity(String city) {
90
91 this.city = city;
92
93 }
94
95
96 /***
97 * <p>The state.</p>
98 */
99 private String state = null;
100
101
102 /***
103 * <p>Return the state.</p>
104 */
105 public String getState() {
106
107 return this.state;
108
109 }
110
111
112 /***
113 * <p>Set the state.</p>
114 *
115 * @param state The new state state
116 */
117 public void setState(String state) {
118
119 this.state = state;
120
121 }
122
123 /***
124 * <p>The zipCode.</p>
125 */
126 private String zipCode = null;
127
128
129 /***
130 * <p>Return the zipCode.</p>
131 */
132 public String getZipCode() {
133
134 return this.zipCode;
135
136 }
137
138
139 /***
140 * <p>Set the zipCode.</p>
141 *
142 * @param zipCode The new zipCode zipCode
143 */
144 public void setZipCode(String zipCode) {
145
146 this.zipCode = zipCode;
147
148 }
149
150 }