001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.content;
005
006
007import com.echothree.model.data.content.common.pk.ContentCollectionPK;
008import com.echothree.model.data.content.common.pk.ContentSectionDetailPK;
009import com.echothree.model.data.content.common.pk.ContentSectionPK;
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 ContentSectionDetails extends UpdatableRecordImpl<ContentSectionDetails> {
020
021    private static final long serialVersionUID = 1L;
022
023    /**
024     * Setter for
025     * <code>contentsectiondetails.cntsdt_contentsectiondetailid</code>.
026     */
027    public void ContentSectionDetail(ContentSectionDetailPK value) {
028        set(0, value);
029    }
030
031    /**
032     * Getter for
033     * <code>contentsectiondetails.cntsdt_contentsectiondetailid</code>.
034     */
035    public ContentSectionDetailPK ContentSectionDetail() {
036        return (ContentSectionDetailPK) get(0);
037    }
038
039    /**
040     * Setter for
041     * <code>contentsectiondetails.cntsdt_cnts_contentsectionid</code>.
042     */
043    public void ContentSection(ContentSectionPK value) {
044        set(1, value);
045    }
046
047    /**
048     * Getter for
049     * <code>contentsectiondetails.cntsdt_cnts_contentsectionid</code>.
050     */
051    public ContentSectionPK ContentSection() {
052        return (ContentSectionPK) get(1);
053    }
054
055    /**
056     * Setter for
057     * <code>contentsectiondetails.cntsdt_cntc_contentcollectionid</code>.
058     */
059    public void ContentCollection(ContentCollectionPK value) {
060        set(2, value);
061    }
062
063    /**
064     * Getter for
065     * <code>contentsectiondetails.cntsdt_cntc_contentcollectionid</code>.
066     */
067    public ContentCollectionPK ContentCollection() {
068        return (ContentCollectionPK) get(2);
069    }
070
071    /**
072     * Setter for <code>contentsectiondetails.cntsdt_contentsectionname</code>.
073     */
074    public void ContentSectionName(String value) {
075        set(3, value);
076    }
077
078    /**
079     * Getter for <code>contentsectiondetails.cntsdt_contentsectionname</code>.
080     */
081    public String ContentSectionName() {
082        return (String) get(3);
083    }
084
085    /**
086     * Setter for
087     * <code>contentsectiondetails.cntsdt_parentcontentsectionid</code>.
088     */
089    public void ParentContentSection(ContentSectionPK value) {
090        set(4, value);
091    }
092
093    /**
094     * Getter for
095     * <code>contentsectiondetails.cntsdt_parentcontentsectionid</code>.
096     */
097    public ContentSectionPK ParentContentSection() {
098        return (ContentSectionPK) get(4);
099    }
100
101    /**
102     * Setter for <code>contentsectiondetails.cntsdt_isdefault</code>.
103     */
104    public void IsDefault(Boolean value) {
105        set(5, value);
106    }
107
108    /**
109     * Getter for <code>contentsectiondetails.cntsdt_isdefault</code>.
110     */
111    public Boolean IsDefault() {
112        return (Boolean) get(5);
113    }
114
115    /**
116     * Setter for <code>contentsectiondetails.cntsdt_sortorder</code>.
117     */
118    public void SortOrder(Integer value) {
119        set(6, value);
120    }
121
122    /**
123     * Getter for <code>contentsectiondetails.cntsdt_sortorder</code>.
124     */
125    public Integer SortOrder() {
126        return (Integer) get(6);
127    }
128
129    /**
130     * Setter for <code>contentsectiondetails.cntsdt_fromtime</code>.
131     */
132    public void FromTime(Long value) {
133        set(7, value);
134    }
135
136    /**
137     * Getter for <code>contentsectiondetails.cntsdt_fromtime</code>.
138     */
139    public Long FromTime() {
140        return (Long) get(7);
141    }
142
143    /**
144     * Setter for <code>contentsectiondetails.cntsdt_thrutime</code>.
145     */
146    public void ThruTime(Long value) {
147        set(8, value);
148    }
149
150    /**
151     * Getter for <code>contentsectiondetails.cntsdt_thrutime</code>.
152     */
153    public Long ThruTime() {
154        return (Long) get(8);
155    }
156
157    // -------------------------------------------------------------------------
158    // Primary key information
159    // -------------------------------------------------------------------------
160
161    @Override
162    public Record1<ContentSectionDetailPK> key() {
163        return (Record1) super.key();
164    }
165
166    // -------------------------------------------------------------------------
167    // Constructors
168    // -------------------------------------------------------------------------
169
170    /**
171     * Create a detached ContentSectionDetails
172     */
173    public ContentSectionDetails() {
174        super(com.echothree.model.jooq.server.tables.content.ContentSectionDetails.ContentSectionDetails);
175    }
176
177    /**
178     * Create a detached, initialised ContentSectionDetails
179     */
180    public ContentSectionDetails(ContentSectionDetailPK ContentSectionDetail, ContentSectionPK ContentSection, ContentCollectionPK ContentCollection, String ContentSectionName, ContentSectionPK ParentContentSection, Boolean IsDefault, Integer SortOrder, Long FromTime, Long ThruTime) {
181        super(com.echothree.model.jooq.server.tables.content.ContentSectionDetails.ContentSectionDetails);
182
183        ContentSectionDetail(ContentSectionDetail);
184        ContentSection(ContentSection);
185        ContentCollection(ContentCollection);
186        ContentSectionName(ContentSectionName);
187        ParentContentSection(ParentContentSection);
188        IsDefault(IsDefault);
189        SortOrder(SortOrder);
190        FromTime(FromTime);
191        ThruTime(ThruTime);
192        resetTouchedOnNotNull();
193    }
194}