View Javadoc

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  package org.apache.jetspeed.demo.customerInfo;
18  
19  import java.io.Serializable;
20  
21  /***
22   * @author <a href="mailto:paulsp@apache.org">Paul Spencer</a>
23   * @version $Id: Address.java 516448 2007-03-09 16:25:47Z ate $
24   */
25  public class Address
26      implements
27          Serializable
28  {
29      
30      /*** Holds value of property name. */
31      private String name;
32      
33      /*** Holds value of property street. */
34      private String street;
35      
36      /*** Holds value of property city. */
37      private String city;
38      
39      /*** Holds value of property state. */
40      private String state;
41      
42      /*** Holds value of property country. */
43      private String country;
44      
45      /*** Holds value of property postalCode. */
46      private String postalCode;
47      
48      /*** Creates a new instance of Address */
49      public Address()
50      {
51      }
52      
53      /***
54       * Getter for property name.
55       * @return Value of property name.
56       */
57      public String getName()
58      {
59          return this.name;
60      }
61      
62      /***
63       * Setter for property name.
64       * @param name New value of property name.
65       */
66      public void setName(String name)
67      {
68          this.name = name;
69      }
70      
71      /***
72       * Getter for property street.
73       * @return Value of property street.
74       */
75      public String getStreet()
76      {
77          return this.street;
78      }
79      
80      /***
81       * Setter for property street.
82       * @param street New value of property street.
83       */
84      public void setStreet(String street)
85      {
86          this.street = street;
87      }
88      
89      /***
90       * Getter for property city.
91       * @return Value of property city.
92       */
93      public String getCity()
94      {
95          return this.city;
96      }
97      
98      /***
99       * Setter for property city.
100      * @param city New value of property city.
101      */
102     public void setCity(String city)
103     {
104         this.city = city;
105     }
106     
107     /***
108      * Getter for property state.
109      * @return Value of property state.
110      */
111     public String getState()
112     {
113         return this.state;
114     }
115     
116     /***
117      * Setter for property state.
118      * @param state New value of property state.
119      */
120     public void setState(String state)
121     {
122         this.state = state;
123     }
124     
125     /***
126      * Getter for property country.
127      * @return Value of property country.
128      */
129     public String getCountry()
130     {
131         return this.country;
132     }
133     
134     /***
135      * Setter for property country.
136      * @param country New value of property country.
137      */
138     public void setCountry(String country)
139     {
140         this.country = country;
141     }
142     
143     /***
144      * Getter for property postalCode.
145      * @return Value of property postalCode.
146      */
147     public String getPostalCode()
148     {
149         return this.postalCode;
150     }
151     
152     /***
153      * Setter for property postalCode.
154      * @param postalCode New value of property postalCode.
155      */
156     public void setPostalCode(String postalCode)
157     {
158         this.postalCode = postalCode;
159     }
160     
161 }