001/** 002 * Copyright 2005-2016 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.rice.krad.datadictionary.validation; 017 018import java.util.Date; 019 020/** 021 * 022 * @author Kuali Rice Team (rice.collab@kuali.org) 023 */ 024public class Address { 025 private String street1, street2, city, state, postalCode, country; 026 private Date effectiveDate; 027 028 029 public Address(){ 030 } 031 032 public Address(String street1, String street2, String city, String state, String postalCode, String country, Date effectiveDate) { 033 this.street1 = street1; 034 this.street2 = street2; 035 this.city = city; 036 this.state = state; 037 this.postalCode = postalCode; 038 this.country = country; 039 this.effectiveDate = effectiveDate; 040 } 041 042 /** 043 * @return the street1 044 */ 045 public String getStreet1() { 046 return this.street1; 047 } 048 049 /** 050 * @param street1 the street1 to set 051 */ 052 public void setStreet1(String street1) { 053 this.street1 = street1; 054 } 055 056 /** 057 * @return the street2 058 */ 059 public String getStreet2() { 060 return this.street2; 061 } 062 063 /** 064 * @param street2 the street2 to set 065 */ 066 public void setStreet2(String street2) { 067 this.street2 = street2; 068 } 069 070 /** 071 * @return the city 072 */ 073 public String getCity() { 074 return this.city; 075 } 076 077 /** 078 * @param city the city to set 079 */ 080 public void setCity(String city) { 081 this.city = city; 082 } 083 084 /** 085 * @return the state 086 */ 087 public String getState() { 088 return this.state; 089 } 090 091 /** 092 * @param state the state to set 093 */ 094 public void setState(String state) { 095 this.state = state; 096 } 097 098 /** 099 * @return the postalCode 100 */ 101 public String getPostalCode() { 102 return this.postalCode; 103 } 104 105 /** 106 * @param postalCode the postalCode to set 107 */ 108 public void setPostalCode(String postalCode) { 109 this.postalCode = postalCode; 110 } 111 112 /** 113 * @return the country 114 */ 115 public String getCountry() { 116 return this.country; 117 } 118 119 /** 120 * @param country the country to set 121 */ 122 public void setCountry(String country) { 123 this.country = country; 124 } 125 126 /** 127 * @return the effectiveDate 128 */ 129 public Date getEffectiveDate() { 130 return this.effectiveDate; 131 } 132 133 /** 134 * @param effectiveDate the effectiveDate to set 135 */ 136 public void setEffectiveDate(Date effectiveDate) { 137 this.effectiveDate = effectiveDate; 138 } 139}