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