001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.associate;
005
006
007import com.echothree.model.data.associate.common.pk.AssociateReferralDetailPK;
008import com.echothree.model.data.associate.common.pk.AssociateReferralPK;
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 AssociateReferrals extends UpdatableRecordImpl<AssociateReferrals> {
019
020    private static final long serialVersionUID = 1L;
021
022    /**
023     * Setter for <code>associatereferrals.ascrfr_associatereferralid</code>.
024     */
025    public void AssociateReferral(AssociateReferralPK value) {
026        set(0, value);
027    }
028
029    /**
030     * Getter for <code>associatereferrals.ascrfr_associatereferralid</code>.
031     */
032    public AssociateReferralPK AssociateReferral() {
033        return (AssociateReferralPK) get(0);
034    }
035
036    /**
037     * Setter for <code>associatereferrals.ascrfr_activedetailid</code>.
038     */
039    public void ActiveDetail(AssociateReferralDetailPK value) {
040        set(1, value);
041    }
042
043    /**
044     * Getter for <code>associatereferrals.ascrfr_activedetailid</code>.
045     */
046    public AssociateReferralDetailPK ActiveDetail() {
047        return (AssociateReferralDetailPK) get(1);
048    }
049
050    /**
051     * Setter for <code>associatereferrals.ascrfr_lastdetailid</code>.
052     */
053    public void LastDetail(AssociateReferralDetailPK value) {
054        set(2, value);
055    }
056
057    /**
058     * Getter for <code>associatereferrals.ascrfr_lastdetailid</code>.
059     */
060    public AssociateReferralDetailPK LastDetail() {
061        return (AssociateReferralDetailPK) get(2);
062    }
063
064    // -------------------------------------------------------------------------
065    // Primary key information
066    // -------------------------------------------------------------------------
067
068    @Override
069    public Record1<AssociateReferralPK> key() {
070        return (Record1) super.key();
071    }
072
073    // -------------------------------------------------------------------------
074    // Constructors
075    // -------------------------------------------------------------------------
076
077    /**
078     * Create a detached AssociateReferrals
079     */
080    public AssociateReferrals() {
081        super(com.echothree.model.jooq.server.tables.associate.AssociateReferrals.AssociateReferrals);
082    }
083
084    /**
085     * Create a detached, initialised AssociateReferrals
086     */
087    public AssociateReferrals(AssociateReferralPK AssociateReferral, AssociateReferralDetailPK ActiveDetail, AssociateReferralDetailPK LastDetail) {
088        super(com.echothree.model.jooq.server.tables.associate.AssociateReferrals.AssociateReferrals);
089
090        AssociateReferral(AssociateReferral);
091        ActiveDetail(ActiveDetail);
092        LastDetail(LastDetail);
093        resetTouchedOnNotNull();
094    }
095}