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.ContentPageDetailPK;
008import com.echothree.model.data.content.common.pk.ContentPageLayoutPK;
009import com.echothree.model.data.content.common.pk.ContentPagePK;
010import com.echothree.model.data.content.common.pk.ContentSectionPK;
011
012import org.jooq.Record1;
013import org.jooq.impl.UpdatableRecordImpl;
014
015
016/**
017 * This class is generated by jOOQ.
018 */
019@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
020public class ContentPageDetails extends UpdatableRecordImpl<ContentPageDetails> {
021
022    private static final long serialVersionUID = 1L;
023
024    /**
025     * Setter for <code>contentpagedetails.cntpdt_contentpagedetailid</code>.
026     */
027    public void ContentPageDetail(ContentPageDetailPK value) {
028        set(0, value);
029    }
030
031    /**
032     * Getter for <code>contentpagedetails.cntpdt_contentpagedetailid</code>.
033     */
034    public ContentPageDetailPK ContentPageDetail() {
035        return (ContentPageDetailPK) get(0);
036    }
037
038    /**
039     * Setter for <code>contentpagedetails.cntpdt_cntp_contentpageid</code>.
040     */
041    public void ContentPage(ContentPagePK value) {
042        set(1, value);
043    }
044
045    /**
046     * Getter for <code>contentpagedetails.cntpdt_cntp_contentpageid</code>.
047     */
048    public ContentPagePK ContentPage() {
049        return (ContentPagePK) get(1);
050    }
051
052    /**
053     * Setter for <code>contentpagedetails.cntpdt_cnts_contentsectionid</code>.
054     */
055    public void ContentSection(ContentSectionPK value) {
056        set(2, value);
057    }
058
059    /**
060     * Getter for <code>contentpagedetails.cntpdt_cnts_contentsectionid</code>.
061     */
062    public ContentSectionPK ContentSection() {
063        return (ContentSectionPK) get(2);
064    }
065
066    /**
067     * Setter for <code>contentpagedetails.cntpdt_contentpagename</code>.
068     */
069    public void ContentPageName(String value) {
070        set(3, value);
071    }
072
073    /**
074     * Getter for <code>contentpagedetails.cntpdt_contentpagename</code>.
075     */
076    public String ContentPageName() {
077        return (String) get(3);
078    }
079
080    /**
081     * Setter for
082     * <code>contentpagedetails.cntpdt_cntpl_contentpagelayoutid</code>.
083     */
084    public void ContentPageLayout(ContentPageLayoutPK value) {
085        set(4, value);
086    }
087
088    /**
089     * Getter for
090     * <code>contentpagedetails.cntpdt_cntpl_contentpagelayoutid</code>.
091     */
092    public ContentPageLayoutPK ContentPageLayout() {
093        return (ContentPageLayoutPK) get(4);
094    }
095
096    /**
097     * Setter for <code>contentpagedetails.cntpdt_isdefault</code>.
098     */
099    public void IsDefault(Boolean value) {
100        set(5, value);
101    }
102
103    /**
104     * Getter for <code>contentpagedetails.cntpdt_isdefault</code>.
105     */
106    public Boolean IsDefault() {
107        return (Boolean) get(5);
108    }
109
110    /**
111     * Setter for <code>contentpagedetails.cntpdt_sortorder</code>.
112     */
113    public void SortOrder(Integer value) {
114        set(6, value);
115    }
116
117    /**
118     * Getter for <code>contentpagedetails.cntpdt_sortorder</code>.
119     */
120    public Integer SortOrder() {
121        return (Integer) get(6);
122    }
123
124    /**
125     * Setter for <code>contentpagedetails.cntpdt_fromtime</code>.
126     */
127    public void FromTime(Long value) {
128        set(7, value);
129    }
130
131    /**
132     * Getter for <code>contentpagedetails.cntpdt_fromtime</code>.
133     */
134    public Long FromTime() {
135        return (Long) get(7);
136    }
137
138    /**
139     * Setter for <code>contentpagedetails.cntpdt_thrutime</code>.
140     */
141    public void ThruTime(Long value) {
142        set(8, value);
143    }
144
145    /**
146     * Getter for <code>contentpagedetails.cntpdt_thrutime</code>.
147     */
148    public Long ThruTime() {
149        return (Long) get(8);
150    }
151
152    // -------------------------------------------------------------------------
153    // Primary key information
154    // -------------------------------------------------------------------------
155
156    @Override
157    public Record1<ContentPageDetailPK> key() {
158        return (Record1) super.key();
159    }
160
161    // -------------------------------------------------------------------------
162    // Constructors
163    // -------------------------------------------------------------------------
164
165    /**
166     * Create a detached ContentPageDetails
167     */
168    public ContentPageDetails() {
169        super(com.echothree.model.jooq.server.tables.content.ContentPageDetails.ContentPageDetails);
170    }
171
172    /**
173     * Create a detached, initialised ContentPageDetails
174     */
175    public ContentPageDetails(ContentPageDetailPK ContentPageDetail, ContentPagePK ContentPage, ContentSectionPK ContentSection, String ContentPageName, ContentPageLayoutPK ContentPageLayout, Boolean IsDefault, Integer SortOrder, Long FromTime, Long ThruTime) {
176        super(com.echothree.model.jooq.server.tables.content.ContentPageDetails.ContentPageDetails);
177
178        ContentPageDetail(ContentPageDetail);
179        ContentPage(ContentPage);
180        ContentSection(ContentSection);
181        ContentPageName(ContentPageName);
182        ContentPageLayout(ContentPageLayout);
183        IsDefault(IsDefault);
184        SortOrder(SortOrder);
185        FromTime(FromTime);
186        ThruTime(ThruTime);
187        resetTouchedOnNotNull();
188    }
189}