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