1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    * 
9    *      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  
19  package org.apache.commons.betwixt.schema;
20  
21  /**
22   * @author <a href='http://commons.apache.org/'>Apache Commons Team</a>
23   * @version $Revision: 561314 $
24   */
25  public class CustomerBean {
26      
27      private String code;
28      private String name;
29      private String street;
30      private String town;
31      private String country;
32      private String postcode;
33      
34      public CustomerBean () {}
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  
51      public String getCountry() {
52          return country;
53      }
54  
55  
56      public String getName() {
57          return name;
58      }
59  
60      public String getPostcode() {
61          return postcode;
62      }
63  
64      public String getStreet() {
65          return street;
66      }
67  
68      public String getTown() {
69          return town;
70      }
71  
72      public void setCode(String string) {
73          code = string;
74      }
75  
76      public void setCountry(String string) {
77          country = string;
78      }
79  
80      public void setName(String string) {
81          name = string;
82      }
83  
84      public void setPostcode(String string) {
85          postcode = string;
86      }
87  
88      public void setStreet(String string) {
89          street = string;
90      }
91  
92      public void setTown(String string) {
93          town = string;
94      }
95  
96  }