001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.tax;
005
006
007import com.echothree.model.data.geo.common.pk.GeoCodePK;
008import com.echothree.model.data.item.common.pk.ItemPK;
009import com.echothree.model.data.tax.common.pk.ItemTaxClassificationDetailPK;
010import com.echothree.model.data.tax.common.pk.ItemTaxClassificationPK;
011import com.echothree.model.data.tax.common.pk.TaxClassificationPK;
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 ItemTaxClassificationDetails extends UpdatableRecordImpl<ItemTaxClassificationDetails> {
022
023    private static final long serialVersionUID = 1L;
024
025    /**
026     * Setter for
027     * <code>itemtaxclassificationdetails.itmtxclsfndt_itemtaxclassificationdetailid</code>.
028     */
029    public void ItemTaxClassificationDetail(ItemTaxClassificationDetailPK value) {
030        set(0, value);
031    }
032
033    /**
034     * Getter for
035     * <code>itemtaxclassificationdetails.itmtxclsfndt_itemtaxclassificationdetailid</code>.
036     */
037    public ItemTaxClassificationDetailPK ItemTaxClassificationDetail() {
038        return (ItemTaxClassificationDetailPK) get(0);
039    }
040
041    /**
042     * Setter for
043     * <code>itemtaxclassificationdetails.itmtxclsfndt_itmtxclsfn_itemtaxclassificationid</code>.
044     */
045    public void ItemTaxClassification(ItemTaxClassificationPK value) {
046        set(1, value);
047    }
048
049    /**
050     * Getter for
051     * <code>itemtaxclassificationdetails.itmtxclsfndt_itmtxclsfn_itemtaxclassificationid</code>.
052     */
053    public ItemTaxClassificationPK ItemTaxClassification() {
054        return (ItemTaxClassificationPK) get(1);
055    }
056
057    /**
058     * Setter for
059     * <code>itemtaxclassificationdetails.itmtxclsfndt_itm_itemid</code>.
060     */
061    public void Item(ItemPK value) {
062        set(2, value);
063    }
064
065    /**
066     * Getter for
067     * <code>itemtaxclassificationdetails.itmtxclsfndt_itm_itemid</code>.
068     */
069    public ItemPK Item() {
070        return (ItemPK) get(2);
071    }
072
073    /**
074     * Setter for
075     * <code>itemtaxclassificationdetails.itmtxclsfndt_countrygeocodeid</code>.
076     */
077    public void CountryGeoCode(GeoCodePK value) {
078        set(3, value);
079    }
080
081    /**
082     * Getter for
083     * <code>itemtaxclassificationdetails.itmtxclsfndt_countrygeocodeid</code>.
084     */
085    public GeoCodePK CountryGeoCode() {
086        return (GeoCodePK) get(3);
087    }
088
089    /**
090     * Setter for
091     * <code>itemtaxclassificationdetails.itmtxclsfndt_txclsfn_taxclassificationid</code>.
092     */
093    public void TaxClassification(TaxClassificationPK value) {
094        set(4, value);
095    }
096
097    /**
098     * Getter for
099     * <code>itemtaxclassificationdetails.itmtxclsfndt_txclsfn_taxclassificationid</code>.
100     */
101    public TaxClassificationPK TaxClassification() {
102        return (TaxClassificationPK) get(4);
103    }
104
105    /**
106     * Setter for
107     * <code>itemtaxclassificationdetails.itmtxclsfndt_fromtime</code>.
108     */
109    public void FromTime(Long value) {
110        set(5, value);
111    }
112
113    /**
114     * Getter for
115     * <code>itemtaxclassificationdetails.itmtxclsfndt_fromtime</code>.
116     */
117    public Long FromTime() {
118        return (Long) get(5);
119    }
120
121    /**
122     * Setter for
123     * <code>itemtaxclassificationdetails.itmtxclsfndt_thrutime</code>.
124     */
125    public void ThruTime(Long value) {
126        set(6, value);
127    }
128
129    /**
130     * Getter for
131     * <code>itemtaxclassificationdetails.itmtxclsfndt_thrutime</code>.
132     */
133    public Long ThruTime() {
134        return (Long) get(6);
135    }
136
137    // -------------------------------------------------------------------------
138    // Primary key information
139    // -------------------------------------------------------------------------
140
141    @Override
142    public Record1<ItemTaxClassificationDetailPK> key() {
143        return (Record1) super.key();
144    }
145
146    // -------------------------------------------------------------------------
147    // Constructors
148    // -------------------------------------------------------------------------
149
150    /**
151     * Create a detached ItemTaxClassificationDetails
152     */
153    public ItemTaxClassificationDetails() {
154        super(com.echothree.model.jooq.server.tables.tax.ItemTaxClassificationDetails.ItemTaxClassificationDetails);
155    }
156
157    /**
158     * Create a detached, initialised ItemTaxClassificationDetails
159     */
160    public ItemTaxClassificationDetails(ItemTaxClassificationDetailPK ItemTaxClassificationDetail, ItemTaxClassificationPK ItemTaxClassification, ItemPK Item, GeoCodePK CountryGeoCode, TaxClassificationPK TaxClassification, Long FromTime, Long ThruTime) {
161        super(com.echothree.model.jooq.server.tables.tax.ItemTaxClassificationDetails.ItemTaxClassificationDetails);
162
163        ItemTaxClassificationDetail(ItemTaxClassificationDetail);
164        ItemTaxClassification(ItemTaxClassification);
165        Item(Item);
166        CountryGeoCode(CountryGeoCode);
167        TaxClassification(TaxClassification);
168        FromTime(FromTime);
169        ThruTime(ThruTime);
170        resetTouchedOnNotNull();
171    }
172}