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