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.ContactMechanismAliasPK; 008import com.echothree.model.data.contact.common.pk.ContactMechanismAliasTypePK; 009import com.echothree.model.data.contact.common.pk.ContactMechanismPK; 010 011import org.jooq.Record1; 012import org.jooq.impl.UpdatableRecordImpl; 013 014 015/** 016 * This class is generated by jOOQ. 017 */ 018@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 019public class ContactMechanismAliases extends UpdatableRecordImpl<ContactMechanismAliases> { 020 021 private static final long serialVersionUID = 1L; 022 023 /** 024 * Setter for 025 * <code>contactmechanismaliases.cmchal_contactmechanismaliasid</code>. 026 */ 027 public void ContactMechanismAlias(ContactMechanismAliasPK value) { 028 set(0, value); 029 } 030 031 /** 032 * Getter for 033 * <code>contactmechanismaliases.cmchal_contactmechanismaliasid</code>. 034 */ 035 public ContactMechanismAliasPK ContactMechanismAlias() { 036 return (ContactMechanismAliasPK) get(0); 037 } 038 039 /** 040 * Setter for 041 * <code>contactmechanismaliases.cmchal_cmch_contactmechanismid</code>. 042 */ 043 public void ContactMechanism(ContactMechanismPK value) { 044 set(1, value); 045 } 046 047 /** 048 * Getter for 049 * <code>contactmechanismaliases.cmchal_cmch_contactmechanismid</code>. 050 */ 051 public ContactMechanismPK ContactMechanism() { 052 return (ContactMechanismPK) get(1); 053 } 054 055 /** 056 * Setter for 057 * <code>contactmechanismaliases.cmchal_cmchaltyp_contactmechanismaliastypeid</code>. 058 */ 059 public void ContactMechanismAliasType(ContactMechanismAliasTypePK value) { 060 set(2, value); 061 } 062 063 /** 064 * Getter for 065 * <code>contactmechanismaliases.cmchal_cmchaltyp_contactmechanismaliastypeid</code>. 066 */ 067 public ContactMechanismAliasTypePK ContactMechanismAliasType() { 068 return (ContactMechanismAliasTypePK) get(2); 069 } 070 071 /** 072 * Setter for <code>contactmechanismaliases.cmchal_alias</code>. 073 */ 074 public void Alias(String value) { 075 set(3, value); 076 } 077 078 /** 079 * Getter for <code>contactmechanismaliases.cmchal_alias</code>. 080 */ 081 public String Alias() { 082 return (String) get(3); 083 } 084 085 /** 086 * Setter for <code>contactmechanismaliases.cmchal_fromtime</code>. 087 */ 088 public void FromTime(Long value) { 089 set(4, value); 090 } 091 092 /** 093 * Getter for <code>contactmechanismaliases.cmchal_fromtime</code>. 094 */ 095 public Long FromTime() { 096 return (Long) get(4); 097 } 098 099 /** 100 * Setter for <code>contactmechanismaliases.cmchal_thrutime</code>. 101 */ 102 public void ThruTime(Long value) { 103 set(5, value); 104 } 105 106 /** 107 * Getter for <code>contactmechanismaliases.cmchal_thrutime</code>. 108 */ 109 public Long ThruTime() { 110 return (Long) get(5); 111 } 112 113 // ------------------------------------------------------------------------- 114 // Primary key information 115 // ------------------------------------------------------------------------- 116 117 @Override 118 public Record1<ContactMechanismAliasPK> key() { 119 return (Record1) super.key(); 120 } 121 122 // ------------------------------------------------------------------------- 123 // Constructors 124 // ------------------------------------------------------------------------- 125 126 /** 127 * Create a detached ContactMechanismAliases 128 */ 129 public ContactMechanismAliases() { 130 super(com.echothree.model.jooq.server.tables.contact.ContactMechanismAliases.ContactMechanismAliases); 131 } 132 133 /** 134 * Create a detached, initialised ContactMechanismAliases 135 */ 136 public ContactMechanismAliases(ContactMechanismAliasPK ContactMechanismAlias, ContactMechanismPK ContactMechanism, ContactMechanismAliasTypePK ContactMechanismAliasType, String Alias, Long FromTime, Long ThruTime) { 137 super(com.echothree.model.jooq.server.tables.contact.ContactMechanismAliases.ContactMechanismAliases); 138 139 ContactMechanismAlias(ContactMechanismAlias); 140 ContactMechanism(ContactMechanism); 141 ContactMechanismAliasType(ContactMechanismAliasType); 142 Alias(Alias); 143 FromTime(FromTime); 144 ThruTime(ThruTime); 145 resetTouchedOnNotNull(); 146 } 147}