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.tax.common.pk.TaxClassificationDetailPK;
009import com.echothree.model.data.tax.common.pk.TaxClassificationPK;
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 TaxClassificationDetails extends UpdatableRecordImpl<TaxClassificationDetails> {
020
021    private static final long serialVersionUID = 1L;
022
023    /**
024     * Setter for
025     * <code>taxclassificationdetails.txclsfndt_taxclassificationdetailid</code>.
026     */
027    public void TaxClassificationDetail(TaxClassificationDetailPK value) {
028        set(0, value);
029    }
030
031    /**
032     * Getter for
033     * <code>taxclassificationdetails.txclsfndt_taxclassificationdetailid</code>.
034     */
035    public TaxClassificationDetailPK TaxClassificationDetail() {
036        return (TaxClassificationDetailPK) get(0);
037    }
038
039    /**
040     * Setter for
041     * <code>taxclassificationdetails.txclsfndt_txclsfn_taxclassificationid</code>.
042     */
043    public void TaxClassification(TaxClassificationPK value) {
044        set(1, value);
045    }
046
047    /**
048     * Getter for
049     * <code>taxclassificationdetails.txclsfndt_txclsfn_taxclassificationid</code>.
050     */
051    public TaxClassificationPK TaxClassification() {
052        return (TaxClassificationPK) get(1);
053    }
054
055    /**
056     * Setter for
057     * <code>taxclassificationdetails.txclsfndt_countrygeocodeid</code>.
058     */
059    public void CountryGeoCode(GeoCodePK value) {
060        set(2, value);
061    }
062
063    /**
064     * Getter for
065     * <code>taxclassificationdetails.txclsfndt_countrygeocodeid</code>.
066     */
067    public GeoCodePK CountryGeoCode() {
068        return (GeoCodePK) get(2);
069    }
070
071    /**
072     * Setter for
073     * <code>taxclassificationdetails.txclsfndt_taxclassificationname</code>.
074     */
075    public void TaxClassificationName(String value) {
076        set(3, value);
077    }
078
079    /**
080     * Getter for
081     * <code>taxclassificationdetails.txclsfndt_taxclassificationname</code>.
082     */
083    public String TaxClassificationName() {
084        return (String) get(3);
085    }
086
087    /**
088     * Setter for <code>taxclassificationdetails.txclsfndt_isdefault</code>.
089     */
090    public void IsDefault(Boolean value) {
091        set(4, value);
092    }
093
094    /**
095     * Getter for <code>taxclassificationdetails.txclsfndt_isdefault</code>.
096     */
097    public Boolean IsDefault() {
098        return (Boolean) get(4);
099    }
100
101    /**
102     * Setter for <code>taxclassificationdetails.txclsfndt_sortorder</code>.
103     */
104    public void SortOrder(Integer value) {
105        set(5, value);
106    }
107
108    /**
109     * Getter for <code>taxclassificationdetails.txclsfndt_sortorder</code>.
110     */
111    public Integer SortOrder() {
112        return (Integer) get(5);
113    }
114
115    /**
116     * Setter for <code>taxclassificationdetails.txclsfndt_fromtime</code>.
117     */
118    public void FromTime(Long value) {
119        set(6, value);
120    }
121
122    /**
123     * Getter for <code>taxclassificationdetails.txclsfndt_fromtime</code>.
124     */
125    public Long FromTime() {
126        return (Long) get(6);
127    }
128
129    /**
130     * Setter for <code>taxclassificationdetails.txclsfndt_thrutime</code>.
131     */
132    public void ThruTime(Long value) {
133        set(7, value);
134    }
135
136    /**
137     * Getter for <code>taxclassificationdetails.txclsfndt_thrutime</code>.
138     */
139    public Long ThruTime() {
140        return (Long) get(7);
141    }
142
143    // -------------------------------------------------------------------------
144    // Primary key information
145    // -------------------------------------------------------------------------
146
147    @Override
148    public Record1<TaxClassificationDetailPK> key() {
149        return (Record1) super.key();
150    }
151
152    // -------------------------------------------------------------------------
153    // Constructors
154    // -------------------------------------------------------------------------
155
156    /**
157     * Create a detached TaxClassificationDetails
158     */
159    public TaxClassificationDetails() {
160        super(com.echothree.model.jooq.server.tables.tax.TaxClassificationDetails.TaxClassificationDetails);
161    }
162
163    /**
164     * Create a detached, initialised TaxClassificationDetails
165     */
166    public TaxClassificationDetails(TaxClassificationDetailPK TaxClassificationDetail, TaxClassificationPK TaxClassification, GeoCodePK CountryGeoCode, String TaxClassificationName, Boolean IsDefault, Integer SortOrder, Long FromTime, Long ThruTime) {
167        super(com.echothree.model.jooq.server.tables.tax.TaxClassificationDetails.TaxClassificationDetails);
168
169        TaxClassificationDetail(TaxClassificationDetail);
170        TaxClassification(TaxClassification);
171        CountryGeoCode(CountryGeoCode);
172        TaxClassificationName(TaxClassificationName);
173        IsDefault(IsDefault);
174        SortOrder(SortOrder);
175        FromTime(FromTime);
176        ThruTime(ThruTime);
177        resetTouchedOnNotNull();
178    }
179}