1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.commons.betwixt.schema;
19
20 /***
21 * @author <a href='http://jakarta.apache.org/'>Jakarta Commons Team</a>
22 * @version $Revision: 155402 $
23 */
24 public class CustomerBean {
25
26 private String code;
27 private String name;
28 private String street;
29 private String town;
30 private String country;
31 private String postcode;
32
33 public CustomerBean () {}
34
35 public CustomerBean(String code, String name, String street,
36 String town, String country, String postcode) {
37 setCode(code);
38 setName(name);
39 setStreet(street);
40 setTown(town);
41 setPostcode(postcode);
42 setCountry(country);
43 }
44
45 public String getCode() {
46 return code;
47 }
48
49
50 public String getCountry() {
51 return country;
52 }
53
54
55 public String getName() {
56 return name;
57 }
58
59 public String getPostcode() {
60 return postcode;
61 }
62
63 public String getStreet() {
64 return street;
65 }
66
67 public String getTown() {
68 return town;
69 }
70
71 public void setCode(String string) {
72 code = string;
73 }
74
75 public void setCountry(String string) {
76 country = string;
77 }
78
79 public void setName(String string) {
80 name = string;
81 }
82
83 public void setPostcode(String string) {
84 postcode = string;
85 }
86
87 public void setStreet(String string) {
88 street = string;
89 }
90
91 public void setTown(String string) {
92 town = string;
93 }
94
95 }