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