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