001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.term;
005
006
007import com.echothree.model.data.accounting.common.pk.CurrencyPK;
008import com.echothree.model.data.party.common.pk.PartyPK;
009import com.echothree.model.data.term.common.pk.PartyCreditLimitPK;
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 PartyCreditLimits extends UpdatableRecordImpl<PartyCreditLimits> {
020
021    private static final long serialVersionUID = 1L;
022
023    /**
024     * Setter for <code>partycreditlimits.pclim_partycreditlimitid</code>.
025     */
026    public void PartyCreditLimit(PartyCreditLimitPK value) {
027        set(0, value);
028    }
029
030    /**
031     * Getter for <code>partycreditlimits.pclim_partycreditlimitid</code>.
032     */
033    public PartyCreditLimitPK PartyCreditLimit() {
034        return (PartyCreditLimitPK) get(0);
035    }
036
037    /**
038     * Setter for <code>partycreditlimits.pclim_par_partyid</code>.
039     */
040    public void Party(PartyPK value) {
041        set(1, value);
042    }
043
044    /**
045     * Getter for <code>partycreditlimits.pclim_par_partyid</code>.
046     */
047    public PartyPK Party() {
048        return (PartyPK) get(1);
049    }
050
051    /**
052     * Setter for <code>partycreditlimits.pclim_cur_currencyid</code>.
053     */
054    public void Currency(CurrencyPK value) {
055        set(2, value);
056    }
057
058    /**
059     * Getter for <code>partycreditlimits.pclim_cur_currencyid</code>.
060     */
061    public CurrencyPK Currency() {
062        return (CurrencyPK) get(2);
063    }
064
065    /**
066     * Setter for <code>partycreditlimits.pclim_creditlimit</code>.
067     */
068    public void CreditLimit(Long value) {
069        set(3, value);
070    }
071
072    /**
073     * Getter for <code>partycreditlimits.pclim_creditlimit</code>.
074     */
075    public Long CreditLimit() {
076        return (Long) get(3);
077    }
078
079    /**
080     * Setter for <code>partycreditlimits.pclim_potentialcreditlimit</code>.
081     */
082    public void PotentialCreditLimit(Long value) {
083        set(4, value);
084    }
085
086    /**
087     * Getter for <code>partycreditlimits.pclim_potentialcreditlimit</code>.
088     */
089    public Long PotentialCreditLimit() {
090        return (Long) get(4);
091    }
092
093    /**
094     * Setter for <code>partycreditlimits.pclim_fromtime</code>.
095     */
096    public void FromTime(Long value) {
097        set(5, value);
098    }
099
100    /**
101     * Getter for <code>partycreditlimits.pclim_fromtime</code>.
102     */
103    public Long FromTime() {
104        return (Long) get(5);
105    }
106
107    /**
108     * Setter for <code>partycreditlimits.pclim_thrutime</code>.
109     */
110    public void ThruTime(Long value) {
111        set(6, value);
112    }
113
114    /**
115     * Getter for <code>partycreditlimits.pclim_thrutime</code>.
116     */
117    public Long ThruTime() {
118        return (Long) get(6);
119    }
120
121    // -------------------------------------------------------------------------
122    // Primary key information
123    // -------------------------------------------------------------------------
124
125    @Override
126    public Record1<PartyCreditLimitPK> key() {
127        return (Record1) super.key();
128    }
129
130    // -------------------------------------------------------------------------
131    // Constructors
132    // -------------------------------------------------------------------------
133
134    /**
135     * Create a detached PartyCreditLimits
136     */
137    public PartyCreditLimits() {
138        super(com.echothree.model.jooq.server.tables.term.PartyCreditLimits.PartyCreditLimits);
139    }
140
141    /**
142     * Create a detached, initialised PartyCreditLimits
143     */
144    public PartyCreditLimits(PartyCreditLimitPK PartyCreditLimit, PartyPK Party, CurrencyPK Currency, Long CreditLimit, Long PotentialCreditLimit, Long FromTime, Long ThruTime) {
145        super(com.echothree.model.jooq.server.tables.term.PartyCreditLimits.PartyCreditLimits);
146
147        PartyCreditLimit(PartyCreditLimit);
148        Party(Party);
149        Currency(Currency);
150        CreditLimit(CreditLimit);
151        PotentialCreditLimit(PotentialCreditLimit);
152        FromTime(FromTime);
153        ThruTime(ThruTime);
154        resetTouchedOnNotNull();
155    }
156}