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