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.GlAccountCategoryPK;
009import com.echothree.model.data.accounting.common.pk.GlAccountClassPK;
010import com.echothree.model.data.accounting.common.pk.GlAccountDetailPK;
011import com.echothree.model.data.accounting.common.pk.GlAccountPK;
012import com.echothree.model.data.accounting.common.pk.GlAccountTypePK;
013import com.echothree.model.data.accounting.common.pk.GlResourceTypePK;
014
015import org.jooq.Record1;
016import org.jooq.impl.UpdatableRecordImpl;
017
018
019/**
020 * This class is generated by jOOQ.
021 */
022@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
023public class GlAccountDetails extends UpdatableRecordImpl<GlAccountDetails> {
024
025    private static final long serialVersionUID = 1L;
026
027    /**
028     * Setter for <code>glaccountdetails.gladt_glaccountdetailid</code>.
029     */
030    public void GlAccountDetail(GlAccountDetailPK value) {
031        set(0, value);
032    }
033
034    /**
035     * Getter for <code>glaccountdetails.gladt_glaccountdetailid</code>.
036     */
037    public GlAccountDetailPK GlAccountDetail() {
038        return (GlAccountDetailPK) get(0);
039    }
040
041    /**
042     * Setter for <code>glaccountdetails.gladt_gla_glaccountid</code>.
043     */
044    public void GlAccount(GlAccountPK value) {
045        set(1, value);
046    }
047
048    /**
049     * Getter for <code>glaccountdetails.gladt_gla_glaccountid</code>.
050     */
051    public GlAccountPK GlAccount() {
052        return (GlAccountPK) get(1);
053    }
054
055    /**
056     * Setter for <code>glaccountdetails.gladt_glaccountname</code>.
057     */
058    public void GlAccountName(String value) {
059        set(2, value);
060    }
061
062    /**
063     * Getter for <code>glaccountdetails.gladt_glaccountname</code>.
064     */
065    public String GlAccountName() {
066        return (String) get(2);
067    }
068
069    /**
070     * Setter for <code>glaccountdetails.gladt_parentglaccountid</code>.
071     */
072    public void ParentGlAccount(GlAccountPK value) {
073        set(3, value);
074    }
075
076    /**
077     * Getter for <code>glaccountdetails.gladt_parentglaccountid</code>.
078     */
079    public GlAccountPK ParentGlAccount() {
080        return (GlAccountPK) get(3);
081    }
082
083    /**
084     * Setter for <code>glaccountdetails.gladt_glatyp_glaccounttypeid</code>.
085     */
086    public void GlAccountType(GlAccountTypePK value) {
087        set(4, value);
088    }
089
090    /**
091     * Getter for <code>glaccountdetails.gladt_glatyp_glaccounttypeid</code>.
092     */
093    public GlAccountTypePK GlAccountType() {
094        return (GlAccountTypePK) get(4);
095    }
096
097    /**
098     * Setter for <code>glaccountdetails.gladt_glacls_glaccountclassid</code>.
099     */
100    public void GlAccountClass(GlAccountClassPK value) {
101        set(5, value);
102    }
103
104    /**
105     * Getter for <code>glaccountdetails.gladt_glacls_glaccountclassid</code>.
106     */
107    public GlAccountClassPK GlAccountClass() {
108        return (GlAccountClassPK) get(5);
109    }
110
111    /**
112     * Setter for <code>glaccountdetails.gladt_glac_glaccountcategoryid</code>.
113     */
114    public void GlAccountCategory(GlAccountCategoryPK value) {
115        set(6, value);
116    }
117
118    /**
119     * Getter for <code>glaccountdetails.gladt_glac_glaccountcategoryid</code>.
120     */
121    public GlAccountCategoryPK GlAccountCategory() {
122        return (GlAccountCategoryPK) get(6);
123    }
124
125    /**
126     * Setter for <code>glaccountdetails.gladt_glrtyp_glresourcetypeid</code>.
127     */
128    public void GlResourceType(GlResourceTypePK value) {
129        set(7, value);
130    }
131
132    /**
133     * Getter for <code>glaccountdetails.gladt_glrtyp_glresourcetypeid</code>.
134     */
135    public GlResourceTypePK GlResourceType() {
136        return (GlResourceTypePK) get(7);
137    }
138
139    /**
140     * Setter for <code>glaccountdetails.gladt_cur_currencyid</code>.
141     */
142    public void Currency(CurrencyPK value) {
143        set(8, value);
144    }
145
146    /**
147     * Getter for <code>glaccountdetails.gladt_cur_currencyid</code>.
148     */
149    public CurrencyPK Currency() {
150        return (CurrencyPK) get(8);
151    }
152
153    /**
154     * Setter for <code>glaccountdetails.gladt_isdefault</code>.
155     */
156    public void IsDefault(Boolean value) {
157        set(9, value);
158    }
159
160    /**
161     * Getter for <code>glaccountdetails.gladt_isdefault</code>.
162     */
163    public Boolean IsDefault() {
164        return (Boolean) get(9);
165    }
166
167    /**
168     * Setter for <code>glaccountdetails.gladt_fromtime</code>.
169     */
170    public void FromTime(Long value) {
171        set(10, value);
172    }
173
174    /**
175     * Getter for <code>glaccountdetails.gladt_fromtime</code>.
176     */
177    public Long FromTime() {
178        return (Long) get(10);
179    }
180
181    /**
182     * Setter for <code>glaccountdetails.gladt_thrutime</code>.
183     */
184    public void ThruTime(Long value) {
185        set(11, value);
186    }
187
188    /**
189     * Getter for <code>glaccountdetails.gladt_thrutime</code>.
190     */
191    public Long ThruTime() {
192        return (Long) get(11);
193    }
194
195    // -------------------------------------------------------------------------
196    // Primary key information
197    // -------------------------------------------------------------------------
198
199    @Override
200    public Record1<GlAccountDetailPK> key() {
201        return (Record1) super.key();
202    }
203
204    // -------------------------------------------------------------------------
205    // Constructors
206    // -------------------------------------------------------------------------
207
208    /**
209     * Create a detached GlAccountDetails
210     */
211    public GlAccountDetails() {
212        super(com.echothree.model.jooq.server.tables.accounting.GlAccountDetails.GlAccountDetails);
213    }
214
215    /**
216     * Create a detached, initialised GlAccountDetails
217     */
218    public GlAccountDetails(GlAccountDetailPK GlAccountDetail, GlAccountPK GlAccount, String GlAccountName, GlAccountPK ParentGlAccount, GlAccountTypePK GlAccountType, GlAccountClassPK GlAccountClass, GlAccountCategoryPK GlAccountCategory, GlResourceTypePK GlResourceType, CurrencyPK Currency, Boolean IsDefault, Long FromTime, Long ThruTime) {
219        super(com.echothree.model.jooq.server.tables.accounting.GlAccountDetails.GlAccountDetails);
220
221        GlAccountDetail(GlAccountDetail);
222        GlAccount(GlAccount);
223        GlAccountName(GlAccountName);
224        ParentGlAccount(ParentGlAccount);
225        GlAccountType(GlAccountType);
226        GlAccountClass(GlAccountClass);
227        GlAccountCategory(GlAccountCategory);
228        GlResourceType(GlResourceType);
229        Currency(Currency);
230        IsDefault(IsDefault);
231        FromTime(FromTime);
232        ThruTime(ThruTime);
233        resetTouchedOnNotNull();
234    }
235}