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