/** * Copyright (C) 2015 Valkyrie RCP * * 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.valkyriercp.sample.simple.domain; /** * This class provides a simple domain object to hold a single US address. * @author Larry Streepy */ public class Address { private String address1; private String address2; private String address3; private String city; private String state; private String zip; /** * @return the city */ public String getCity() { return city; } /** * @param city the city to set */ public void setCity(String city) { this.city = city; } /** * @return the address1 */ public String getAddress1() { return address1; } /** * @param address1 the line1 to set */ public void setAddress1(String address1) { this.address1 = address1; } /** * @return the address2 */ public String getAddress2() { return address2; } /** * @param address2 the address2 to set */ public void setAddress2(String address2) { this.address2 = address2; } /** * @return the address3 */ public String getAddress3() { return address3; } /** * @param line3 the address3 to set */ public void setAddress3(String line3) { this.address3 = line3; } /** * @return the state */ public String getState() { return state; } /** * @param state the state to set */ public void setState(String state) { this.state = state; } /** * @return the zip */ public String getZip() { return zip; } /** * @param zip the zip to set */ public void setZip(String zip) { this.zip = zip; } }