001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: package org.apache.jetspeed.demo.customerInfo;
018:
019: import java.io.Serializable;
020:
021: /**
022: * @author <a href="mailto:paulsp@apache.org">Paul Spencer</a>
023: * @version $Id: Address.java 516448 2007-03-09 16:25:47Z ate $
024: */
025: public class Address implements Serializable {
026:
027: /** Holds value of property name. */
028: private String name;
029:
030: /** Holds value of property street. */
031: private String street;
032:
033: /** Holds value of property city. */
034: private String city;
035:
036: /** Holds value of property state. */
037: private String state;
038:
039: /** Holds value of property country. */
040: private String country;
041:
042: /** Holds value of property postalCode. */
043: private String postalCode;
044:
045: /** Creates a new instance of Address */
046: public Address() {
047: }
048:
049: /**
050: * Getter for property name.
051: * @return Value of property name.
052: */
053: public String getName() {
054: return this .name;
055: }
056:
057: /**
058: * Setter for property name.
059: * @param name New value of property name.
060: */
061: public void setName(String name) {
062: this .name = name;
063: }
064:
065: /**
066: * Getter for property street.
067: * @return Value of property street.
068: */
069: public String getStreet() {
070: return this .street;
071: }
072:
073: /**
074: * Setter for property street.
075: * @param street New value of property street.
076: */
077: public void setStreet(String street) {
078: this .street = street;
079: }
080:
081: /**
082: * Getter for property city.
083: * @return Value of property city.
084: */
085: public String getCity() {
086: return this .city;
087: }
088:
089: /**
090: * Setter for property city.
091: * @param city New value of property city.
092: */
093: public void setCity(String city) {
094: this .city = city;
095: }
096:
097: /**
098: * Getter for property state.
099: * @return Value of property state.
100: */
101: public String getState() {
102: return this .state;
103: }
104:
105: /**
106: * Setter for property state.
107: * @param state New value of property state.
108: */
109: public void setState(String state) {
110: this .state = state;
111: }
112:
113: /**
114: * Getter for property country.
115: * @return Value of property country.
116: */
117: public String getCountry() {
118: return this .country;
119: }
120:
121: /**
122: * Setter for property country.
123: * @param country New value of property country.
124: */
125: public void setCountry(String country) {
126: this .country = country;
127: }
128:
129: /**
130: * Getter for property postalCode.
131: * @return Value of property postalCode.
132: */
133: public String getPostalCode() {
134: return this .postalCode;
135: }
136:
137: /**
138: * Setter for property postalCode.
139: * @param postalCode New value of property postalCode.
140: */
141: public void setPostalCode(String postalCode) {
142: this.postalCode = postalCode;
143: }
144:
145: }
|