001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.customer; 005 006 007import com.echothree.model.data.accounting.common.pk.GlAccountPK; 008import com.echothree.model.data.cancellationpolicy.common.pk.CancellationPolicyPK; 009import com.echothree.model.data.customer.common.pk.CustomerPK; 010import com.echothree.model.data.customer.common.pk.CustomerTypePK; 011import com.echothree.model.data.offer.common.pk.OfferUsePK; 012import com.echothree.model.data.party.common.pk.PartyPK; 013import com.echothree.model.data.returnpolicy.common.pk.ReturnPolicyPK; 014 015import org.jooq.Record1; 016import org.jooq.impl.UpdatableRecordImpl; 017 018 019/** 020 * This class is generated by jOOQ. 021 */ 022@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 023public class Customers extends UpdatableRecordImpl<Customers> { 024 025 private static final long serialVersionUID = 1L; 026 027 /** 028 * Setter for <code>customers.cu_customerid</code>. 029 */ 030 public void Customer(CustomerPK value) { 031 set(0, value); 032 } 033 034 /** 035 * Getter for <code>customers.cu_customerid</code>. 036 */ 037 public CustomerPK Customer() { 038 return (CustomerPK) get(0); 039 } 040 041 /** 042 * Setter for <code>customers.cu_par_partyid</code>. 043 */ 044 public void Party(PartyPK value) { 045 set(1, value); 046 } 047 048 /** 049 * Getter for <code>customers.cu_par_partyid</code>. 050 */ 051 public PartyPK Party() { 052 return (PartyPK) get(1); 053 } 054 055 /** 056 * Setter for <code>customers.cu_customername</code>. 057 */ 058 public void CustomerName(String value) { 059 set(2, value); 060 } 061 062 /** 063 * Getter for <code>customers.cu_customername</code>. 064 */ 065 public String CustomerName() { 066 return (String) get(2); 067 } 068 069 /** 070 * Setter for <code>customers.cu_cuty_customertypeid</code>. 071 */ 072 public void CustomerType(CustomerTypePK value) { 073 set(3, value); 074 } 075 076 /** 077 * Getter for <code>customers.cu_cuty_customertypeid</code>. 078 */ 079 public CustomerTypePK CustomerType() { 080 return (CustomerTypePK) get(3); 081 } 082 083 /** 084 * Setter for <code>customers.cu_initialofferuseid</code>. 085 */ 086 public void InitialOfferUse(OfferUsePK value) { 087 set(4, value); 088 } 089 090 /** 091 * Getter for <code>customers.cu_initialofferuseid</code>. 092 */ 093 public OfferUsePK InitialOfferUse() { 094 return (OfferUsePK) get(4); 095 } 096 097 /** 098 * Setter for <code>customers.cu_cnclplcy_cancellationpolicyid</code>. 099 */ 100 public void CancellationPolicy(CancellationPolicyPK value) { 101 set(5, value); 102 } 103 104 /** 105 * Getter for <code>customers.cu_cnclplcy_cancellationpolicyid</code>. 106 */ 107 public CancellationPolicyPK CancellationPolicy() { 108 return (CancellationPolicyPK) get(5); 109 } 110 111 /** 112 * Setter for <code>customers.cu_rtnplcy_returnpolicyid</code>. 113 */ 114 public void ReturnPolicy(ReturnPolicyPK value) { 115 set(6, value); 116 } 117 118 /** 119 * Getter for <code>customers.cu_rtnplcy_returnpolicyid</code>. 120 */ 121 public ReturnPolicyPK ReturnPolicy() { 122 return (ReturnPolicyPK) get(6); 123 } 124 125 /** 126 * Setter for <code>customers.cu_arglaccountid</code>. 127 */ 128 public void ArGlAccount(GlAccountPK value) { 129 set(7, value); 130 } 131 132 /** 133 * Getter for <code>customers.cu_arglaccountid</code>. 134 */ 135 public GlAccountPK ArGlAccount() { 136 return (GlAccountPK) get(7); 137 } 138 139 /** 140 * Setter for <code>customers.cu_holduntilcomplete</code>. 141 */ 142 public void HoldUntilComplete(Boolean value) { 143 set(8, value); 144 } 145 146 /** 147 * Getter for <code>customers.cu_holduntilcomplete</code>. 148 */ 149 public Boolean HoldUntilComplete() { 150 return (Boolean) get(8); 151 } 152 153 /** 154 * Setter for <code>customers.cu_allowbackorders</code>. 155 */ 156 public void AllowBackorders(Boolean value) { 157 set(9, value); 158 } 159 160 /** 161 * Getter for <code>customers.cu_allowbackorders</code>. 162 */ 163 public Boolean AllowBackorders() { 164 return (Boolean) get(9); 165 } 166 167 /** 168 * Setter for <code>customers.cu_allowsubstitutions</code>. 169 */ 170 public void AllowSubstitutions(Boolean value) { 171 set(10, value); 172 } 173 174 /** 175 * Getter for <code>customers.cu_allowsubstitutions</code>. 176 */ 177 public Boolean AllowSubstitutions() { 178 return (Boolean) get(10); 179 } 180 181 /** 182 * Setter for <code>customers.cu_allowcombiningshipments</code>. 183 */ 184 public void AllowCombiningShipments(Boolean value) { 185 set(11, value); 186 } 187 188 /** 189 * Getter for <code>customers.cu_allowcombiningshipments</code>. 190 */ 191 public Boolean AllowCombiningShipments() { 192 return (Boolean) get(11); 193 } 194 195 /** 196 * Setter for <code>customers.cu_requirereference</code>. 197 */ 198 public void RequireReference(Boolean value) { 199 set(12, value); 200 } 201 202 /** 203 * Getter for <code>customers.cu_requirereference</code>. 204 */ 205 public Boolean RequireReference() { 206 return (Boolean) get(12); 207 } 208 209 /** 210 * Setter for <code>customers.cu_allowreferenceduplicates</code>. 211 */ 212 public void AllowReferenceDuplicates(Boolean value) { 213 set(13, value); 214 } 215 216 /** 217 * Getter for <code>customers.cu_allowreferenceduplicates</code>. 218 */ 219 public Boolean AllowReferenceDuplicates() { 220 return (Boolean) get(13); 221 } 222 223 /** 224 * Setter for <code>customers.cu_referencevalidationpattern</code>. 225 */ 226 public void ReferenceValidationPattern(String value) { 227 set(14, value); 228 } 229 230 /** 231 * Getter for <code>customers.cu_referencevalidationpattern</code>. 232 */ 233 public String ReferenceValidationPattern() { 234 return (String) get(14); 235 } 236 237 /** 238 * Setter for <code>customers.cu_fromtime</code>. 239 */ 240 public void FromTime(Long value) { 241 set(15, value); 242 } 243 244 /** 245 * Getter for <code>customers.cu_fromtime</code>. 246 */ 247 public Long FromTime() { 248 return (Long) get(15); 249 } 250 251 /** 252 * Setter for <code>customers.cu_thrutime</code>. 253 */ 254 public void ThruTime(Long value) { 255 set(16, value); 256 } 257 258 /** 259 * Getter for <code>customers.cu_thrutime</code>. 260 */ 261 public Long ThruTime() { 262 return (Long) get(16); 263 } 264 265 // ------------------------------------------------------------------------- 266 // Primary key information 267 // ------------------------------------------------------------------------- 268 269 @Override 270 public Record1<CustomerPK> key() { 271 return (Record1) super.key(); 272 } 273 274 // ------------------------------------------------------------------------- 275 // Constructors 276 // ------------------------------------------------------------------------- 277 278 /** 279 * Create a detached Customers 280 */ 281 public Customers() { 282 super(com.echothree.model.jooq.server.tables.customer.Customers.Customers); 283 } 284 285 /** 286 * Create a detached, initialised Customers 287 */ 288 public Customers(CustomerPK Customer, PartyPK Party, String CustomerName, CustomerTypePK CustomerType, OfferUsePK InitialOfferUse, CancellationPolicyPK CancellationPolicy, ReturnPolicyPK ReturnPolicy, GlAccountPK ArGlAccount, Boolean HoldUntilComplete, Boolean AllowBackorders, Boolean AllowSubstitutions, Boolean AllowCombiningShipments, Boolean RequireReference, Boolean AllowReferenceDuplicates, String ReferenceValidationPattern, Long FromTime, Long ThruTime) { 289 super(com.echothree.model.jooq.server.tables.customer.Customers.Customers); 290 291 Customer(Customer); 292 Party(Party); 293 CustomerName(CustomerName); 294 CustomerType(CustomerType); 295 InitialOfferUse(InitialOfferUse); 296 CancellationPolicy(CancellationPolicy); 297 ReturnPolicy(ReturnPolicy); 298 ArGlAccount(ArGlAccount); 299 HoldUntilComplete(HoldUntilComplete); 300 AllowBackorders(AllowBackorders); 301 AllowSubstitutions(AllowSubstitutions); 302 AllowCombiningShipments(AllowCombiningShipments); 303 RequireReference(RequireReference); 304 AllowReferenceDuplicates(AllowReferenceDuplicates); 305 ReferenceValidationPattern(ReferenceValidationPattern); 306 FromTime(FromTime); 307 ThruTime(ThruTime); 308 resetTouchedOnNotNull(); 309 } 310}