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.ContentPageLayoutAreaDescriptionPK;
008import com.echothree.model.data.content.common.pk.ContentPageLayoutAreaPK;
009import com.echothree.model.data.party.common.pk.LanguagePK;
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 ContentPageLayoutAreaDescriptions extends UpdatableRecordImpl<ContentPageLayoutAreaDescriptions> {
020
021    private static final long serialVersionUID = 1L;
022
023    /**
024     * Setter for
025     * <code>contentpagelayoutareadescriptions.cntplad_contentpagelayoutareadescriptionid</code>.
026     */
027    public void ContentPageLayoutAreaDescription(ContentPageLayoutAreaDescriptionPK value) {
028        set(0, value);
029    }
030
031    /**
032     * Getter for
033     * <code>contentpagelayoutareadescriptions.cntplad_contentpagelayoutareadescriptionid</code>.
034     */
035    public ContentPageLayoutAreaDescriptionPK ContentPageLayoutAreaDescription() {
036        return (ContentPageLayoutAreaDescriptionPK) get(0);
037    }
038
039    /**
040     * Setter for
041     * <code>contentpagelayoutareadescriptions.cntplad_cntpla_contentpagelayoutareaid</code>.
042     */
043    public void ContentPageLayoutArea(ContentPageLayoutAreaPK value) {
044        set(1, value);
045    }
046
047    /**
048     * Getter for
049     * <code>contentpagelayoutareadescriptions.cntplad_cntpla_contentpagelayoutareaid</code>.
050     */
051    public ContentPageLayoutAreaPK ContentPageLayoutArea() {
052        return (ContentPageLayoutAreaPK) get(1);
053    }
054
055    /**
056     * Setter for
057     * <code>contentpagelayoutareadescriptions.cntplad_lang_languageid</code>.
058     */
059    public void Language(LanguagePK value) {
060        set(2, value);
061    }
062
063    /**
064     * Getter for
065     * <code>contentpagelayoutareadescriptions.cntplad_lang_languageid</code>.
066     */
067    public LanguagePK Language() {
068        return (LanguagePK) get(2);
069    }
070
071    /**
072     * Setter for
073     * <code>contentpagelayoutareadescriptions.cntplad_description</code>.
074     */
075    public void Description(String value) {
076        set(3, value);
077    }
078
079    /**
080     * Getter for
081     * <code>contentpagelayoutareadescriptions.cntplad_description</code>.
082     */
083    public String Description() {
084        return (String) get(3);
085    }
086
087    // -------------------------------------------------------------------------
088    // Primary key information
089    // -------------------------------------------------------------------------
090
091    @Override
092    public Record1<ContentPageLayoutAreaDescriptionPK> key() {
093        return (Record1) super.key();
094    }
095
096    // -------------------------------------------------------------------------
097    // Constructors
098    // -------------------------------------------------------------------------
099
100    /**
101     * Create a detached ContentPageLayoutAreaDescriptions
102     */
103    public ContentPageLayoutAreaDescriptions() {
104        super(com.echothree.model.jooq.server.tables.content.ContentPageLayoutAreaDescriptions.ContentPageLayoutAreaDescriptions);
105    }
106
107    /**
108     * Create a detached, initialised ContentPageLayoutAreaDescriptions
109     */
110    public ContentPageLayoutAreaDescriptions(ContentPageLayoutAreaDescriptionPK ContentPageLayoutAreaDescription, ContentPageLayoutAreaPK ContentPageLayoutArea, LanguagePK Language, String Description) {
111        super(com.echothree.model.jooq.server.tables.content.ContentPageLayoutAreaDescriptions.ContentPageLayoutAreaDescriptions);
112
113        ContentPageLayoutAreaDescription(ContentPageLayoutAreaDescription);
114        ContentPageLayoutArea(ContentPageLayoutArea);
115        Language(Language);
116        Description(Description);
117        resetTouchedOnNotNull();
118    }
119}