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