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
19
20 package org.apache.shale.examples.test.dialog.basic;
21
22 import java.io.Serializable;
23
24 /***
25 * <p>Model bean for a city/state/zipcode combination.</pL>
26 */
27 public class City implements Serializable {
28
29 public City(String city, String state, String zipCode) {
30 this.city = city;
31 this.state = state;
32 this.zipCode = zipCode;
33 }
34
35 private String city;
36 private String state;
37 private String zipCode;
38
39 public String getCity() {
40 return city;
41 }
42
43 public String getState() {
44 return state;
45 }
46
47 public String getZipCode() {
48 return zipCode;
49 }
50
51
52 public String toString() {
53 return "City[city=" + city + ",state=" + state + ",zipCode=" + zipCode + "]";
54 }
55
56
57 }