001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.contact;
005
006
007import com.echothree.model.data.contact.common.pk.ContactMechanismPurposePK;
008import com.echothree.model.data.contact.common.pk.PartyContactMechanismPK;
009import com.echothree.model.data.contact.common.pk.PartyContactMechanismPurposeDetailPK;
010import com.echothree.model.data.contact.common.pk.PartyContactMechanismPurposePK;
011
012import org.jooq.Record1;
013import org.jooq.impl.UpdatableRecordImpl;
014
015
016/**
017 * This class is generated by jOOQ.
018 */
019@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
020public class PartyContactMechanismPurposeDetails extends UpdatableRecordImpl<PartyContactMechanismPurposeDetails> {
021
022    private static final long serialVersionUID = 1L;
023
024    /**
025     * Setter for
026     * <code>partycontactmechanismpurposedetails.pcmpdt_partycontactmechanismpurposedetailid</code>.
027     */
028    public void PartyContactMechanismPurposeDetail(PartyContactMechanismPurposeDetailPK value) {
029        set(0, value);
030    }
031
032    /**
033     * Getter for
034     * <code>partycontactmechanismpurposedetails.pcmpdt_partycontactmechanismpurposedetailid</code>.
035     */
036    public PartyContactMechanismPurposeDetailPK PartyContactMechanismPurposeDetail() {
037        return (PartyContactMechanismPurposeDetailPK) get(0);
038    }
039
040    /**
041     * Setter for
042     * <code>partycontactmechanismpurposedetails.pcmpdt_pcmp_partycontactmechanismpurposeid</code>.
043     */
044    public void PartyContactMechanismPurpose(PartyContactMechanismPurposePK value) {
045        set(1, value);
046    }
047
048    /**
049     * Getter for
050     * <code>partycontactmechanismpurposedetails.pcmpdt_pcmp_partycontactmechanismpurposeid</code>.
051     */
052    public PartyContactMechanismPurposePK PartyContactMechanismPurpose() {
053        return (PartyContactMechanismPurposePK) get(1);
054    }
055
056    /**
057     * Setter for
058     * <code>partycontactmechanismpurposedetails.pcmpdt_pcm_partycontactmechanismid</code>.
059     */
060    public void PartyContactMechanism(PartyContactMechanismPK value) {
061        set(2, value);
062    }
063
064    /**
065     * Getter for
066     * <code>partycontactmechanismpurposedetails.pcmpdt_pcm_partycontactmechanismid</code>.
067     */
068    public PartyContactMechanismPK PartyContactMechanism() {
069        return (PartyContactMechanismPK) get(2);
070    }
071
072    /**
073     * Setter for
074     * <code>partycontactmechanismpurposedetails.pcmpdt_cmpr_contactmechanismpurposeid</code>.
075     */
076    public void ContactMechanismPurpose(ContactMechanismPurposePK value) {
077        set(3, value);
078    }
079
080    /**
081     * Getter for
082     * <code>partycontactmechanismpurposedetails.pcmpdt_cmpr_contactmechanismpurposeid</code>.
083     */
084    public ContactMechanismPurposePK ContactMechanismPurpose() {
085        return (ContactMechanismPurposePK) get(3);
086    }
087
088    /**
089     * Setter for
090     * <code>partycontactmechanismpurposedetails.pcmpdt_isdefault</code>.
091     */
092    public void IsDefault(Boolean value) {
093        set(4, value);
094    }
095
096    /**
097     * Getter for
098     * <code>partycontactmechanismpurposedetails.pcmpdt_isdefault</code>.
099     */
100    public Boolean IsDefault() {
101        return (Boolean) get(4);
102    }
103
104    /**
105     * Setter for
106     * <code>partycontactmechanismpurposedetails.pcmpdt_sortorder</code>.
107     */
108    public void SortOrder(Integer value) {
109        set(5, value);
110    }
111
112    /**
113     * Getter for
114     * <code>partycontactmechanismpurposedetails.pcmpdt_sortorder</code>.
115     */
116    public Integer SortOrder() {
117        return (Integer) get(5);
118    }
119
120    /**
121     * Setter for
122     * <code>partycontactmechanismpurposedetails.pcmpdt_fromtime</code>.
123     */
124    public void FromTime(Long value) {
125        set(6, value);
126    }
127
128    /**
129     * Getter for
130     * <code>partycontactmechanismpurposedetails.pcmpdt_fromtime</code>.
131     */
132    public Long FromTime() {
133        return (Long) get(6);
134    }
135
136    /**
137     * Setter for
138     * <code>partycontactmechanismpurposedetails.pcmpdt_thrutime</code>.
139     */
140    public void ThruTime(Long value) {
141        set(7, value);
142    }
143
144    /**
145     * Getter for
146     * <code>partycontactmechanismpurposedetails.pcmpdt_thrutime</code>.
147     */
148    public Long ThruTime() {
149        return (Long) get(7);
150    }
151
152    // -------------------------------------------------------------------------
153    // Primary key information
154    // -------------------------------------------------------------------------
155
156    @Override
157    public Record1<PartyContactMechanismPurposeDetailPK> key() {
158        return (Record1) super.key();
159    }
160
161    // -------------------------------------------------------------------------
162    // Constructors
163    // -------------------------------------------------------------------------
164
165    /**
166     * Create a detached PartyContactMechanismPurposeDetails
167     */
168    public PartyContactMechanismPurposeDetails() {
169        super(com.echothree.model.jooq.server.tables.contact.PartyContactMechanismPurposeDetails.PartyContactMechanismPurposeDetails);
170    }
171
172    /**
173     * Create a detached, initialised PartyContactMechanismPurposeDetails
174     */
175    public PartyContactMechanismPurposeDetails(PartyContactMechanismPurposeDetailPK PartyContactMechanismPurposeDetail, PartyContactMechanismPurposePK PartyContactMechanismPurpose, PartyContactMechanismPK PartyContactMechanism, ContactMechanismPurposePK ContactMechanismPurpose, Boolean IsDefault, Integer SortOrder, Long FromTime, Long ThruTime) {
176        super(com.echothree.model.jooq.server.tables.contact.PartyContactMechanismPurposeDetails.PartyContactMechanismPurposeDetails);
177
178        PartyContactMechanismPurposeDetail(PartyContactMechanismPurposeDetail);
179        PartyContactMechanismPurpose(PartyContactMechanismPurpose);
180        PartyContactMechanism(PartyContactMechanism);
181        ContactMechanismPurpose(ContactMechanismPurpose);
182        IsDefault(IsDefault);
183        SortOrder(SortOrder);
184        FromTime(FromTime);
185        ThruTime(ThruTime);
186        resetTouchedOnNotNull();
187    }
188}