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