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