001// -------------------------------------------------------------------------------- 002// Copyright 2002-2024 Echo Three, LLC 003// 004// Licensed under the Apache 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.apache.org/licenses/LICENSE-2.0 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// -------------------------------------------------------------------------------- 016 017package com.echothree.model.control.contact.common.transfer; 018 019import com.echothree.model.control.geo.common.transfer.CityTransfer; 020import com.echothree.model.control.geo.common.transfer.CountryTransfer; 021import com.echothree.model.control.geo.common.transfer.CountyTransfer; 022import com.echothree.model.control.geo.common.transfer.PostalCodeTransfer; 023import com.echothree.model.control.geo.common.transfer.StateTransfer; 024import com.echothree.model.control.party.common.transfer.NameSuffixTransfer; 025import com.echothree.model.control.party.common.transfer.PersonalTitleTransfer; 026import com.echothree.model.control.workflow.common.transfer.WorkflowEntityStatusTransfer; 027import com.echothree.util.common.transfer.BaseTransfer; 028 029public class ContactPostalAddressTransfer 030 extends BaseTransfer { 031 032 private PersonalTitleTransfer personalTitle; 033 private String firstName; 034 private String middleName; 035 private String lastName; 036 private NameSuffixTransfer nameSuffix; 037 private String companyName; 038 private String attention; 039 private String address1; 040 private String address2; 041 private String address3; 042 private String city; 043 private CityTransfer cityGeoCode; 044 private CountyTransfer countyGeoCode; 045 private String state; 046 private StateTransfer stateGeoCode; 047 private String postalCode; 048 private PostalCodeTransfer postalCodeGeoCode; 049 private CountryTransfer countryGeoCode; 050 private Boolean isCommercial; 051 private WorkflowEntityStatusTransfer postalAddressStatus; 052 053 /** Creates a new instance of ContactPostalAddressTransfer */ 054 public ContactPostalAddressTransfer(PersonalTitleTransfer personalTitle, String firstName, String middleName, String lastName, 055 NameSuffixTransfer nameSuffix, String companyName, String attention, String address1, String address2, String address3, String city, 056 CityTransfer cityGeoCode, CountyTransfer countyGeoCode, String state, StateTransfer stateGeoCode, String postalCode, 057 PostalCodeTransfer postalCodeGeoCode, CountryTransfer countryGeoCode, Boolean isCommercial, 058 WorkflowEntityStatusTransfer postalAddressStatus) { 059 this.personalTitle = personalTitle; 060 this.firstName = firstName; 061 this.middleName = middleName; 062 this.lastName = lastName; 063 this.nameSuffix = nameSuffix; 064 this.companyName = companyName; 065 this.attention = attention; 066 this.address1 = address1; 067 this.address2 = address2; 068 this.address3 = address3; 069 this.city = city; 070 this.cityGeoCode = cityGeoCode; 071 this.countyGeoCode = countyGeoCode; 072 this.state = state; 073 this.stateGeoCode = stateGeoCode; 074 this.postalCode = postalCode; 075 this.postalCodeGeoCode = postalCodeGeoCode; 076 this.countryGeoCode = countryGeoCode; 077 this.isCommercial = isCommercial; 078 this.postalAddressStatus = postalAddressStatus; 079 } 080 081 public PersonalTitleTransfer getPersonalTitle() { 082 return personalTitle; 083 } 084 085 public void setPersonalTitle(PersonalTitleTransfer personalTitle) { 086 this.personalTitle = personalTitle; 087 } 088 089 public String getFirstName() { 090 return firstName; 091 } 092 093 public void setFirstName(String firstName) { 094 this.firstName = firstName; 095 } 096 097 public String getMiddleName() { 098 return middleName; 099 } 100 101 public void setMiddleName(String middleName) { 102 this.middleName = middleName; 103 } 104 105 public String getLastName() { 106 return lastName; 107 } 108 109 public void setLastName(String lastName) { 110 this.lastName = lastName; 111 } 112 113 public NameSuffixTransfer getNameSuffix() { 114 return nameSuffix; 115 } 116 117 public void setNameSuffix(NameSuffixTransfer nameSuffix) { 118 this.nameSuffix = nameSuffix; 119 } 120 121 public String getCompanyName() { 122 return companyName; 123 } 124 125 public void setCompanyName(String companyName) { 126 this.companyName = companyName; 127 } 128 129 public String getAttention() { 130 return attention; 131 } 132 133 public void setAttention(String attention) { 134 this.attention = attention; 135 } 136 137 public String getAddress1() { 138 return address1; 139 } 140 141 public void setAddress1(String address1) { 142 this.address1 = address1; 143 } 144 145 public String getAddress2() { 146 return address2; 147 } 148 149 public void setAddress2(String address2) { 150 this.address2 = address2; 151 } 152 153 public String getAddress3() { 154 return address3; 155 } 156 157 public void setAddress3(String address3) { 158 this.address3 = address3; 159 } 160 161 public String getCity() { 162 return city; 163 } 164 165 public void setCity(String city) { 166 this.city = city; 167 } 168 169 public CityTransfer getCityGeoCode() { 170 return cityGeoCode; 171 } 172 173 public void setCityGeoCode(CityTransfer cityGeoCode) { 174 this.cityGeoCode = cityGeoCode; 175 } 176 177 public CountyTransfer getCountyGeoCode() { 178 return countyGeoCode; 179 } 180 181 public void setCountyGeoCode(CountyTransfer countyGeoCode) { 182 this.countyGeoCode = countyGeoCode; 183 } 184 185 public String getState() { 186 return state; 187 } 188 189 public void setState(String state) { 190 this.state = state; 191 } 192 193 public StateTransfer getStateGeoCode() { 194 return stateGeoCode; 195 } 196 197 public void setStateGeoCode(StateTransfer stateGeoCode) { 198 this.stateGeoCode = stateGeoCode; 199 } 200 201 public String getPostalCode() { 202 return postalCode; 203 } 204 205 public void setPostalCode(String postalCode) { 206 this.postalCode = postalCode; 207 } 208 209 public PostalCodeTransfer getPostalCodeGeoCode() { 210 return postalCodeGeoCode; 211 } 212 213 public void setPostalCodeGeoCode(PostalCodeTransfer postalCodeGeoCode) { 214 this.postalCodeGeoCode = postalCodeGeoCode; 215 } 216 217 public CountryTransfer getCountryGeoCode() { 218 return countryGeoCode; 219 } 220 221 public void setCountryGeoCode(CountryTransfer countryGeoCode) { 222 this.countryGeoCode = countryGeoCode; 223 } 224 225 public Boolean getIsCommercial() { 226 return isCommercial; 227 } 228 229 public void setIsCommercial(Boolean isCommercial) { 230 this.isCommercial = isCommercial; 231 } 232 233 public WorkflowEntityStatusTransfer getPostalAddressStatus() { 234 return postalAddressStatus; 235 } 236 237 public void setPostalAddressStatus(WorkflowEntityStatusTransfer postalAddressStatus) { 238 this.postalAddressStatus = postalAddressStatus; 239 } 240 241}