001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.invoice; 005 006 007import com.echothree.model.data.contact.common.pk.PartyContactMechanismPK; 008import com.echothree.model.data.invoice.common.pk.InvoicePK; 009import com.echothree.model.data.invoice.common.pk.InvoiceRolePK; 010import com.echothree.model.data.invoice.common.pk.InvoiceRoleTypePK; 011import com.echothree.model.data.party.common.pk.PartyPK; 012 013import org.jooq.Record1; 014import org.jooq.impl.UpdatableRecordImpl; 015 016 017/** 018 * This class is generated by jOOQ. 019 */ 020@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 021public class InvoiceRoles extends UpdatableRecordImpl<InvoiceRoles> { 022 023 private static final long serialVersionUID = 1L; 024 025 /** 026 * Setter for <code>invoiceroles.invcr_invoiceroleid</code>. 027 */ 028 public void InvoiceRole(InvoiceRolePK value) { 029 set(0, value); 030 } 031 032 /** 033 * Getter for <code>invoiceroles.invcr_invoiceroleid</code>. 034 */ 035 public InvoiceRolePK InvoiceRole() { 036 return (InvoiceRolePK) get(0); 037 } 038 039 /** 040 * Setter for <code>invoiceroles.invcr_invc_invoiceid</code>. 041 */ 042 public void Invoice(InvoicePK value) { 043 set(1, value); 044 } 045 046 /** 047 * Getter for <code>invoiceroles.invcr_invc_invoiceid</code>. 048 */ 049 public InvoicePK Invoice() { 050 return (InvoicePK) get(1); 051 } 052 053 /** 054 * Setter for <code>invoiceroles.invcr_par_partyid</code>. 055 */ 056 public void Party(PartyPK value) { 057 set(2, value); 058 } 059 060 /** 061 * Getter for <code>invoiceroles.invcr_par_partyid</code>. 062 */ 063 public PartyPK Party() { 064 return (PartyPK) get(2); 065 } 066 067 /** 068 * Setter for <code>invoiceroles.invcr_pcm_partycontactmechanismid</code>. 069 */ 070 public void PartyContactMechanism(PartyContactMechanismPK value) { 071 set(3, value); 072 } 073 074 /** 075 * Getter for <code>invoiceroles.invcr_pcm_partycontactmechanismid</code>. 076 */ 077 public PartyContactMechanismPK PartyContactMechanism() { 078 return (PartyContactMechanismPK) get(3); 079 } 080 081 /** 082 * Setter for <code>invoiceroles.invcr_invcrtyp_invoiceroletypeid</code>. 083 */ 084 public void InvoiceRoleType(InvoiceRoleTypePK value) { 085 set(4, value); 086 } 087 088 /** 089 * Getter for <code>invoiceroles.invcr_invcrtyp_invoiceroletypeid</code>. 090 */ 091 public InvoiceRoleTypePK InvoiceRoleType() { 092 return (InvoiceRoleTypePK) get(4); 093 } 094 095 /** 096 * Setter for <code>invoiceroles.invcr_fromtime</code>. 097 */ 098 public void FromTime(Long value) { 099 set(5, value); 100 } 101 102 /** 103 * Getter for <code>invoiceroles.invcr_fromtime</code>. 104 */ 105 public Long FromTime() { 106 return (Long) get(5); 107 } 108 109 /** 110 * Setter for <code>invoiceroles.invcr_thrutime</code>. 111 */ 112 public void ThruTime(Long value) { 113 set(6, value); 114 } 115 116 /** 117 * Getter for <code>invoiceroles.invcr_thrutime</code>. 118 */ 119 public Long ThruTime() { 120 return (Long) get(6); 121 } 122 123 // ------------------------------------------------------------------------- 124 // Primary key information 125 // ------------------------------------------------------------------------- 126 127 @Override 128 public Record1<InvoiceRolePK> key() { 129 return (Record1) super.key(); 130 } 131 132 // ------------------------------------------------------------------------- 133 // Constructors 134 // ------------------------------------------------------------------------- 135 136 /** 137 * Create a detached InvoiceRoles 138 */ 139 public InvoiceRoles() { 140 super(com.echothree.model.jooq.server.tables.invoice.InvoiceRoles.InvoiceRoles); 141 } 142 143 /** 144 * Create a detached, initialised InvoiceRoles 145 */ 146 public InvoiceRoles(InvoiceRolePK InvoiceRole, InvoicePK Invoice, PartyPK Party, PartyContactMechanismPK PartyContactMechanism, InvoiceRoleTypePK InvoiceRoleType, Long FromTime, Long ThruTime) { 147 super(com.echothree.model.jooq.server.tables.invoice.InvoiceRoles.InvoiceRoles); 148 149 InvoiceRole(InvoiceRole); 150 Invoice(Invoice); 151 Party(Party); 152 PartyContactMechanism(PartyContactMechanism); 153 InvoiceRoleType(InvoiceRoleType); 154 FromTime(FromTime); 155 ThruTime(ThruTime); 156 resetTouchedOnNotNull(); 157 } 158}