001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.invoice; 005 006 007import com.echothree.model.data.accounting.common.pk.GlAccountPK; 008import com.echothree.model.data.invoice.common.pk.InvoiceDetailPK; 009import com.echothree.model.data.invoice.common.pk.InvoicePK; 010import com.echothree.model.data.invoice.common.pk.InvoiceTypePK; 011import com.echothree.model.data.payment.common.pk.BillingAccountPK; 012import com.echothree.model.data.shipment.common.pk.FreeOnBoardPK; 013import com.echothree.model.data.term.common.pk.TermPK; 014 015import org.jooq.Record1; 016import org.jooq.impl.UpdatableRecordImpl; 017 018 019/** 020 * This class is generated by jOOQ. 021 */ 022@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 023public class InvoiceDetails extends UpdatableRecordImpl<InvoiceDetails> { 024 025 private static final long serialVersionUID = 1L; 026 027 /** 028 * Setter for <code>invoicedetails.invcdt_invoicedetailid</code>. 029 */ 030 public void InvoiceDetail(InvoiceDetailPK value) { 031 set(0, value); 032 } 033 034 /** 035 * Getter for <code>invoicedetails.invcdt_invoicedetailid</code>. 036 */ 037 public InvoiceDetailPK InvoiceDetail() { 038 return (InvoiceDetailPK) get(0); 039 } 040 041 /** 042 * Setter for <code>invoicedetails.invcdt_invc_invoiceid</code>. 043 */ 044 public void Invoice(InvoicePK value) { 045 set(1, value); 046 } 047 048 /** 049 * Getter for <code>invoicedetails.invcdt_invc_invoiceid</code>. 050 */ 051 public InvoicePK Invoice() { 052 return (InvoicePK) get(1); 053 } 054 055 /** 056 * Setter for <code>invoicedetails.invcdt_invctyp_invoicetypeid</code>. 057 */ 058 public void InvoiceType(InvoiceTypePK value) { 059 set(2, value); 060 } 061 062 /** 063 * Getter for <code>invoicedetails.invcdt_invctyp_invoicetypeid</code>. 064 */ 065 public InvoiceTypePK InvoiceType() { 066 return (InvoiceTypePK) get(2); 067 } 068 069 /** 070 * Setter for <code>invoicedetails.invcdt_invoicename</code>. 071 */ 072 public void InvoiceName(String value) { 073 set(3, value); 074 } 075 076 /** 077 * Getter for <code>invoicedetails.invcdt_invoicename</code>. 078 */ 079 public String InvoiceName() { 080 return (String) get(3); 081 } 082 083 /** 084 * Setter for <code>invoicedetails.invcdt_bllact_billingaccountid</code>. 085 */ 086 public void BillingAccount(BillingAccountPK value) { 087 set(4, value); 088 } 089 090 /** 091 * Getter for <code>invoicedetails.invcdt_bllact_billingaccountid</code>. 092 */ 093 public BillingAccountPK BillingAccount() { 094 return (BillingAccountPK) get(4); 095 } 096 097 /** 098 * Setter for <code>invoicedetails.invcdt_gla_glaccountid</code>. 099 */ 100 public void GlAccount(GlAccountPK value) { 101 set(5, value); 102 } 103 104 /** 105 * Getter for <code>invoicedetails.invcdt_gla_glaccountid</code>. 106 */ 107 public GlAccountPK GlAccount() { 108 return (GlAccountPK) get(5); 109 } 110 111 /** 112 * Setter for <code>invoicedetails.invcdt_trm_termid</code>. 113 */ 114 public void Term(TermPK value) { 115 set(6, value); 116 } 117 118 /** 119 * Getter for <code>invoicedetails.invcdt_trm_termid</code>. 120 */ 121 public TermPK Term() { 122 return (TermPK) get(6); 123 } 124 125 /** 126 * Setter for <code>invoicedetails.invcdt_fob_freeonboardid</code>. 127 */ 128 public void FreeOnBoard(FreeOnBoardPK value) { 129 set(7, value); 130 } 131 132 /** 133 * Getter for <code>invoicedetails.invcdt_fob_freeonboardid</code>. 134 */ 135 public FreeOnBoardPK FreeOnBoard() { 136 return (FreeOnBoardPK) get(7); 137 } 138 139 /** 140 * Setter for <code>invoicedetails.invcdt_reference</code>. 141 */ 142 public void Reference(String value) { 143 set(8, value); 144 } 145 146 /** 147 * Getter for <code>invoicedetails.invcdt_reference</code>. 148 */ 149 public String Reference() { 150 return (String) get(8); 151 } 152 153 /** 154 * Setter for <code>invoicedetails.invcdt_description</code>. 155 */ 156 public void Description(String value) { 157 set(9, value); 158 } 159 160 /** 161 * Getter for <code>invoicedetails.invcdt_description</code>. 162 */ 163 public String Description() { 164 return (String) get(9); 165 } 166 167 /** 168 * Setter for <code>invoicedetails.invcdt_fromtime</code>. 169 */ 170 public void FromTime(Long value) { 171 set(10, value); 172 } 173 174 /** 175 * Getter for <code>invoicedetails.invcdt_fromtime</code>. 176 */ 177 public Long FromTime() { 178 return (Long) get(10); 179 } 180 181 /** 182 * Setter for <code>invoicedetails.invcdt_thrutime</code>. 183 */ 184 public void ThruTime(Long value) { 185 set(11, value); 186 } 187 188 /** 189 * Getter for <code>invoicedetails.invcdt_thrutime</code>. 190 */ 191 public Long ThruTime() { 192 return (Long) get(11); 193 } 194 195 // ------------------------------------------------------------------------- 196 // Primary key information 197 // ------------------------------------------------------------------------- 198 199 @Override 200 public Record1<InvoiceDetailPK> key() { 201 return (Record1) super.key(); 202 } 203 204 // ------------------------------------------------------------------------- 205 // Constructors 206 // ------------------------------------------------------------------------- 207 208 /** 209 * Create a detached InvoiceDetails 210 */ 211 public InvoiceDetails() { 212 super(com.echothree.model.jooq.server.tables.invoice.InvoiceDetails.InvoiceDetails); 213 } 214 215 /** 216 * Create a detached, initialised InvoiceDetails 217 */ 218 public InvoiceDetails(InvoiceDetailPK InvoiceDetail, InvoicePK Invoice, InvoiceTypePK InvoiceType, String InvoiceName, BillingAccountPK BillingAccount, GlAccountPK GlAccount, TermPK Term, FreeOnBoardPK FreeOnBoard, String Reference, String Description, Long FromTime, Long ThruTime) { 219 super(com.echothree.model.jooq.server.tables.invoice.InvoiceDetails.InvoiceDetails); 220 221 InvoiceDetail(InvoiceDetail); 222 Invoice(Invoice); 223 InvoiceType(InvoiceType); 224 InvoiceName(InvoiceName); 225 BillingAccount(BillingAccount); 226 GlAccount(GlAccount); 227 Term(Term); 228 FreeOnBoard(FreeOnBoard); 229 Reference(Reference); 230 Description(Description); 231 FromTime(FromTime); 232 ThruTime(ThruTime); 233 resetTouchedOnNotNull(); 234 } 235}