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