001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.item;
005
006
007import com.echothree.model.data.accounting.common.pk.ItemAccountingCategoryPK;
008import com.echothree.model.data.cancellationpolicy.common.pk.CancellationPolicyPK;
009import com.echothree.model.data.item.common.pk.ItemCategoryPK;
010import com.echothree.model.data.item.common.pk.ItemDeliveryTypePK;
011import com.echothree.model.data.item.common.pk.ItemDetailPK;
012import com.echothree.model.data.item.common.pk.ItemInventoryTypePK;
013import com.echothree.model.data.item.common.pk.ItemPK;
014import com.echothree.model.data.item.common.pk.ItemPriceTypePK;
015import com.echothree.model.data.item.common.pk.ItemTypePK;
016import com.echothree.model.data.item.common.pk.ItemUseTypePK;
017import com.echothree.model.data.party.common.pk.PartyPK;
018import com.echothree.model.data.returnpolicy.common.pk.ReturnPolicyPK;
019import com.echothree.model.data.sequence.common.pk.SequencePK;
020import com.echothree.model.data.style.common.pk.StylePathPK;
021import com.echothree.model.data.uom.common.pk.UnitOfMeasureKindPK;
022import com.echothree.model.data.vendor.common.pk.ItemPurchasingCategoryPK;
023
024import org.jooq.Record1;
025import org.jooq.impl.UpdatableRecordImpl;
026
027
028/**
029 * This class is generated by jOOQ.
030 */
031@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
032public class ItemDetails extends UpdatableRecordImpl<ItemDetails> {
033
034    private static final long serialVersionUID = 1L;
035
036    /**
037     * Setter for <code>itemdetails.itmdt_itemdetailid</code>.
038     */
039    public void ItemDetail(ItemDetailPK value) {
040        set(0, value);
041    }
042
043    /**
044     * Getter for <code>itemdetails.itmdt_itemdetailid</code>.
045     */
046    public ItemDetailPK ItemDetail() {
047        return (ItemDetailPK) get(0);
048    }
049
050    /**
051     * Setter for <code>itemdetails.itmdt_itm_itemid</code>.
052     */
053    public void Item(ItemPK value) {
054        set(1, value);
055    }
056
057    /**
058     * Getter for <code>itemdetails.itmdt_itm_itemid</code>.
059     */
060    public ItemPK Item() {
061        return (ItemPK) get(1);
062    }
063
064    /**
065     * Setter for <code>itemdetails.itmdt_itemname</code>.
066     */
067    public void ItemName(String value) {
068        set(2, value);
069    }
070
071    /**
072     * Getter for <code>itemdetails.itmdt_itemname</code>.
073     */
074    public String ItemName() {
075        return (String) get(2);
076    }
077
078    /**
079     * Setter for <code>itemdetails.itmdt_ityp_itemtypeid</code>.
080     */
081    public void ItemType(ItemTypePK value) {
082        set(3, value);
083    }
084
085    /**
086     * Getter for <code>itemdetails.itmdt_ityp_itemtypeid</code>.
087     */
088    public ItemTypePK ItemType() {
089        return (ItemTypePK) get(3);
090    }
091
092    /**
093     * Setter for <code>itemdetails.itmdt_iutyp_itemusetypeid</code>.
094     */
095    public void ItemUseType(ItemUseTypePK value) {
096        set(4, value);
097    }
098
099    /**
100     * Getter for <code>itemdetails.itmdt_iutyp_itemusetypeid</code>.
101     */
102    public ItemUseTypePK ItemUseType() {
103        return (ItemUseTypePK) get(4);
104    }
105
106    /**
107     * Setter for <code>itemdetails.itmdt_ic_itemcategoryid</code>.
108     */
109    public void ItemCategory(ItemCategoryPK value) {
110        set(5, value);
111    }
112
113    /**
114     * Getter for <code>itemdetails.itmdt_ic_itemcategoryid</code>.
115     */
116    public ItemCategoryPK ItemCategory() {
117        return (ItemCategoryPK) get(5);
118    }
119
120    /**
121     * Setter for
122     * <code>itemdetails.itmdt_iactgc_itemaccountingcategoryid</code>.
123     */
124    public void ItemAccountingCategory(ItemAccountingCategoryPK value) {
125        set(6, value);
126    }
127
128    /**
129     * Getter for
130     * <code>itemdetails.itmdt_iactgc_itemaccountingcategoryid</code>.
131     */
132    public ItemAccountingCategoryPK ItemAccountingCategory() {
133        return (ItemAccountingCategoryPK) get(6);
134    }
135
136    /**
137     * Setter for
138     * <code>itemdetails.itmdt_iprchc_itempurchasingcategoryid</code>.
139     */
140    public void ItemPurchasingCategory(ItemPurchasingCategoryPK value) {
141        set(7, value);
142    }
143
144    /**
145     * Getter for
146     * <code>itemdetails.itmdt_iprchc_itempurchasingcategoryid</code>.
147     */
148    public ItemPurchasingCategoryPK ItemPurchasingCategory() {
149        return (ItemPurchasingCategoryPK) get(7);
150    }
151
152    /**
153     * Setter for <code>itemdetails.itmdt_companypartyid</code>.
154     */
155    public void CompanyParty(PartyPK value) {
156        set(8, value);
157    }
158
159    /**
160     * Getter for <code>itemdetails.itmdt_companypartyid</code>.
161     */
162    public PartyPK CompanyParty() {
163        return (PartyPK) get(8);
164    }
165
166    /**
167     * Setter for <code>itemdetails.itmdt_idlvrtyp_itemdeliverytypeid</code>.
168     */
169    public void ItemDeliveryType(ItemDeliveryTypePK value) {
170        set(9, value);
171    }
172
173    /**
174     * Getter for <code>itemdetails.itmdt_idlvrtyp_itemdeliverytypeid</code>.
175     */
176    public ItemDeliveryTypePK ItemDeliveryType() {
177        return (ItemDeliveryTypePK) get(9);
178    }
179
180    /**
181     * Setter for <code>itemdetails.itmdt_iinvtyp_iteminventorytypeid</code>.
182     */
183    public void ItemInventoryType(ItemInventoryTypePK value) {
184        set(10, value);
185    }
186
187    /**
188     * Getter for <code>itemdetails.itmdt_iinvtyp_iteminventorytypeid</code>.
189     */
190    public ItemInventoryTypePK ItemInventoryType() {
191        return (ItemInventoryTypePK) get(10);
192    }
193
194    /**
195     * Setter for <code>itemdetails.itmdt_inventoryserialized</code>.
196     */
197    public void InventorySerialized(Boolean value) {
198        set(11, value);
199    }
200
201    /**
202     * Getter for <code>itemdetails.itmdt_inventoryserialized</code>.
203     */
204    public Boolean InventorySerialized() {
205        return (Boolean) get(11);
206    }
207
208    /**
209     * Setter for <code>itemdetails.itmdt_serialnumbersequenceid</code>.
210     */
211    public void SerialNumberSequence(SequencePK value) {
212        set(12, value);
213    }
214
215    /**
216     * Getter for <code>itemdetails.itmdt_serialnumbersequenceid</code>.
217     */
218    public SequencePK SerialNumberSequence() {
219        return (SequencePK) get(12);
220    }
221
222    /**
223     * Setter for <code>itemdetails.itmdt_shippingchargeexempt</code>.
224     */
225    public void ShippingChargeExempt(Boolean value) {
226        set(13, value);
227    }
228
229    /**
230     * Getter for <code>itemdetails.itmdt_shippingchargeexempt</code>.
231     */
232    public Boolean ShippingChargeExempt() {
233        return (Boolean) get(13);
234    }
235
236    /**
237     * Setter for <code>itemdetails.itmdt_shippingstarttime</code>.
238     */
239    public void ShippingStartTime(Long value) {
240        set(14, value);
241    }
242
243    /**
244     * Getter for <code>itemdetails.itmdt_shippingstarttime</code>.
245     */
246    public Long ShippingStartTime() {
247        return (Long) get(14);
248    }
249
250    /**
251     * Setter for <code>itemdetails.itmdt_shippingendtime</code>.
252     */
253    public void ShippingEndTime(Long value) {
254        set(15, value);
255    }
256
257    /**
258     * Getter for <code>itemdetails.itmdt_shippingendtime</code>.
259     */
260    public Long ShippingEndTime() {
261        return (Long) get(15);
262    }
263
264    /**
265     * Setter for <code>itemdetails.itmdt_salesorderstarttime</code>.
266     */
267    public void SalesOrderStartTime(Long value) {
268        set(16, value);
269    }
270
271    /**
272     * Getter for <code>itemdetails.itmdt_salesorderstarttime</code>.
273     */
274    public Long SalesOrderStartTime() {
275        return (Long) get(16);
276    }
277
278    /**
279     * Setter for <code>itemdetails.itmdt_salesorderendtime</code>.
280     */
281    public void SalesOrderEndTime(Long value) {
282        set(17, value);
283    }
284
285    /**
286     * Getter for <code>itemdetails.itmdt_salesorderendtime</code>.
287     */
288    public Long SalesOrderEndTime() {
289        return (Long) get(17);
290    }
291
292    /**
293     * Setter for <code>itemdetails.itmdt_purchaseorderstarttime</code>.
294     */
295    public void PurchaseOrderStartTime(Long value) {
296        set(18, value);
297    }
298
299    /**
300     * Getter for <code>itemdetails.itmdt_purchaseorderstarttime</code>.
301     */
302    public Long PurchaseOrderStartTime() {
303        return (Long) get(18);
304    }
305
306    /**
307     * Setter for <code>itemdetails.itmdt_purchaseorderendtime</code>.
308     */
309    public void PurchaseOrderEndTime(Long value) {
310        set(19, value);
311    }
312
313    /**
314     * Getter for <code>itemdetails.itmdt_purchaseorderendtime</code>.
315     */
316    public Long PurchaseOrderEndTime() {
317        return (Long) get(19);
318    }
319
320    /**
321     * Setter for <code>itemdetails.itmdt_allowclubdiscounts</code>.
322     */
323    public void AllowClubDiscounts(Boolean value) {
324        set(20, value);
325    }
326
327    /**
328     * Getter for <code>itemdetails.itmdt_allowclubdiscounts</code>.
329     */
330    public Boolean AllowClubDiscounts() {
331        return (Boolean) get(20);
332    }
333
334    /**
335     * Setter for <code>itemdetails.itmdt_allowcoupondiscounts</code>.
336     */
337    public void AllowCouponDiscounts(Boolean value) {
338        set(21, value);
339    }
340
341    /**
342     * Getter for <code>itemdetails.itmdt_allowcoupondiscounts</code>.
343     */
344    public Boolean AllowCouponDiscounts() {
345        return (Boolean) get(21);
346    }
347
348    /**
349     * Setter for <code>itemdetails.itmdt_allowassociatepayments</code>.
350     */
351    public void AllowAssociatePayments(Boolean value) {
352        set(22, value);
353    }
354
355    /**
356     * Getter for <code>itemdetails.itmdt_allowassociatepayments</code>.
357     */
358    public Boolean AllowAssociatePayments() {
359        return (Boolean) get(22);
360    }
361
362    /**
363     * Setter for <code>itemdetails.itmdt_uomk_unitofmeasurekindid</code>.
364     */
365    public void UnitOfMeasureKind(UnitOfMeasureKindPK value) {
366        set(23, value);
367    }
368
369    /**
370     * Getter for <code>itemdetails.itmdt_uomk_unitofmeasurekindid</code>.
371     */
372    public UnitOfMeasureKindPK UnitOfMeasureKind() {
373        return (UnitOfMeasureKindPK) get(23);
374    }
375
376    /**
377     * Setter for <code>itemdetails.itmdt_ipt_itempricetypeid</code>.
378     */
379    public void ItemPriceType(ItemPriceTypePK value) {
380        set(24, value);
381    }
382
383    /**
384     * Getter for <code>itemdetails.itmdt_ipt_itempricetypeid</code>.
385     */
386    public ItemPriceTypePK ItemPriceType() {
387        return (ItemPriceTypePK) get(24);
388    }
389
390    /**
391     * Setter for <code>itemdetails.itmdt_cnclplcy_cancellationpolicyid</code>.
392     */
393    public void CancellationPolicy(CancellationPolicyPK value) {
394        set(25, value);
395    }
396
397    /**
398     * Getter for <code>itemdetails.itmdt_cnclplcy_cancellationpolicyid</code>.
399     */
400    public CancellationPolicyPK CancellationPolicy() {
401        return (CancellationPolicyPK) get(25);
402    }
403
404    /**
405     * Setter for <code>itemdetails.itmdt_rtnplcy_returnpolicyid</code>.
406     */
407    public void ReturnPolicy(ReturnPolicyPK value) {
408        set(26, value);
409    }
410
411    /**
412     * Getter for <code>itemdetails.itmdt_rtnplcy_returnpolicyid</code>.
413     */
414    public ReturnPolicyPK ReturnPolicy() {
415        return (ReturnPolicyPK) get(26);
416    }
417
418    /**
419     * Setter for <code>itemdetails.itmdt_stylpth_stylepathid</code>.
420     */
421    public void StylePath(StylePathPK value) {
422        set(27, value);
423    }
424
425    /**
426     * Getter for <code>itemdetails.itmdt_stylpth_stylepathid</code>.
427     */
428    public StylePathPK StylePath() {
429        return (StylePathPK) get(27);
430    }
431
432    /**
433     * Setter for <code>itemdetails.itmdt_fromtime</code>.
434     */
435    public void FromTime(Long value) {
436        set(28, value);
437    }
438
439    /**
440     * Getter for <code>itemdetails.itmdt_fromtime</code>.
441     */
442    public Long FromTime() {
443        return (Long) get(28);
444    }
445
446    /**
447     * Setter for <code>itemdetails.itmdt_thrutime</code>.
448     */
449    public void ThruTime(Long value) {
450        set(29, value);
451    }
452
453    /**
454     * Getter for <code>itemdetails.itmdt_thrutime</code>.
455     */
456    public Long ThruTime() {
457        return (Long) get(29);
458    }
459
460    // -------------------------------------------------------------------------
461    // Primary key information
462    // -------------------------------------------------------------------------
463
464    @Override
465    public Record1<ItemDetailPK> key() {
466        return (Record1) super.key();
467    }
468
469    // -------------------------------------------------------------------------
470    // Constructors
471    // -------------------------------------------------------------------------
472
473    /**
474     * Create a detached ItemDetails
475     */
476    public ItemDetails() {
477        super(com.echothree.model.jooq.server.tables.item.ItemDetails.ItemDetails);
478    }
479
480    /**
481     * Create a detached, initialised ItemDetails
482     */
483    public ItemDetails(ItemDetailPK ItemDetail, ItemPK Item, String ItemName, ItemTypePK ItemType, ItemUseTypePK ItemUseType, ItemCategoryPK ItemCategory, ItemAccountingCategoryPK ItemAccountingCategory, ItemPurchasingCategoryPK ItemPurchasingCategory, PartyPK CompanyParty, ItemDeliveryTypePK ItemDeliveryType, ItemInventoryTypePK ItemInventoryType, Boolean InventorySerialized, SequencePK SerialNumberSequence, Boolean ShippingChargeExempt, Long ShippingStartTime, Long ShippingEndTime, Long SalesOrderStartTime, Long SalesOrderEndTime, Long PurchaseOrderStartTime, Long PurchaseOrderEndTime, Boolean AllowClubDiscounts, Boolean AllowCouponDiscounts, Boolean AllowAssociatePayments, UnitOfMeasureKindPK UnitOfMeasureKind, ItemPriceTypePK ItemPriceType, CancellationPolicyPK CancellationPolicy, ReturnPolicyPK ReturnPolicy, StylePathPK StylePath, Long FromTime, Long ThruTime) {
484        super(com.echothree.model.jooq.server.tables.item.ItemDetails.ItemDetails);
485
486        ItemDetail(ItemDetail);
487        Item(Item);
488        ItemName(ItemName);
489        ItemType(ItemType);
490        ItemUseType(ItemUseType);
491        ItemCategory(ItemCategory);
492        ItemAccountingCategory(ItemAccountingCategory);
493        ItemPurchasingCategory(ItemPurchasingCategory);
494        CompanyParty(CompanyParty);
495        ItemDeliveryType(ItemDeliveryType);
496        ItemInventoryType(ItemInventoryType);
497        InventorySerialized(InventorySerialized);
498        SerialNumberSequence(SerialNumberSequence);
499        ShippingChargeExempt(ShippingChargeExempt);
500        ShippingStartTime(ShippingStartTime);
501        ShippingEndTime(ShippingEndTime);
502        SalesOrderStartTime(SalesOrderStartTime);
503        SalesOrderEndTime(SalesOrderEndTime);
504        PurchaseOrderStartTime(PurchaseOrderStartTime);
505        PurchaseOrderEndTime(PurchaseOrderEndTime);
506        AllowClubDiscounts(AllowClubDiscounts);
507        AllowCouponDiscounts(AllowCouponDiscounts);
508        AllowAssociatePayments(AllowAssociatePayments);
509        UnitOfMeasureKind(UnitOfMeasureKind);
510        ItemPriceType(ItemPriceType);
511        CancellationPolicy(CancellationPolicy);
512        ReturnPolicy(ReturnPolicy);
513        StylePath(StylePath);
514        FromTime(FromTime);
515        ThruTime(ThruTime);
516        resetTouchedOnNotNull();
517    }
518}