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.InvoiceLineGlAccountPK; 009import com.echothree.model.data.invoice.common.pk.InvoiceLinePK; 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 InvoiceLineGlAccounts extends UpdatableRecordImpl<InvoiceLineGlAccounts> { 020 021 private static final long serialVersionUID = 1L; 022 023 /** 024 * Setter for 025 * <code>invoicelineglaccounts.invclgla_invoicelineglaccountid</code>. 026 */ 027 public void InvoiceLineGlAccount(InvoiceLineGlAccountPK value) { 028 set(0, value); 029 } 030 031 /** 032 * Getter for 033 * <code>invoicelineglaccounts.invclgla_invoicelineglaccountid</code>. 034 */ 035 public InvoiceLineGlAccountPK InvoiceLineGlAccount() { 036 return (InvoiceLineGlAccountPK) get(0); 037 } 038 039 /** 040 * Setter for 041 * <code>invoicelineglaccounts.invclgla_invcl_invoicelineid</code>. 042 */ 043 public void InvoiceLine(InvoiceLinePK value) { 044 set(1, value); 045 } 046 047 /** 048 * Getter for 049 * <code>invoicelineglaccounts.invclgla_invcl_invoicelineid</code>. 050 */ 051 public InvoiceLinePK InvoiceLine() { 052 return (InvoiceLinePK) get(1); 053 } 054 055 /** 056 * Setter for <code>invoicelineglaccounts.invclgla_gla_glaccountid</code>. 057 */ 058 public void GlAccount(GlAccountPK value) { 059 set(2, value); 060 } 061 062 /** 063 * Getter for <code>invoicelineglaccounts.invclgla_gla_glaccountid</code>. 064 */ 065 public GlAccountPK GlAccount() { 066 return (GlAccountPK) get(2); 067 } 068 069 /** 070 * Setter for <code>invoicelineglaccounts.invclgla_fromtime</code>. 071 */ 072 public void FromTime(Long value) { 073 set(3, value); 074 } 075 076 /** 077 * Getter for <code>invoicelineglaccounts.invclgla_fromtime</code>. 078 */ 079 public Long FromTime() { 080 return (Long) get(3); 081 } 082 083 /** 084 * Setter for <code>invoicelineglaccounts.invclgla_thrutime</code>. 085 */ 086 public void ThruTime(Long value) { 087 set(4, value); 088 } 089 090 /** 091 * Getter for <code>invoicelineglaccounts.invclgla_thrutime</code>. 092 */ 093 public Long ThruTime() { 094 return (Long) get(4); 095 } 096 097 // ------------------------------------------------------------------------- 098 // Primary key information 099 // ------------------------------------------------------------------------- 100 101 @Override 102 public Record1<InvoiceLineGlAccountPK> key() { 103 return (Record1) super.key(); 104 } 105 106 // ------------------------------------------------------------------------- 107 // Constructors 108 // ------------------------------------------------------------------------- 109 110 /** 111 * Create a detached InvoiceLineGlAccounts 112 */ 113 public InvoiceLineGlAccounts() { 114 super(com.echothree.model.jooq.server.tables.invoice.InvoiceLineGlAccounts.InvoiceLineGlAccounts); 115 } 116 117 /** 118 * Create a detached, initialised InvoiceLineGlAccounts 119 */ 120 public InvoiceLineGlAccounts(InvoiceLineGlAccountPK InvoiceLineGlAccount, InvoiceLinePK InvoiceLine, GlAccountPK GlAccount, Long FromTime, Long ThruTime) { 121 super(com.echothree.model.jooq.server.tables.invoice.InvoiceLineGlAccounts.InvoiceLineGlAccounts); 122 123 InvoiceLineGlAccount(InvoiceLineGlAccount); 124 InvoiceLine(InvoiceLine); 125 GlAccount(GlAccount); 126 FromTime(FromTime); 127 ThruTime(ThruTime); 128 resetTouchedOnNotNull(); 129 } 130}