01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
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: 438373 $
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:
36: public CustomerBean(String code, String name, String street,
37: String town, String country, String postcode) {
38: setCode(code);
39: setName(name);
40: setStreet(street);
41: setTown(town);
42: setPostcode(postcode);
43: setCountry(country);
44: }
45:
46: public String getCode() {
47: return code;
48: }
49:
50: public String getCountry() {
51: return country;
52: }
53:
54: public String getName() {
55: return name;
56: }
57:
58: public String getPostcode() {
59: return postcode;
60: }
61:
62: public String getStreet() {
63: return street;
64: }
65:
66: public String getTown() {
67: return town;
68: }
69:
70: public void setCode(String string) {
71: code = string;
72: }
73:
74: public void setCountry(String string) {
75: country = string;
76: }
77:
78: public void setName(String string) {
79: name = string;
80: }
81:
82: public void setPostcode(String string) {
83: postcode = string;
84: }
85:
86: public void setStreet(String string) {
87: street = string;
88: }
89:
90: public void setTown(String string) {
91: town = string;
92: }
93:
94: }
|