/* * Copyright 2008-2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.jdal.model; /** * Class for Address data * * @author Jose Luis Martin - (jlm@joseluismartin.info) */ public class Address { /** address */ private String address; /** city */ private City city; /** country */ private Country country; /** postal code */ private String postalCode; /** * @return the address */ public String getAddress() { return address; } /** * @param address the address to set */ public void setAddress(String address) { this.address = address; } /** * @return the city */ public City getCity() { return city; } /** * @param city the city to set */ public void setCity(City city) { this.city = city; } /** * @return the country */ public Country getCountry() { return country; } /** * @param country the country to set */ public void setCountry(Country country) { this.country = country; } /** * @return the postalCode */ public String getPostalCode() { return postalCode; } /** * @param postalCode the postalCode to set */ public void setPostalCode(String postalCode) { this.postalCode = postalCode; } }