001: /******************************************************************************
002: * JBoss, a division of Red Hat *
003: * Copyright 2006, Red Hat Middleware, LLC, and individual *
004: * contributors as indicated by the @authors tag. See the *
005: * copyright.txt in the distribution for a full listing of *
006: * individual contributors. *
007: * *
008: * This is free software; you can redistribute it and/or modify it *
009: * under the terms of the GNU Lesser General Public License as *
010: * published by the Free Software Foundation; either version 2.1 of *
011: * the License, or (at your option) any later version. *
012: * *
013: * This software is distributed in the hope that it will be useful, *
014: * but WITHOUT ANY WARRANTY; without even the implied warranty of *
015: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
016: * Lesser General Public License for more details. *
017: * *
018: * You should have received a copy of the GNU Lesser General Public *
019: * License along with this software; if not, write to the Free *
020: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
021: * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
022: ******************************************************************************/package org.jboss.portal.wsrp.core;
023:
024: import java.io.Serializable;
025:
026: public class Postal implements Serializable {
027: protected java.lang.String name;
028: protected java.lang.String street;
029: protected java.lang.String city;
030: protected java.lang.String stateprov;
031: protected java.lang.String postalcode;
032: protected java.lang.String country;
033: protected java.lang.String organization;
034: protected org.jboss.portal.wsrp.core.Extension[] extensions;
035:
036: public Postal() {
037: }
038:
039: public Postal(java.lang.String name, java.lang.String street,
040: java.lang.String city, java.lang.String stateprov,
041: java.lang.String postalcode, java.lang.String country,
042: java.lang.String organization,
043: org.jboss.portal.wsrp.core.Extension[] extensions) {
044: this .name = name;
045: this .street = street;
046: this .city = city;
047: this .stateprov = stateprov;
048: this .postalcode = postalcode;
049: this .country = country;
050: this .organization = organization;
051: this .extensions = extensions;
052: }
053:
054: public java.lang.String getName() {
055: return name;
056: }
057:
058: public void setName(java.lang.String name) {
059: this .name = name;
060: }
061:
062: public java.lang.String getStreet() {
063: return street;
064: }
065:
066: public void setStreet(java.lang.String street) {
067: this .street = street;
068: }
069:
070: public java.lang.String getCity() {
071: return city;
072: }
073:
074: public void setCity(java.lang.String city) {
075: this .city = city;
076: }
077:
078: public java.lang.String getStateprov() {
079: return stateprov;
080: }
081:
082: public void setStateprov(java.lang.String stateprov) {
083: this .stateprov = stateprov;
084: }
085:
086: public java.lang.String getPostalcode() {
087: return postalcode;
088: }
089:
090: public void setPostalcode(java.lang.String postalcode) {
091: this .postalcode = postalcode;
092: }
093:
094: public java.lang.String getCountry() {
095: return country;
096: }
097:
098: public void setCountry(java.lang.String country) {
099: this .country = country;
100: }
101:
102: public java.lang.String getOrganization() {
103: return organization;
104: }
105:
106: public void setOrganization(java.lang.String organization) {
107: this .organization = organization;
108: }
109:
110: public org.jboss.portal.wsrp.core.Extension[] getExtensions() {
111: return extensions;
112: }
113:
114: public void setExtensions(
115: org.jboss.portal.wsrp.core.Extension[] extensions) {
116: this.extensions = extensions;
117: }
118: }
|