001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.tax;
005
006
007import com.echothree.model.data.accounting.common.pk.GlAccountPK;
008import com.echothree.model.data.contact.common.pk.ContactMechanismPurposePK;
009import com.echothree.model.data.tax.common.pk.TaxDetailPK;
010import com.echothree.model.data.tax.common.pk.TaxPK;
011
012import org.jooq.Record1;
013import org.jooq.impl.UpdatableRecordImpl;
014
015
016/**
017 * This class is generated by jOOQ.
018 */
019@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
020public class TaxDetails extends UpdatableRecordImpl<TaxDetails> {
021
022    private static final long serialVersionUID = 1L;
023
024    /**
025     * Setter for <code>taxdetails.txdt_taxdetailid</code>.
026     */
027    public void TaxDetail(TaxDetailPK value) {
028        set(0, value);
029    }
030
031    /**
032     * Getter for <code>taxdetails.txdt_taxdetailid</code>.
033     */
034    public TaxDetailPK TaxDetail() {
035        return (TaxDetailPK) get(0);
036    }
037
038    /**
039     * Setter for <code>taxdetails.txdt_tx_taxid</code>.
040     */
041    public void Tax(TaxPK value) {
042        set(1, value);
043    }
044
045    /**
046     * Getter for <code>taxdetails.txdt_tx_taxid</code>.
047     */
048    public TaxPK Tax() {
049        return (TaxPK) get(1);
050    }
051
052    /**
053     * Setter for <code>taxdetails.txdt_taxname</code>.
054     */
055    public void TaxName(String value) {
056        set(2, value);
057    }
058
059    /**
060     * Getter for <code>taxdetails.txdt_taxname</code>.
061     */
062    public String TaxName() {
063        return (String) get(2);
064    }
065
066    /**
067     * Setter for <code>taxdetails.txdt_cmpr_contactmechanismpurposeid</code>.
068     */
069    public void ContactMechanismPurpose(ContactMechanismPurposePK value) {
070        set(3, value);
071    }
072
073    /**
074     * Getter for <code>taxdetails.txdt_cmpr_contactmechanismpurposeid</code>.
075     */
076    public ContactMechanismPurposePK ContactMechanismPurpose() {
077        return (ContactMechanismPurposePK) get(3);
078    }
079
080    /**
081     * Setter for <code>taxdetails.txdt_gla_glaccountid</code>.
082     */
083    public void GlAccount(GlAccountPK value) {
084        set(4, value);
085    }
086
087    /**
088     * Getter for <code>taxdetails.txdt_gla_glaccountid</code>.
089     */
090    public GlAccountPK GlAccount() {
091        return (GlAccountPK) get(4);
092    }
093
094    /**
095     * Setter for <code>taxdetails.txdt_includeshippingcharge</code>.
096     */
097    public void IncludeShippingCharge(Boolean value) {
098        set(5, value);
099    }
100
101    /**
102     * Getter for <code>taxdetails.txdt_includeshippingcharge</code>.
103     */
104    public Boolean IncludeShippingCharge() {
105        return (Boolean) get(5);
106    }
107
108    /**
109     * Setter for <code>taxdetails.txdt_includeprocessingcharge</code>.
110     */
111    public void IncludeProcessingCharge(Boolean value) {
112        set(6, value);
113    }
114
115    /**
116     * Getter for <code>taxdetails.txdt_includeprocessingcharge</code>.
117     */
118    public Boolean IncludeProcessingCharge() {
119        return (Boolean) get(6);
120    }
121
122    /**
123     * Setter for <code>taxdetails.txdt_includeinsurancecharge</code>.
124     */
125    public void IncludeInsuranceCharge(Boolean value) {
126        set(7, value);
127    }
128
129    /**
130     * Getter for <code>taxdetails.txdt_includeinsurancecharge</code>.
131     */
132    public Boolean IncludeInsuranceCharge() {
133        return (Boolean) get(7);
134    }
135
136    /**
137     * Setter for <code>taxdetails.txdt_percent</code>.
138     */
139    public void Percent(Integer value) {
140        set(8, value);
141    }
142
143    /**
144     * Getter for <code>taxdetails.txdt_percent</code>.
145     */
146    public Integer Percent() {
147        return (Integer) get(8);
148    }
149
150    /**
151     * Setter for <code>taxdetails.txdt_isdefault</code>.
152     */
153    public void IsDefault(Boolean value) {
154        set(9, value);
155    }
156
157    /**
158     * Getter for <code>taxdetails.txdt_isdefault</code>.
159     */
160    public Boolean IsDefault() {
161        return (Boolean) get(9);
162    }
163
164    /**
165     * Setter for <code>taxdetails.txdt_sortorder</code>.
166     */
167    public void SortOrder(Integer value) {
168        set(10, value);
169    }
170
171    /**
172     * Getter for <code>taxdetails.txdt_sortorder</code>.
173     */
174    public Integer SortOrder() {
175        return (Integer) get(10);
176    }
177
178    /**
179     * Setter for <code>taxdetails.txdt_fromtime</code>.
180     */
181    public void FromTime(Long value) {
182        set(11, value);
183    }
184
185    /**
186     * Getter for <code>taxdetails.txdt_fromtime</code>.
187     */
188    public Long FromTime() {
189        return (Long) get(11);
190    }
191
192    /**
193     * Setter for <code>taxdetails.txdt_thrutime</code>.
194     */
195    public void ThruTime(Long value) {
196        set(12, value);
197    }
198
199    /**
200     * Getter for <code>taxdetails.txdt_thrutime</code>.
201     */
202    public Long ThruTime() {
203        return (Long) get(12);
204    }
205
206    // -------------------------------------------------------------------------
207    // Primary key information
208    // -------------------------------------------------------------------------
209
210    @Override
211    public Record1<TaxDetailPK> key() {
212        return (Record1) super.key();
213    }
214
215    // -------------------------------------------------------------------------
216    // Constructors
217    // -------------------------------------------------------------------------
218
219    /**
220     * Create a detached TaxDetails
221     */
222    public TaxDetails() {
223        super(com.echothree.model.jooq.server.tables.tax.TaxDetails.TaxDetails);
224    }
225
226    /**
227     * Create a detached, initialised TaxDetails
228     */
229    public TaxDetails(TaxDetailPK TaxDetail, TaxPK Tax, String TaxName, ContactMechanismPurposePK ContactMechanismPurpose, GlAccountPK GlAccount, Boolean IncludeShippingCharge, Boolean IncludeProcessingCharge, Boolean IncludeInsuranceCharge, Integer Percent, Boolean IsDefault, Integer SortOrder, Long FromTime, Long ThruTime) {
230        super(com.echothree.model.jooq.server.tables.tax.TaxDetails.TaxDetails);
231
232        TaxDetail(TaxDetail);
233        Tax(Tax);
234        TaxName(TaxName);
235        ContactMechanismPurpose(ContactMechanismPurpose);
236        GlAccount(GlAccount);
237        IncludeShippingCharge(IncludeShippingCharge);
238        IncludeProcessingCharge(IncludeProcessingCharge);
239        IncludeInsuranceCharge(IncludeInsuranceCharge);
240        Percent(Percent);
241        IsDefault(IsDefault);
242        SortOrder(SortOrder);
243        FromTime(FromTime);
244        ThruTime(ThruTime);
245        resetTouchedOnNotNull();
246    }
247}