1   /*
2    * Copyright 2004 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
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  }