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.PostalAddressElementTypePK; 008import com.echothree.model.data.contact.common.pk.PostalAddressLineElementPK; 009import com.echothree.model.data.contact.common.pk.PostalAddressLinePK; 010 011import org.jooq.Record1; 012import org.jooq.impl.UpdatableRecordImpl; 013 014 015/** 016 * This class is generated by jOOQ. 017 */ 018@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 019public class PostalAddressLineElements extends UpdatableRecordImpl<PostalAddressLineElements> { 020 021 private static final long serialVersionUID = 1L; 022 023 /** 024 * Setter for 025 * <code>postaladdresslineelements.pstale_postaladdresslineelementid</code>. 026 */ 027 public void PostalAddressLineElement(PostalAddressLineElementPK value) { 028 set(0, value); 029 } 030 031 /** 032 * Getter for 033 * <code>postaladdresslineelements.pstale_postaladdresslineelementid</code>. 034 */ 035 public PostalAddressLineElementPK PostalAddressLineElement() { 036 return (PostalAddressLineElementPK) get(0); 037 } 038 039 /** 040 * Setter for 041 * <code>postaladdresslineelements.pstale_pstal_postaladdresslineid</code>. 042 */ 043 public void PostalAddressLine(PostalAddressLinePK value) { 044 set(1, value); 045 } 046 047 /** 048 * Getter for 049 * <code>postaladdresslineelements.pstale_pstal_postaladdresslineid</code>. 050 */ 051 public PostalAddressLinePK PostalAddressLine() { 052 return (PostalAddressLinePK) get(1); 053 } 054 055 /** 056 * Setter for 057 * <code>postaladdresslineelements.pstale_postaladdresslineelementsortorder</code>. 058 */ 059 public void PostalAddressLineElementSortOrder(Integer value) { 060 set(2, value); 061 } 062 063 /** 064 * Getter for 065 * <code>postaladdresslineelements.pstale_postaladdresslineelementsortorder</code>. 066 */ 067 public Integer PostalAddressLineElementSortOrder() { 068 return (Integer) get(2); 069 } 070 071 /** 072 * Setter for 073 * <code>postaladdresslineelements.pstale_pstaetyp_postaladdresselementtypeid</code>. 074 */ 075 public void PostalAddressElementType(PostalAddressElementTypePK value) { 076 set(3, value); 077 } 078 079 /** 080 * Getter for 081 * <code>postaladdresslineelements.pstale_pstaetyp_postaladdresselementtypeid</code>. 082 */ 083 public PostalAddressElementTypePK PostalAddressElementType() { 084 return (PostalAddressElementTypePK) get(3); 085 } 086 087 /** 088 * Setter for <code>postaladdresslineelements.pstale_prefix</code>. 089 */ 090 public void Prefix(String value) { 091 set(4, value); 092 } 093 094 /** 095 * Getter for <code>postaladdresslineelements.pstale_prefix</code>. 096 */ 097 public String Prefix() { 098 return (String) get(4); 099 } 100 101 /** 102 * Setter for 103 * <code>postaladdresslineelements.pstale_alwaysincludeprefix</code>. 104 */ 105 public void AlwaysIncludePrefix(Boolean value) { 106 set(5, value); 107 } 108 109 /** 110 * Getter for 111 * <code>postaladdresslineelements.pstale_alwaysincludeprefix</code>. 112 */ 113 public Boolean AlwaysIncludePrefix() { 114 return (Boolean) get(5); 115 } 116 117 /** 118 * Setter for <code>postaladdresslineelements.pstale_suffix</code>. 119 */ 120 public void Suffix(String value) { 121 set(6, value); 122 } 123 124 /** 125 * Getter for <code>postaladdresslineelements.pstale_suffix</code>. 126 */ 127 public String Suffix() { 128 return (String) get(6); 129 } 130 131 /** 132 * Setter for 133 * <code>postaladdresslineelements.pstale_alwaysincludesuffix</code>. 134 */ 135 public void AlwaysIncludeSuffix(Boolean value) { 136 set(7, value); 137 } 138 139 /** 140 * Getter for 141 * <code>postaladdresslineelements.pstale_alwaysincludesuffix</code>. 142 */ 143 public Boolean AlwaysIncludeSuffix() { 144 return (Boolean) get(7); 145 } 146 147 /** 148 * Setter for <code>postaladdresslineelements.pstale_fromtime</code>. 149 */ 150 public void FromTime(Long value) { 151 set(8, value); 152 } 153 154 /** 155 * Getter for <code>postaladdresslineelements.pstale_fromtime</code>. 156 */ 157 public Long FromTime() { 158 return (Long) get(8); 159 } 160 161 /** 162 * Setter for <code>postaladdresslineelements.pstale_thrutime</code>. 163 */ 164 public void ThruTime(Long value) { 165 set(9, value); 166 } 167 168 /** 169 * Getter for <code>postaladdresslineelements.pstale_thrutime</code>. 170 */ 171 public Long ThruTime() { 172 return (Long) get(9); 173 } 174 175 // ------------------------------------------------------------------------- 176 // Primary key information 177 // ------------------------------------------------------------------------- 178 179 @Override 180 public Record1<PostalAddressLineElementPK> key() { 181 return (Record1) super.key(); 182 } 183 184 // ------------------------------------------------------------------------- 185 // Constructors 186 // ------------------------------------------------------------------------- 187 188 /** 189 * Create a detached PostalAddressLineElements 190 */ 191 public PostalAddressLineElements() { 192 super(com.echothree.model.jooq.server.tables.contact.PostalAddressLineElements.PostalAddressLineElements); 193 } 194 195 /** 196 * Create a detached, initialised PostalAddressLineElements 197 */ 198 public PostalAddressLineElements(PostalAddressLineElementPK PostalAddressLineElement, PostalAddressLinePK PostalAddressLine, Integer PostalAddressLineElementSortOrder, PostalAddressElementTypePK PostalAddressElementType, String Prefix, Boolean AlwaysIncludePrefix, String Suffix, Boolean AlwaysIncludeSuffix, Long FromTime, Long ThruTime) { 199 super(com.echothree.model.jooq.server.tables.contact.PostalAddressLineElements.PostalAddressLineElements); 200 201 PostalAddressLineElement(PostalAddressLineElement); 202 PostalAddressLine(PostalAddressLine); 203 PostalAddressLineElementSortOrder(PostalAddressLineElementSortOrder); 204 PostalAddressElementType(PostalAddressElementType); 205 Prefix(Prefix); 206 AlwaysIncludePrefix(AlwaysIncludePrefix); 207 Suffix(Suffix); 208 AlwaysIncludeSuffix(AlwaysIncludeSuffix); 209 FromTime(FromTime); 210 ThruTime(ThruTime); 211 resetTouchedOnNotNull(); 212 } 213}