001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.carrier;
005
006
007import com.echothree.model.data.carrier.common.pk.PartyCarrierPK;
008import com.echothree.model.data.party.common.pk.PartyPK;
009
010import org.jooq.Record1;
011import org.jooq.impl.UpdatableRecordImpl;
012
013
014/**
015 * This class is generated by jOOQ.
016 */
017@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
018public class PartyCarriers extends UpdatableRecordImpl<PartyCarriers> {
019
020    private static final long serialVersionUID = 1L;
021
022    /**
023     * Setter for <code>partycarriers.pcrr_partycarrierid</code>.
024     */
025    public void PartyCarrier(PartyCarrierPK value) {
026        set(0, value);
027    }
028
029    /**
030     * Getter for <code>partycarriers.pcrr_partycarrierid</code>.
031     */
032    public PartyCarrierPK PartyCarrier() {
033        return (PartyCarrierPK) get(0);
034    }
035
036    /**
037     * Setter for <code>partycarriers.pcrr_par_partyid</code>.
038     */
039    public void Party(PartyPK value) {
040        set(1, value);
041    }
042
043    /**
044     * Getter for <code>partycarriers.pcrr_par_partyid</code>.
045     */
046    public PartyPK Party() {
047        return (PartyPK) get(1);
048    }
049
050    /**
051     * Setter for <code>partycarriers.pcrr_carrierpartyid</code>.
052     */
053    public void CarrierParty(PartyPK value) {
054        set(2, value);
055    }
056
057    /**
058     * Getter for <code>partycarriers.pcrr_carrierpartyid</code>.
059     */
060    public PartyPK CarrierParty() {
061        return (PartyPK) get(2);
062    }
063
064    /**
065     * Setter for <code>partycarriers.pcrr_fromtime</code>.
066     */
067    public void FromTime(Long value) {
068        set(3, value);
069    }
070
071    /**
072     * Getter for <code>partycarriers.pcrr_fromtime</code>.
073     */
074    public Long FromTime() {
075        return (Long) get(3);
076    }
077
078    /**
079     * Setter for <code>partycarriers.pcrr_thrutime</code>.
080     */
081    public void ThruTime(Long value) {
082        set(4, value);
083    }
084
085    /**
086     * Getter for <code>partycarriers.pcrr_thrutime</code>.
087     */
088    public Long ThruTime() {
089        return (Long) get(4);
090    }
091
092    // -------------------------------------------------------------------------
093    // Primary key information
094    // -------------------------------------------------------------------------
095
096    @Override
097    public Record1<PartyCarrierPK> key() {
098        return (Record1) super.key();
099    }
100
101    // -------------------------------------------------------------------------
102    // Constructors
103    // -------------------------------------------------------------------------
104
105    /**
106     * Create a detached PartyCarriers
107     */
108    public PartyCarriers() {
109        super(com.echothree.model.jooq.server.tables.carrier.PartyCarriers.PartyCarriers);
110    }
111
112    /**
113     * Create a detached, initialised PartyCarriers
114     */
115    public PartyCarriers(PartyCarrierPK PartyCarrier, PartyPK Party, PartyPK CarrierParty, Long FromTime, Long ThruTime) {
116        super(com.echothree.model.jooq.server.tables.carrier.PartyCarriers.PartyCarriers);
117
118        PartyCarrier(PartyCarrier);
119        Party(Party);
120        CarrierParty(CarrierParty);
121        FromTime(FromTime);
122        ThruTime(ThruTime);
123        resetTouchedOnNotNull();
124    }
125}