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.ContentPageAreaTypePK;
008import com.echothree.model.data.content.common.pk.ContentPageLayoutAreaPK;
009import com.echothree.model.data.content.common.pk.ContentPageLayoutPK;
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 ContentPageLayoutAreas extends UpdatableRecordImpl<ContentPageLayoutAreas> {
020
021    private static final long serialVersionUID = 1L;
022
023    /**
024     * Setter for
025     * <code>contentpagelayoutareas.cntpla_contentpagelayoutareaid</code>.
026     */
027    public void ContentPageLayoutArea(ContentPageLayoutAreaPK value) {
028        set(0, value);
029    }
030
031    /**
032     * Getter for
033     * <code>contentpagelayoutareas.cntpla_contentpagelayoutareaid</code>.
034     */
035    public ContentPageLayoutAreaPK ContentPageLayoutArea() {
036        return (ContentPageLayoutAreaPK) get(0);
037    }
038
039    /**
040     * Setter for
041     * <code>contentpagelayoutareas.cntpla_cntpl_contentpagelayoutid</code>.
042     */
043    public void ContentPageLayout(ContentPageLayoutPK value) {
044        set(1, value);
045    }
046
047    /**
048     * Getter for
049     * <code>contentpagelayoutareas.cntpla_cntpl_contentpagelayoutid</code>.
050     */
051    public ContentPageLayoutPK ContentPageLayout() {
052        return (ContentPageLayoutPK) get(1);
053    }
054
055    /**
056     * Setter for
057     * <code>contentpagelayoutareas.cntpla_cntpat_contentpageareatypeid</code>.
058     */
059    public void ContentPageAreaType(ContentPageAreaTypePK value) {
060        set(2, value);
061    }
062
063    /**
064     * Getter for
065     * <code>contentpagelayoutareas.cntpla_cntpat_contentpageareatypeid</code>.
066     */
067    public ContentPageAreaTypePK ContentPageAreaType() {
068        return (ContentPageAreaTypePK) get(2);
069    }
070
071    /**
072     * Setter for
073     * <code>contentpagelayoutareas.cntpla_showdescriptionfield</code>.
074     */
075    public void ShowDescriptionField(Boolean value) {
076        set(3, value);
077    }
078
079    /**
080     * Getter for
081     * <code>contentpagelayoutareas.cntpla_showdescriptionfield</code>.
082     */
083    public Boolean ShowDescriptionField() {
084        return (Boolean) get(3);
085    }
086
087    /**
088     * Setter for <code>contentpagelayoutareas.cntpla_sortorder</code>.
089     */
090    public void SortOrder(Integer value) {
091        set(4, value);
092    }
093
094    /**
095     * Getter for <code>contentpagelayoutareas.cntpla_sortorder</code>.
096     */
097    public Integer SortOrder() {
098        return (Integer) get(4);
099    }
100
101    // -------------------------------------------------------------------------
102    // Primary key information
103    // -------------------------------------------------------------------------
104
105    @Override
106    public Record1<ContentPageLayoutAreaPK> key() {
107        return (Record1) super.key();
108    }
109
110    // -------------------------------------------------------------------------
111    // Constructors
112    // -------------------------------------------------------------------------
113
114    /**
115     * Create a detached ContentPageLayoutAreas
116     */
117    public ContentPageLayoutAreas() {
118        super(com.echothree.model.jooq.server.tables.content.ContentPageLayoutAreas.ContentPageLayoutAreas);
119    }
120
121    /**
122     * Create a detached, initialised ContentPageLayoutAreas
123     */
124    public ContentPageLayoutAreas(ContentPageLayoutAreaPK ContentPageLayoutArea, ContentPageLayoutPK ContentPageLayout, ContentPageAreaTypePK ContentPageAreaType, Boolean ShowDescriptionField, Integer SortOrder) {
125        super(com.echothree.model.jooq.server.tables.content.ContentPageLayoutAreas.ContentPageLayoutAreas);
126
127        ContentPageLayoutArea(ContentPageLayoutArea);
128        ContentPageLayout(ContentPageLayout);
129        ContentPageAreaType(ContentPageAreaType);
130        ShowDescriptionField(ShowDescriptionField);
131        SortOrder(SortOrder);
132        resetTouchedOnNotNull();
133    }
134}