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.ContactMechanismPK; 008import com.echothree.model.data.contact.common.pk.PartyContactMechanismDetailPK; 009import com.echothree.model.data.contact.common.pk.PartyContactMechanismPK; 010import com.echothree.model.data.party.common.pk.PartyPK; 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 PartyContactMechanismDetails extends UpdatableRecordImpl<PartyContactMechanismDetails> { 021 022 private static final long serialVersionUID = 1L; 023 024 /** 025 * Setter for 026 * <code>partycontactmechanismdetails.pcmdt_partycontactmechanismdetailid</code>. 027 */ 028 public void PartyContactMechanismDetail(PartyContactMechanismDetailPK value) { 029 set(0, value); 030 } 031 032 /** 033 * Getter for 034 * <code>partycontactmechanismdetails.pcmdt_partycontactmechanismdetailid</code>. 035 */ 036 public PartyContactMechanismDetailPK PartyContactMechanismDetail() { 037 return (PartyContactMechanismDetailPK) get(0); 038 } 039 040 /** 041 * Setter for 042 * <code>partycontactmechanismdetails.pcmdt_pcm_partycontactmechanismid</code>. 043 */ 044 public void PartyContactMechanism(PartyContactMechanismPK value) { 045 set(1, value); 046 } 047 048 /** 049 * Getter for 050 * <code>partycontactmechanismdetails.pcmdt_pcm_partycontactmechanismid</code>. 051 */ 052 public PartyContactMechanismPK PartyContactMechanism() { 053 return (PartyContactMechanismPK) get(1); 054 } 055 056 /** 057 * Setter for <code>partycontactmechanismdetails.pcmdt_par_partyid</code>. 058 */ 059 public void Party(PartyPK value) { 060 set(2, value); 061 } 062 063 /** 064 * Getter for <code>partycontactmechanismdetails.pcmdt_par_partyid</code>. 065 */ 066 public PartyPK Party() { 067 return (PartyPK) get(2); 068 } 069 070 /** 071 * Setter for 072 * <code>partycontactmechanismdetails.pcmdt_cmch_contactmechanismid</code>. 073 */ 074 public void ContactMechanism(ContactMechanismPK value) { 075 set(3, value); 076 } 077 078 /** 079 * Getter for 080 * <code>partycontactmechanismdetails.pcmdt_cmch_contactmechanismid</code>. 081 */ 082 public ContactMechanismPK ContactMechanism() { 083 return (ContactMechanismPK) get(3); 084 } 085 086 /** 087 * Setter for <code>partycontactmechanismdetails.pcmdt_description</code>. 088 */ 089 public void Description(String value) { 090 set(4, value); 091 } 092 093 /** 094 * Getter for <code>partycontactmechanismdetails.pcmdt_description</code>. 095 */ 096 public String Description() { 097 return (String) get(4); 098 } 099 100 /** 101 * Setter for <code>partycontactmechanismdetails.pcmdt_isdefault</code>. 102 */ 103 public void IsDefault(Boolean value) { 104 set(5, value); 105 } 106 107 /** 108 * Getter for <code>partycontactmechanismdetails.pcmdt_isdefault</code>. 109 */ 110 public Boolean IsDefault() { 111 return (Boolean) get(5); 112 } 113 114 /** 115 * Setter for <code>partycontactmechanismdetails.pcmdt_sortorder</code>. 116 */ 117 public void SortOrder(Integer value) { 118 set(6, value); 119 } 120 121 /** 122 * Getter for <code>partycontactmechanismdetails.pcmdt_sortorder</code>. 123 */ 124 public Integer SortOrder() { 125 return (Integer) get(6); 126 } 127 128 /** 129 * Setter for <code>partycontactmechanismdetails.pcmdt_fromtime</code>. 130 */ 131 public void FromTime(Long value) { 132 set(7, value); 133 } 134 135 /** 136 * Getter for <code>partycontactmechanismdetails.pcmdt_fromtime</code>. 137 */ 138 public Long FromTime() { 139 return (Long) get(7); 140 } 141 142 /** 143 * Setter for <code>partycontactmechanismdetails.pcmdt_thrutime</code>. 144 */ 145 public void ThruTime(Long value) { 146 set(8, value); 147 } 148 149 /** 150 * Getter for <code>partycontactmechanismdetails.pcmdt_thrutime</code>. 151 */ 152 public Long ThruTime() { 153 return (Long) get(8); 154 } 155 156 // ------------------------------------------------------------------------- 157 // Primary key information 158 // ------------------------------------------------------------------------- 159 160 @Override 161 public Record1<PartyContactMechanismDetailPK> key() { 162 return (Record1) super.key(); 163 } 164 165 // ------------------------------------------------------------------------- 166 // Constructors 167 // ------------------------------------------------------------------------- 168 169 /** 170 * Create a detached PartyContactMechanismDetails 171 */ 172 public PartyContactMechanismDetails() { 173 super(com.echothree.model.jooq.server.tables.contact.PartyContactMechanismDetails.PartyContactMechanismDetails); 174 } 175 176 /** 177 * Create a detached, initialised PartyContactMechanismDetails 178 */ 179 public PartyContactMechanismDetails(PartyContactMechanismDetailPK PartyContactMechanismDetail, PartyContactMechanismPK PartyContactMechanism, PartyPK Party, ContactMechanismPK ContactMechanism, String Description, Boolean IsDefault, Integer SortOrder, Long FromTime, Long ThruTime) { 180 super(com.echothree.model.jooq.server.tables.contact.PartyContactMechanismDetails.PartyContactMechanismDetails); 181 182 PartyContactMechanismDetail(PartyContactMechanismDetail); 183 PartyContactMechanism(PartyContactMechanism); 184 Party(Party); 185 ContactMechanism(ContactMechanism); 186 Description(Description); 187 IsDefault(IsDefault); 188 SortOrder(SortOrder); 189 FromTime(FromTime); 190 ThruTime(ThruTime); 191 resetTouchedOnNotNull(); 192 } 193}