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.ContentCollectionPK;
008import com.echothree.model.data.content.common.pk.ContentWebAddressDetailPK;
009import com.echothree.model.data.content.common.pk.ContentWebAddressPK;
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 ContentWebAddressDetails extends UpdatableRecordImpl<ContentWebAddressDetails> {
020
021    private static final long serialVersionUID = 1L;
022
023    /**
024     * Setter for
025     * <code>contentwebaddressdetails.cntwadt_contentwebaddressdetailid</code>.
026     */
027    public void ContentWebAddressDetail(ContentWebAddressDetailPK value) {
028        set(0, value);
029    }
030
031    /**
032     * Getter for
033     * <code>contentwebaddressdetails.cntwadt_contentwebaddressdetailid</code>.
034     */
035    public ContentWebAddressDetailPK ContentWebAddressDetail() {
036        return (ContentWebAddressDetailPK) get(0);
037    }
038
039    /**
040     * Setter for
041     * <code>contentwebaddressdetails.cntwadt_cntwa_contentwebaddressid</code>.
042     */
043    public void ContentWebAddress(ContentWebAddressPK value) {
044        set(1, value);
045    }
046
047    /**
048     * Getter for
049     * <code>contentwebaddressdetails.cntwadt_cntwa_contentwebaddressid</code>.
050     */
051    public ContentWebAddressPK ContentWebAddress() {
052        return (ContentWebAddressPK) get(1);
053    }
054
055    /**
056     * Setter for
057     * <code>contentwebaddressdetails.cntwadt_contentwebaddressname</code>.
058     */
059    public void ContentWebAddressName(String value) {
060        set(2, value);
061    }
062
063    /**
064     * Getter for
065     * <code>contentwebaddressdetails.cntwadt_contentwebaddressname</code>.
066     */
067    public String ContentWebAddressName() {
068        return (String) get(2);
069    }
070
071    /**
072     * Setter for
073     * <code>contentwebaddressdetails.cntwadt_cntc_contentcollectionid</code>.
074     */
075    public void ContentCollection(ContentCollectionPK value) {
076        set(3, value);
077    }
078
079    /**
080     * Getter for
081     * <code>contentwebaddressdetails.cntwadt_cntc_contentcollectionid</code>.
082     */
083    public ContentCollectionPK ContentCollection() {
084        return (ContentCollectionPK) get(3);
085    }
086
087    /**
088     * Setter for <code>contentwebaddressdetails.cntwadt_fromtime</code>.
089     */
090    public void FromTime(Long value) {
091        set(4, value);
092    }
093
094    /**
095     * Getter for <code>contentwebaddressdetails.cntwadt_fromtime</code>.
096     */
097    public Long FromTime() {
098        return (Long) get(4);
099    }
100
101    /**
102     * Setter for <code>contentwebaddressdetails.cntwadt_thrutime</code>.
103     */
104    public void ThruTime(Long value) {
105        set(5, value);
106    }
107
108    /**
109     * Getter for <code>contentwebaddressdetails.cntwadt_thrutime</code>.
110     */
111    public Long ThruTime() {
112        return (Long) get(5);
113    }
114
115    // -------------------------------------------------------------------------
116    // Primary key information
117    // -------------------------------------------------------------------------
118
119    @Override
120    public Record1<ContentWebAddressDetailPK> key() {
121        return (Record1) super.key();
122    }
123
124    // -------------------------------------------------------------------------
125    // Constructors
126    // -------------------------------------------------------------------------
127
128    /**
129     * Create a detached ContentWebAddressDetails
130     */
131    public ContentWebAddressDetails() {
132        super(com.echothree.model.jooq.server.tables.content.ContentWebAddressDetails.ContentWebAddressDetails);
133    }
134
135    /**
136     * Create a detached, initialised ContentWebAddressDetails
137     */
138    public ContentWebAddressDetails(ContentWebAddressDetailPK ContentWebAddressDetail, ContentWebAddressPK ContentWebAddress, String ContentWebAddressName, ContentCollectionPK ContentCollection, Long FromTime, Long ThruTime) {
139        super(com.echothree.model.jooq.server.tables.content.ContentWebAddressDetails.ContentWebAddressDetails);
140
141        ContentWebAddressDetail(ContentWebAddressDetail);
142        ContentWebAddress(ContentWebAddress);
143        ContentWebAddressName(ContentWebAddressName);
144        ContentCollection(ContentCollection);
145        FromTime(FromTime);
146        ThruTime(ThruTime);
147        resetTouchedOnNotNull();
148    }
149}