001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.communication;
005
006
007import com.echothree.model.data.communication.common.pk.CommunicationEmailSourcePK;
008import com.echothree.model.data.communication.common.pk.CommunicationSourcePK;
009import com.echothree.model.data.core.common.pk.ServerPK;
010import com.echothree.model.data.selector.common.pk.SelectorPK;
011import com.echothree.model.data.workeffort.common.pk.WorkEffortScopePK;
012
013import org.jooq.Record1;
014import org.jooq.impl.UpdatableRecordImpl;
015
016
017/**
018 * This class is generated by jOOQ.
019 */
020@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
021public class CommunicationEmailSources extends UpdatableRecordImpl<CommunicationEmailSources> {
022
023    private static final long serialVersionUID = 1L;
024
025    /**
026     * Setter for
027     * <code>communicationemailsources.cmmnesrc_communicationemailsourceid</code>.
028     */
029    public void CommunicationEmailSource(CommunicationEmailSourcePK value) {
030        set(0, value);
031    }
032
033    /**
034     * Getter for
035     * <code>communicationemailsources.cmmnesrc_communicationemailsourceid</code>.
036     */
037    public CommunicationEmailSourcePK CommunicationEmailSource() {
038        return (CommunicationEmailSourcePK) get(0);
039    }
040
041    /**
042     * Setter for
043     * <code>communicationemailsources.cmmnesrc_cmmnsrc_communicationsourceid</code>.
044     */
045    public void CommunicationSource(CommunicationSourcePK value) {
046        set(1, value);
047    }
048
049    /**
050     * Getter for
051     * <code>communicationemailsources.cmmnesrc_cmmnsrc_communicationsourceid</code>.
052     */
053    public CommunicationSourcePK CommunicationSource() {
054        return (CommunicationSourcePK) get(1);
055    }
056
057    /**
058     * Setter for <code>communicationemailsources.cmmnesrc_serv_serverid</code>.
059     */
060    public void Server(ServerPK value) {
061        set(2, value);
062    }
063
064    /**
065     * Getter for <code>communicationemailsources.cmmnesrc_serv_serverid</code>.
066     */
067    public ServerPK Server() {
068        return (ServerPK) get(2);
069    }
070
071    /**
072     * Setter for <code>communicationemailsources.cmmnesrc_username</code>.
073     */
074    public void Username(String value) {
075        set(3, value);
076    }
077
078    /**
079     * Getter for <code>communicationemailsources.cmmnesrc_username</code>.
080     */
081    public String Username() {
082        return (String) get(3);
083    }
084
085    /**
086     * Setter for <code>communicationemailsources.cmmnesrc_password</code>.
087     */
088    public void Password(String value) {
089        set(4, value);
090    }
091
092    /**
093     * Getter for <code>communicationemailsources.cmmnesrc_password</code>.
094     */
095    public String Password() {
096        return (String) get(4);
097    }
098
099    /**
100     * Setter for
101     * <code>communicationemailsources.cmmnesrc_receiveworkeffortscopeid</code>.
102     */
103    public void ReceiveWorkEffortScope(WorkEffortScopePK value) {
104        set(5, value);
105    }
106
107    /**
108     * Getter for
109     * <code>communicationemailsources.cmmnesrc_receiveworkeffortscopeid</code>.
110     */
111    public WorkEffortScopePK ReceiveWorkEffortScope() {
112        return (WorkEffortScopePK) get(5);
113    }
114
115    /**
116     * Setter for
117     * <code>communicationemailsources.cmmnesrc_sendworkeffortscopeid</code>.
118     */
119    public void SendWorkEffortScope(WorkEffortScopePK value) {
120        set(6, value);
121    }
122
123    /**
124     * Getter for
125     * <code>communicationemailsources.cmmnesrc_sendworkeffortscopeid</code>.
126     */
127    public WorkEffortScopePK SendWorkEffortScope() {
128        return (WorkEffortScopePK) get(6);
129    }
130
131    /**
132     * Setter for
133     * <code>communicationemailsources.cmmnesrc_reviewemployeeselectorid</code>.
134     */
135    public void ReviewEmployeeSelector(SelectorPK value) {
136        set(7, value);
137    }
138
139    /**
140     * Getter for
141     * <code>communicationemailsources.cmmnesrc_reviewemployeeselectorid</code>.
142     */
143    public SelectorPK ReviewEmployeeSelector() {
144        return (SelectorPK) get(7);
145    }
146
147    /**
148     * Setter for
149     * <code>communicationemailsources.cmmnesrc_initializationvector</code>.
150     */
151    public void InitializationVector(String value) {
152        set(8, value);
153    }
154
155    /**
156     * Getter for
157     * <code>communicationemailsources.cmmnesrc_initializationvector</code>.
158     */
159    public String InitializationVector() {
160        return (String) get(8);
161    }
162
163    /**
164     * Setter for <code>communicationemailsources.cmmnesrc_fromtime</code>.
165     */
166    public void FromTime(Long value) {
167        set(9, value);
168    }
169
170    /**
171     * Getter for <code>communicationemailsources.cmmnesrc_fromtime</code>.
172     */
173    public Long FromTime() {
174        return (Long) get(9);
175    }
176
177    /**
178     * Setter for <code>communicationemailsources.cmmnesrc_thrutime</code>.
179     */
180    public void ThruTime(Long value) {
181        set(10, value);
182    }
183
184    /**
185     * Getter for <code>communicationemailsources.cmmnesrc_thrutime</code>.
186     */
187    public Long ThruTime() {
188        return (Long) get(10);
189    }
190
191    // -------------------------------------------------------------------------
192    // Primary key information
193    // -------------------------------------------------------------------------
194
195    @Override
196    public Record1<CommunicationEmailSourcePK> key() {
197        return (Record1) super.key();
198    }
199
200    // -------------------------------------------------------------------------
201    // Constructors
202    // -------------------------------------------------------------------------
203
204    /**
205     * Create a detached CommunicationEmailSources
206     */
207    public CommunicationEmailSources() {
208        super(com.echothree.model.jooq.server.tables.communication.CommunicationEmailSources.CommunicationEmailSources);
209    }
210
211    /**
212     * Create a detached, initialised CommunicationEmailSources
213     */
214    public CommunicationEmailSources(CommunicationEmailSourcePK CommunicationEmailSource, CommunicationSourcePK CommunicationSource, ServerPK Server, String Username, String Password, WorkEffortScopePK ReceiveWorkEffortScope, WorkEffortScopePK SendWorkEffortScope, SelectorPK ReviewEmployeeSelector, String InitializationVector, Long FromTime, Long ThruTime) {
215        super(com.echothree.model.jooq.server.tables.communication.CommunicationEmailSources.CommunicationEmailSources);
216
217        CommunicationEmailSource(CommunicationEmailSource);
218        CommunicationSource(CommunicationSource);
219        Server(Server);
220        Username(Username);
221        Password(Password);
222        ReceiveWorkEffortScope(ReceiveWorkEffortScope);
223        SendWorkEffortScope(SendWorkEffortScope);
224        ReviewEmployeeSelector(ReviewEmployeeSelector);
225        InitializationVector(InitializationVector);
226        FromTime(FromTime);
227        ThruTime(ThruTime);
228        resetTouchedOnNotNull();
229    }
230}