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.CommunicationEventDetailPK; 008import com.echothree.model.data.communication.common.pk.CommunicationEventPK; 009import com.echothree.model.data.communication.common.pk.CommunicationEventPurposePK; 010import com.echothree.model.data.communication.common.pk.CommunicationEventTypePK; 011import com.echothree.model.data.communication.common.pk.CommunicationSourcePK; 012import com.echothree.model.data.contact.common.pk.PartyContactMechanismPK; 013import com.echothree.model.data.document.common.pk.DocumentPK; 014 015import org.jooq.Record1; 016import org.jooq.impl.UpdatableRecordImpl; 017 018 019/** 020 * This class is generated by jOOQ. 021 */ 022@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 023public class CommunicationEventDetails extends UpdatableRecordImpl<CommunicationEventDetails> { 024 025 private static final long serialVersionUID = 1L; 026 027 /** 028 * Setter for 029 * <code>communicationeventdetails.cmmnevdt_communicationeventdetailid</code>. 030 */ 031 public void CommunicationEventDetail(CommunicationEventDetailPK value) { 032 set(0, value); 033 } 034 035 /** 036 * Getter for 037 * <code>communicationeventdetails.cmmnevdt_communicationeventdetailid</code>. 038 */ 039 public CommunicationEventDetailPK CommunicationEventDetail() { 040 return (CommunicationEventDetailPK) get(0); 041 } 042 043 /** 044 * Setter for 045 * <code>communicationeventdetails.cmmnevdt_cmmnev_communicationeventid</code>. 046 */ 047 public void CommunicationEvent(CommunicationEventPK value) { 048 set(1, value); 049 } 050 051 /** 052 * Getter for 053 * <code>communicationeventdetails.cmmnevdt_cmmnev_communicationeventid</code>. 054 */ 055 public CommunicationEventPK CommunicationEvent() { 056 return (CommunicationEventPK) get(1); 057 } 058 059 /** 060 * Setter for 061 * <code>communicationeventdetails.cmmnevdt_communicationeventname</code>. 062 */ 063 public void CommunicationEventName(String value) { 064 set(2, value); 065 } 066 067 /** 068 * Getter for 069 * <code>communicationeventdetails.cmmnevdt_communicationeventname</code>. 070 */ 071 public String CommunicationEventName() { 072 return (String) get(2); 073 } 074 075 /** 076 * Setter for 077 * <code>communicationeventdetails.cmmnevdt_cmmnevtyp_communicationeventtypeid</code>. 078 */ 079 public void CommunicationEventType(CommunicationEventTypePK value) { 080 set(3, value); 081 } 082 083 /** 084 * Getter for 085 * <code>communicationeventdetails.cmmnevdt_cmmnevtyp_communicationeventtypeid</code>. 086 */ 087 public CommunicationEventTypePK CommunicationEventType() { 088 return (CommunicationEventTypePK) get(3); 089 } 090 091 /** 092 * Setter for 093 * <code>communicationeventdetails.cmmnevdt_cmmnsrc_communicationsourceid</code>. 094 */ 095 public void CommunicationSource(CommunicationSourcePK value) { 096 set(4, value); 097 } 098 099 /** 100 * Getter for 101 * <code>communicationeventdetails.cmmnevdt_cmmnsrc_communicationsourceid</code>. 102 */ 103 public CommunicationSourcePK CommunicationSource() { 104 return (CommunicationSourcePK) get(4); 105 } 106 107 /** 108 * Setter for 109 * <code>communicationeventdetails.cmmnevdt_cmmnevpr_communicationeventpurposeid</code>. 110 */ 111 public void CommunicationEventPurpose(CommunicationEventPurposePK value) { 112 set(5, value); 113 } 114 115 /** 116 * Getter for 117 * <code>communicationeventdetails.cmmnevdt_cmmnevpr_communicationeventpurposeid</code>. 118 */ 119 public CommunicationEventPurposePK CommunicationEventPurpose() { 120 return (CommunicationEventPurposePK) get(5); 121 } 122 123 /** 124 * Setter for 125 * <code>communicationeventdetails.cmmnevdt_originalcommunicationeventid</code>. 126 */ 127 public void OriginalCommunicationEvent(CommunicationEventPK value) { 128 set(6, value); 129 } 130 131 /** 132 * Getter for 133 * <code>communicationeventdetails.cmmnevdt_originalcommunicationeventid</code>. 134 */ 135 public CommunicationEventPK OriginalCommunicationEvent() { 136 return (CommunicationEventPK) get(6); 137 } 138 139 /** 140 * Setter for 141 * <code>communicationeventdetails.cmmnevdt_parentcommunicationeventid</code>. 142 */ 143 public void ParentCommunicationEvent(CommunicationEventPK value) { 144 set(7, value); 145 } 146 147 /** 148 * Getter for 149 * <code>communicationeventdetails.cmmnevdt_parentcommunicationeventid</code>. 150 */ 151 public CommunicationEventPK ParentCommunicationEvent() { 152 return (CommunicationEventPK) get(7); 153 } 154 155 /** 156 * Setter for 157 * <code>communicationeventdetails.cmmnevdt_pcm_partycontactmechanismid</code>. 158 */ 159 public void PartyContactMechanism(PartyContactMechanismPK value) { 160 set(8, value); 161 } 162 163 /** 164 * Getter for 165 * <code>communicationeventdetails.cmmnevdt_pcm_partycontactmechanismid</code>. 166 */ 167 public PartyContactMechanismPK PartyContactMechanism() { 168 return (PartyContactMechanismPK) get(8); 169 } 170 171 /** 172 * Setter for 173 * <code>communicationeventdetails.cmmnevdt_dcmnt_documentid</code>. 174 */ 175 public void Document(DocumentPK value) { 176 set(9, value); 177 } 178 179 /** 180 * Getter for 181 * <code>communicationeventdetails.cmmnevdt_dcmnt_documentid</code>. 182 */ 183 public DocumentPK Document() { 184 return (DocumentPK) get(9); 185 } 186 187 /** 188 * Setter for <code>communicationeventdetails.cmmnevdt_fromtime</code>. 189 */ 190 public void FromTime(Long value) { 191 set(10, value); 192 } 193 194 /** 195 * Getter for <code>communicationeventdetails.cmmnevdt_fromtime</code>. 196 */ 197 public Long FromTime() { 198 return (Long) get(10); 199 } 200 201 /** 202 * Setter for <code>communicationeventdetails.cmmnevdt_thrutime</code>. 203 */ 204 public void ThruTime(Long value) { 205 set(11, value); 206 } 207 208 /** 209 * Getter for <code>communicationeventdetails.cmmnevdt_thrutime</code>. 210 */ 211 public Long ThruTime() { 212 return (Long) get(11); 213 } 214 215 // ------------------------------------------------------------------------- 216 // Primary key information 217 // ------------------------------------------------------------------------- 218 219 @Override 220 public Record1<CommunicationEventDetailPK> key() { 221 return (Record1) super.key(); 222 } 223 224 // ------------------------------------------------------------------------- 225 // Constructors 226 // ------------------------------------------------------------------------- 227 228 /** 229 * Create a detached CommunicationEventDetails 230 */ 231 public CommunicationEventDetails() { 232 super(com.echothree.model.jooq.server.tables.communication.CommunicationEventDetails.CommunicationEventDetails); 233 } 234 235 /** 236 * Create a detached, initialised CommunicationEventDetails 237 */ 238 public CommunicationEventDetails(CommunicationEventDetailPK CommunicationEventDetail, CommunicationEventPK CommunicationEvent, String CommunicationEventName, CommunicationEventTypePK CommunicationEventType, CommunicationSourcePK CommunicationSource, CommunicationEventPurposePK CommunicationEventPurpose, CommunicationEventPK OriginalCommunicationEvent, CommunicationEventPK ParentCommunicationEvent, PartyContactMechanismPK PartyContactMechanism, DocumentPK Document, Long FromTime, Long ThruTime) { 239 super(com.echothree.model.jooq.server.tables.communication.CommunicationEventDetails.CommunicationEventDetails); 240 241 CommunicationEventDetail(CommunicationEventDetail); 242 CommunicationEvent(CommunicationEvent); 243 CommunicationEventName(CommunicationEventName); 244 CommunicationEventType(CommunicationEventType); 245 CommunicationSource(CommunicationSource); 246 CommunicationEventPurpose(CommunicationEventPurpose); 247 OriginalCommunicationEvent(OriginalCommunicationEvent); 248 ParentCommunicationEvent(ParentCommunicationEvent); 249 PartyContactMechanism(PartyContactMechanism); 250 Document(Document); 251 FromTime(FromTime); 252 ThruTime(ThruTime); 253 resetTouchedOnNotNull(); 254 } 255}