001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.contact; 005 006 007import com.echothree.model.data.contact.common.pk.ContactMechanismPK; 008import com.echothree.model.data.contact.common.pk.ContactPostalAddressPK; 009import com.echothree.model.data.geo.common.pk.GeoCodePK; 010import com.echothree.model.data.party.common.pk.NameSuffixPK; 011import com.echothree.model.data.party.common.pk.PersonalTitlePK; 012 013import org.jooq.Record1; 014import org.jooq.impl.UpdatableRecordImpl; 015 016 017/** 018 * This class is generated by jOOQ. 019 */ 020@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 021public class ContactPostalAddresses extends UpdatableRecordImpl<ContactPostalAddresses> { 022 023 private static final long serialVersionUID = 1L; 024 025 /** 026 * Setter for 027 * <code>contactpostaladdresses.ctpa_contactpostaladdressid</code>. 028 */ 029 public void ContactPostalAddress(ContactPostalAddressPK value) { 030 set(0, value); 031 } 032 033 /** 034 * Getter for 035 * <code>contactpostaladdresses.ctpa_contactpostaladdressid</code>. 036 */ 037 public ContactPostalAddressPK ContactPostalAddress() { 038 return (ContactPostalAddressPK) get(0); 039 } 040 041 /** 042 * Setter for 043 * <code>contactpostaladdresses.ctpa_cmch_contactmechanismid</code>. 044 */ 045 public void ContactMechanism(ContactMechanismPK value) { 046 set(1, value); 047 } 048 049 /** 050 * Getter for 051 * <code>contactpostaladdresses.ctpa_cmch_contactmechanismid</code>. 052 */ 053 public ContactMechanismPK ContactMechanism() { 054 return (ContactMechanismPK) get(1); 055 } 056 057 /** 058 * Setter for <code>contactpostaladdresses.ctpa_pert_personaltitleid</code>. 059 */ 060 public void PersonalTitle(PersonalTitlePK value) { 061 set(2, value); 062 } 063 064 /** 065 * Getter for <code>contactpostaladdresses.ctpa_pert_personaltitleid</code>. 066 */ 067 public PersonalTitlePK PersonalTitle() { 068 return (PersonalTitlePK) get(2); 069 } 070 071 /** 072 * Setter for <code>contactpostaladdresses.ctpa_firstname</code>. 073 */ 074 public void FirstName(String value) { 075 set(3, value); 076 } 077 078 /** 079 * Getter for <code>contactpostaladdresses.ctpa_firstname</code>. 080 */ 081 public String FirstName() { 082 return (String) get(3); 083 } 084 085 /** 086 * Setter for <code>contactpostaladdresses.ctpa_firstnamesdx</code>. 087 */ 088 public void FirstNameSdx(String value) { 089 set(4, value); 090 } 091 092 /** 093 * Getter for <code>contactpostaladdresses.ctpa_firstnamesdx</code>. 094 */ 095 public String FirstNameSdx() { 096 return (String) get(4); 097 } 098 099 /** 100 * Setter for <code>contactpostaladdresses.ctpa_middlename</code>. 101 */ 102 public void MiddleName(String value) { 103 set(5, value); 104 } 105 106 /** 107 * Getter for <code>contactpostaladdresses.ctpa_middlename</code>. 108 */ 109 public String MiddleName() { 110 return (String) get(5); 111 } 112 113 /** 114 * Setter for <code>contactpostaladdresses.ctpa_middlenamesdx</code>. 115 */ 116 public void MiddleNameSdx(String value) { 117 set(6, value); 118 } 119 120 /** 121 * Getter for <code>contactpostaladdresses.ctpa_middlenamesdx</code>. 122 */ 123 public String MiddleNameSdx() { 124 return (String) get(6); 125 } 126 127 /** 128 * Setter for <code>contactpostaladdresses.ctpa_lastname</code>. 129 */ 130 public void LastName(String value) { 131 set(7, value); 132 } 133 134 /** 135 * Getter for <code>contactpostaladdresses.ctpa_lastname</code>. 136 */ 137 public String LastName() { 138 return (String) get(7); 139 } 140 141 /** 142 * Setter for <code>contactpostaladdresses.ctpa_lastnamesdx</code>. 143 */ 144 public void LastNameSdx(String value) { 145 set(8, value); 146 } 147 148 /** 149 * Getter for <code>contactpostaladdresses.ctpa_lastnamesdx</code>. 150 */ 151 public String LastNameSdx() { 152 return (String) get(8); 153 } 154 155 /** 156 * Setter for <code>contactpostaladdresses.ctpa_nsfx_namesuffixid</code>. 157 */ 158 public void NameSuffix(NameSuffixPK value) { 159 set(9, value); 160 } 161 162 /** 163 * Getter for <code>contactpostaladdresses.ctpa_nsfx_namesuffixid</code>. 164 */ 165 public NameSuffixPK NameSuffix() { 166 return (NameSuffixPK) get(9); 167 } 168 169 /** 170 * Setter for <code>contactpostaladdresses.ctpa_companyname</code>. 171 */ 172 public void CompanyName(String value) { 173 set(10, value); 174 } 175 176 /** 177 * Getter for <code>contactpostaladdresses.ctpa_companyname</code>. 178 */ 179 public String CompanyName() { 180 return (String) get(10); 181 } 182 183 /** 184 * Setter for <code>contactpostaladdresses.ctpa_attention</code>. 185 */ 186 public void Attention(String value) { 187 set(11, value); 188 } 189 190 /** 191 * Getter for <code>contactpostaladdresses.ctpa_attention</code>. 192 */ 193 public String Attention() { 194 return (String) get(11); 195 } 196 197 /** 198 * Setter for <code>contactpostaladdresses.ctpa_address1</code>. 199 */ 200 public void Address1(String value) { 201 set(12, value); 202 } 203 204 /** 205 * Getter for <code>contactpostaladdresses.ctpa_address1</code>. 206 */ 207 public String Address1() { 208 return (String) get(12); 209 } 210 211 /** 212 * Setter for <code>contactpostaladdresses.ctpa_address2</code>. 213 */ 214 public void Address2(String value) { 215 set(13, value); 216 } 217 218 /** 219 * Getter for <code>contactpostaladdresses.ctpa_address2</code>. 220 */ 221 public String Address2() { 222 return (String) get(13); 223 } 224 225 /** 226 * Setter for <code>contactpostaladdresses.ctpa_address3</code>. 227 */ 228 public void Address3(String value) { 229 set(14, value); 230 } 231 232 /** 233 * Getter for <code>contactpostaladdresses.ctpa_address3</code>. 234 */ 235 public String Address3() { 236 return (String) get(14); 237 } 238 239 /** 240 * Setter for <code>contactpostaladdresses.ctpa_city</code>. 241 */ 242 public void City(String value) { 243 set(15, value); 244 } 245 246 /** 247 * Getter for <code>contactpostaladdresses.ctpa_city</code>. 248 */ 249 public String City() { 250 return (String) get(15); 251 } 252 253 /** 254 * Setter for <code>contactpostaladdresses.ctpa_citygeocodeid</code>. 255 */ 256 public void CityGeoCode(GeoCodePK value) { 257 set(16, value); 258 } 259 260 /** 261 * Getter for <code>contactpostaladdresses.ctpa_citygeocodeid</code>. 262 */ 263 public GeoCodePK CityGeoCode() { 264 return (GeoCodePK) get(16); 265 } 266 267 /** 268 * Setter for <code>contactpostaladdresses.ctpa_countygeocodeid</code>. 269 */ 270 public void CountyGeoCode(GeoCodePK value) { 271 set(17, value); 272 } 273 274 /** 275 * Getter for <code>contactpostaladdresses.ctpa_countygeocodeid</code>. 276 */ 277 public GeoCodePK CountyGeoCode() { 278 return (GeoCodePK) get(17); 279 } 280 281 /** 282 * Setter for <code>contactpostaladdresses.ctpa_state</code>. 283 */ 284 public void State(String value) { 285 set(18, value); 286 } 287 288 /** 289 * Getter for <code>contactpostaladdresses.ctpa_state</code>. 290 */ 291 public String State() { 292 return (String) get(18); 293 } 294 295 /** 296 * Setter for <code>contactpostaladdresses.ctpa_stategeocodeid</code>. 297 */ 298 public void StateGeoCode(GeoCodePK value) { 299 set(19, value); 300 } 301 302 /** 303 * Getter for <code>contactpostaladdresses.ctpa_stategeocodeid</code>. 304 */ 305 public GeoCodePK StateGeoCode() { 306 return (GeoCodePK) get(19); 307 } 308 309 /** 310 * Setter for <code>contactpostaladdresses.ctpa_postalcode</code>. 311 */ 312 public void PostalCode(String value) { 313 set(20, value); 314 } 315 316 /** 317 * Getter for <code>contactpostaladdresses.ctpa_postalcode</code>. 318 */ 319 public String PostalCode() { 320 return (String) get(20); 321 } 322 323 /** 324 * Setter for <code>contactpostaladdresses.ctpa_postalcodegeocodeid</code>. 325 */ 326 public void PostalCodeGeoCode(GeoCodePK value) { 327 set(21, value); 328 } 329 330 /** 331 * Getter for <code>contactpostaladdresses.ctpa_postalcodegeocodeid</code>. 332 */ 333 public GeoCodePK PostalCodeGeoCode() { 334 return (GeoCodePK) get(21); 335 } 336 337 /** 338 * Setter for <code>contactpostaladdresses.ctpa_countrygeocodeid</code>. 339 */ 340 public void CountryGeoCode(GeoCodePK value) { 341 set(22, value); 342 } 343 344 /** 345 * Getter for <code>contactpostaladdresses.ctpa_countrygeocodeid</code>. 346 */ 347 public GeoCodePK CountryGeoCode() { 348 return (GeoCodePK) get(22); 349 } 350 351 /** 352 * Setter for <code>contactpostaladdresses.ctpa_iscommercial</code>. 353 */ 354 public void IsCommercial(Boolean value) { 355 set(23, value); 356 } 357 358 /** 359 * Getter for <code>contactpostaladdresses.ctpa_iscommercial</code>. 360 */ 361 public Boolean IsCommercial() { 362 return (Boolean) get(23); 363 } 364 365 /** 366 * Setter for <code>contactpostaladdresses.ctpa_fromtime</code>. 367 */ 368 public void FromTime(Long value) { 369 set(24, value); 370 } 371 372 /** 373 * Getter for <code>contactpostaladdresses.ctpa_fromtime</code>. 374 */ 375 public Long FromTime() { 376 return (Long) get(24); 377 } 378 379 /** 380 * Setter for <code>contactpostaladdresses.ctpa_thrutime</code>. 381 */ 382 public void ThruTime(Long value) { 383 set(25, value); 384 } 385 386 /** 387 * Getter for <code>contactpostaladdresses.ctpa_thrutime</code>. 388 */ 389 public Long ThruTime() { 390 return (Long) get(25); 391 } 392 393 // ------------------------------------------------------------------------- 394 // Primary key information 395 // ------------------------------------------------------------------------- 396 397 @Override 398 public Record1<ContactPostalAddressPK> key() { 399 return (Record1) super.key(); 400 } 401 402 // ------------------------------------------------------------------------- 403 // Constructors 404 // ------------------------------------------------------------------------- 405 406 /** 407 * Create a detached ContactPostalAddresses 408 */ 409 public ContactPostalAddresses() { 410 super(com.echothree.model.jooq.server.tables.contact.ContactPostalAddresses.ContactPostalAddresses); 411 } 412 413 /** 414 * Create a detached, initialised ContactPostalAddresses 415 */ 416 public ContactPostalAddresses(ContactPostalAddressPK ContactPostalAddress, ContactMechanismPK ContactMechanism, PersonalTitlePK PersonalTitle, String FirstName, String FirstNameSdx, String MiddleName, String MiddleNameSdx, String LastName, String LastNameSdx, NameSuffixPK NameSuffix, String CompanyName, String Attention, String Address1, String Address2, String Address3, String City, GeoCodePK CityGeoCode, GeoCodePK CountyGeoCode, String State, GeoCodePK StateGeoCode, String PostalCode, GeoCodePK PostalCodeGeoCode, GeoCodePK CountryGeoCode, Boolean IsCommercial, Long FromTime, Long ThruTime) { 417 super(com.echothree.model.jooq.server.tables.contact.ContactPostalAddresses.ContactPostalAddresses); 418 419 ContactPostalAddress(ContactPostalAddress); 420 ContactMechanism(ContactMechanism); 421 PersonalTitle(PersonalTitle); 422 FirstName(FirstName); 423 FirstNameSdx(FirstNameSdx); 424 MiddleName(MiddleName); 425 MiddleNameSdx(MiddleNameSdx); 426 LastName(LastName); 427 LastNameSdx(LastNameSdx); 428 NameSuffix(NameSuffix); 429 CompanyName(CompanyName); 430 Attention(Attention); 431 Address1(Address1); 432 Address2(Address2); 433 Address3(Address3); 434 City(City); 435 CityGeoCode(CityGeoCode); 436 CountyGeoCode(CountyGeoCode); 437 State(State); 438 StateGeoCode(StateGeoCode); 439 PostalCode(PostalCode); 440 PostalCodeGeoCode(PostalCodeGeoCode); 441 CountryGeoCode(CountryGeoCode); 442 IsCommercial(IsCommercial); 443 FromTime(FromTime); 444 ThruTime(ThruTime); 445 resetTouchedOnNotNull(); 446 } 447}