/** * This file is part of Faktotum. * * * Faktotum is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * Faktotum is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with Faktotum. * * If not, see <http://www.gnu.org/licenses/>. */ package de.romankreisel.faktotum.datamodel; import javax.persistence.Embeddable; /** * @author Roman Kreisel <mail@romankreisel.de> * */ @Embeddable public class PostalAddress { private String street; private String postalCode; private String city; private String country; /** * @return the city */ public String getCity() { return this.city; } /** * @return the country */ public String getCountry() { return this.country; } /** * @return the postalCode */ public String getPostalCode() { return this.postalCode; } /** * @return the street */ public String getStreet() { return this.street; } /** * @param city * the city to set */ public void setCity(String city) { this.city = city; } /** * @param country * the country to set */ public void setCountry(String country) { this.country = country; } /** * @param postalCode * the postalCode to set */ public void setPostalCode(String postalCode) { this.postalCode = postalCode; } /** * @param street * the street to set */ public void setStreet(String street) { this.street = street; } }