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.ContactMechanismAliasTypePK; 008import com.echothree.model.data.contact.common.pk.ContactMechanismPK; 009import com.echothree.model.data.contact.common.pk.PartyContactMechanismAliasPK; 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 PartyContactMechanismAliases extends UpdatableRecordImpl<PartyContactMechanismAliases> { 021 022 private static final long serialVersionUID = 1L; 023 024 /** 025 * Setter for 026 * <code>partycontactmechanismaliases.pcmchal_partycontactmechanismaliasid</code>. 027 */ 028 public void PartyContactMechanismAlias(PartyContactMechanismAliasPK value) { 029 set(0, value); 030 } 031 032 /** 033 * Getter for 034 * <code>partycontactmechanismaliases.pcmchal_partycontactmechanismaliasid</code>. 035 */ 036 public PartyContactMechanismAliasPK PartyContactMechanismAlias() { 037 return (PartyContactMechanismAliasPK) get(0); 038 } 039 040 /** 041 * Setter for <code>partycontactmechanismaliases.pcmchal_par_partyid</code>. 042 */ 043 public void Party(PartyPK value) { 044 set(1, value); 045 } 046 047 /** 048 * Getter for <code>partycontactmechanismaliases.pcmchal_par_partyid</code>. 049 */ 050 public PartyPK Party() { 051 return (PartyPK) get(1); 052 } 053 054 /** 055 * Setter for 056 * <code>partycontactmechanismaliases.pcmchal_cmch_contactmechanismid</code>. 057 */ 058 public void ContactMechanism(ContactMechanismPK value) { 059 set(2, value); 060 } 061 062 /** 063 * Getter for 064 * <code>partycontactmechanismaliases.pcmchal_cmch_contactmechanismid</code>. 065 */ 066 public ContactMechanismPK ContactMechanism() { 067 return (ContactMechanismPK) get(2); 068 } 069 070 /** 071 * Setter for 072 * <code>partycontactmechanismaliases.pcmchal_cmchaltyp_contactmechanismaliastypeid</code>. 073 */ 074 public void ContactMechanismAliasType(ContactMechanismAliasTypePK value) { 075 set(3, value); 076 } 077 078 /** 079 * Getter for 080 * <code>partycontactmechanismaliases.pcmchal_cmchaltyp_contactmechanismaliastypeid</code>. 081 */ 082 public ContactMechanismAliasTypePK ContactMechanismAliasType() { 083 return (ContactMechanismAliasTypePK) get(3); 084 } 085 086 /** 087 * Setter for <code>partycontactmechanismaliases.pcmchal_alias</code>. 088 */ 089 public void Alias(String value) { 090 set(4, value); 091 } 092 093 /** 094 * Getter for <code>partycontactmechanismaliases.pcmchal_alias</code>. 095 */ 096 public String Alias() { 097 return (String) get(4); 098 } 099 100 /** 101 * Setter for <code>partycontactmechanismaliases.pcmchal_fromtime</code>. 102 */ 103 public void FromTime(Long value) { 104 set(5, value); 105 } 106 107 /** 108 * Getter for <code>partycontactmechanismaliases.pcmchal_fromtime</code>. 109 */ 110 public Long FromTime() { 111 return (Long) get(5); 112 } 113 114 /** 115 * Setter for <code>partycontactmechanismaliases.pcmchal_thrutime</code>. 116 */ 117 public void ThruTime(Long value) { 118 set(6, value); 119 } 120 121 /** 122 * Getter for <code>partycontactmechanismaliases.pcmchal_thrutime</code>. 123 */ 124 public Long ThruTime() { 125 return (Long) get(6); 126 } 127 128 // ------------------------------------------------------------------------- 129 // Primary key information 130 // ------------------------------------------------------------------------- 131 132 @Override 133 public Record1<PartyContactMechanismAliasPK> key() { 134 return (Record1) super.key(); 135 } 136 137 // ------------------------------------------------------------------------- 138 // Constructors 139 // ------------------------------------------------------------------------- 140 141 /** 142 * Create a detached PartyContactMechanismAliases 143 */ 144 public PartyContactMechanismAliases() { 145 super(com.echothree.model.jooq.server.tables.contact.PartyContactMechanismAliases.PartyContactMechanismAliases); 146 } 147 148 /** 149 * Create a detached, initialised PartyContactMechanismAliases 150 */ 151 public PartyContactMechanismAliases(PartyContactMechanismAliasPK PartyContactMechanismAlias, PartyPK Party, ContactMechanismPK ContactMechanism, ContactMechanismAliasTypePK ContactMechanismAliasType, String Alias, Long FromTime, Long ThruTime) { 152 super(com.echothree.model.jooq.server.tables.contact.PartyContactMechanismAliases.PartyContactMechanismAliases); 153 154 PartyContactMechanismAlias(PartyContactMechanismAlias); 155 Party(Party); 156 ContactMechanism(ContactMechanism); 157 ContactMechanismAliasType(ContactMechanismAliasType); 158 Alias(Alias); 159 FromTime(FromTime); 160 ThruTime(ThruTime); 161 resetTouchedOnNotNull(); 162 } 163}