001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.payment; 005 006 007import com.echothree.model.data.payment.common.pk.PaymentDeductionDetailPK; 008import com.echothree.model.data.payment.common.pk.PaymentDeductionPK; 009import com.echothree.model.data.payment.common.pk.PaymentDeductionTypePK; 010import com.echothree.model.data.payment.common.pk.PaymentPK; 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 PaymentDeductionDetails extends UpdatableRecordImpl<PaymentDeductionDetails> { 021 022 private static final long serialVersionUID = 1L; 023 024 /** 025 * Setter for 026 * <code>paymentdeductiondetails.pymtddcdt_paymentdeductiondetailid</code>. 027 */ 028 public void PaymentDeductionDetail(PaymentDeductionDetailPK value) { 029 set(0, value); 030 } 031 032 /** 033 * Getter for 034 * <code>paymentdeductiondetails.pymtddcdt_paymentdeductiondetailid</code>. 035 */ 036 public PaymentDeductionDetailPK PaymentDeductionDetail() { 037 return (PaymentDeductionDetailPK) get(0); 038 } 039 040 /** 041 * Setter for 042 * <code>paymentdeductiondetails.pymtddcdt_pymtddc_paymentdeductionid</code>. 043 */ 044 public void PaymentDeduction(PaymentDeductionPK value) { 045 set(1, value); 046 } 047 048 /** 049 * Getter for 050 * <code>paymentdeductiondetails.pymtddcdt_pymtddc_paymentdeductionid</code>. 051 */ 052 public PaymentDeductionPK PaymentDeduction() { 053 return (PaymentDeductionPK) get(1); 054 } 055 056 /** 057 * Setter for 058 * <code>paymentdeductiondetails.pymtddcdt_paymentdeductionname</code>. 059 */ 060 public void PaymentDeductionName(String value) { 061 set(2, value); 062 } 063 064 /** 065 * Getter for 066 * <code>paymentdeductiondetails.pymtddcdt_paymentdeductionname</code>. 067 */ 068 public String PaymentDeductionName() { 069 return (String) get(2); 070 } 071 072 /** 073 * Setter for 074 * <code>paymentdeductiondetails.pymtddcdt_pymtddctyp_paymentdeductiontypeid</code>. 075 */ 076 public void PaymentDeductionType(PaymentDeductionTypePK value) { 077 set(3, value); 078 } 079 080 /** 081 * Getter for 082 * <code>paymentdeductiondetails.pymtddcdt_pymtddctyp_paymentdeductiontypeid</code>. 083 */ 084 public PaymentDeductionTypePK PaymentDeductionType() { 085 return (PaymentDeductionTypePK) get(3); 086 } 087 088 /** 089 * Setter for <code>paymentdeductiondetails.pymtddcdt_pymt_paymentid</code>. 090 */ 091 public void Payment(PaymentPK value) { 092 set(4, value); 093 } 094 095 /** 096 * Getter for <code>paymentdeductiondetails.pymtddcdt_pymt_paymentid</code>. 097 */ 098 public PaymentPK Payment() { 099 return (PaymentPK) get(4); 100 } 101 102 /** 103 * Setter for <code>paymentdeductiondetails.pymtddcdt_amount</code>. 104 */ 105 public void Amount(Long value) { 106 set(5, value); 107 } 108 109 /** 110 * Getter for <code>paymentdeductiondetails.pymtddcdt_amount</code>. 111 */ 112 public Long Amount() { 113 return (Long) get(5); 114 } 115 116 /** 117 * Setter for <code>paymentdeductiondetails.pymtddcdt_fromtime</code>. 118 */ 119 public void FromTime(Long value) { 120 set(6, value); 121 } 122 123 /** 124 * Getter for <code>paymentdeductiondetails.pymtddcdt_fromtime</code>. 125 */ 126 public Long FromTime() { 127 return (Long) get(6); 128 } 129 130 /** 131 * Setter for <code>paymentdeductiondetails.pymtddcdt_thrutime</code>. 132 */ 133 public void ThruTime(Long value) { 134 set(7, value); 135 } 136 137 /** 138 * Getter for <code>paymentdeductiondetails.pymtddcdt_thrutime</code>. 139 */ 140 public Long ThruTime() { 141 return (Long) get(7); 142 } 143 144 // ------------------------------------------------------------------------- 145 // Primary key information 146 // ------------------------------------------------------------------------- 147 148 @Override 149 public Record1<PaymentDeductionDetailPK> key() { 150 return (Record1) super.key(); 151 } 152 153 // ------------------------------------------------------------------------- 154 // Constructors 155 // ------------------------------------------------------------------------- 156 157 /** 158 * Create a detached PaymentDeductionDetails 159 */ 160 public PaymentDeductionDetails() { 161 super(com.echothree.model.jooq.server.tables.payment.PaymentDeductionDetails.PaymentDeductionDetails); 162 } 163 164 /** 165 * Create a detached, initialised PaymentDeductionDetails 166 */ 167 public PaymentDeductionDetails(PaymentDeductionDetailPK PaymentDeductionDetail, PaymentDeductionPK PaymentDeduction, String PaymentDeductionName, PaymentDeductionTypePK PaymentDeductionType, PaymentPK Payment, Long Amount, Long FromTime, Long ThruTime) { 168 super(com.echothree.model.jooq.server.tables.payment.PaymentDeductionDetails.PaymentDeductionDetails); 169 170 PaymentDeductionDetail(PaymentDeductionDetail); 171 PaymentDeduction(PaymentDeduction); 172 PaymentDeductionName(PaymentDeductionName); 173 PaymentDeductionType(PaymentDeductionType); 174 Payment(Payment); 175 Amount(Amount); 176 FromTime(FromTime); 177 ThruTime(ThruTime); 178 resetTouchedOnNotNull(); 179 } 180}