001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.batch; 005 006 007import com.echothree.model.data.batch.common.pk.BatchDetailPK; 008import com.echothree.model.data.batch.common.pk.BatchPK; 009import com.echothree.model.data.batch.common.pk.BatchTypePK; 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 BatchDetails extends UpdatableRecordImpl<BatchDetails> { 020 021 private static final long serialVersionUID = 1L; 022 023 /** 024 * Setter for <code>batchdetails.btchdt_batchdetailid</code>. 025 */ 026 public void BatchDetail(BatchDetailPK value) { 027 set(0, value); 028 } 029 030 /** 031 * Getter for <code>batchdetails.btchdt_batchdetailid</code>. 032 */ 033 public BatchDetailPK BatchDetail() { 034 return (BatchDetailPK) get(0); 035 } 036 037 /** 038 * Setter for <code>batchdetails.btchdt_btch_batchid</code>. 039 */ 040 public void Batch(BatchPK value) { 041 set(1, value); 042 } 043 044 /** 045 * Getter for <code>batchdetails.btchdt_btch_batchid</code>. 046 */ 047 public BatchPK Batch() { 048 return (BatchPK) get(1); 049 } 050 051 /** 052 * Setter for <code>batchdetails.btchdt_btchtyp_batchtypeid</code>. 053 */ 054 public void BatchType(BatchTypePK value) { 055 set(2, value); 056 } 057 058 /** 059 * Getter for <code>batchdetails.btchdt_btchtyp_batchtypeid</code>. 060 */ 061 public BatchTypePK BatchType() { 062 return (BatchTypePK) get(2); 063 } 064 065 /** 066 * Setter for <code>batchdetails.btchdt_batchname</code>. 067 */ 068 public void BatchName(String value) { 069 set(3, value); 070 } 071 072 /** 073 * Getter for <code>batchdetails.btchdt_batchname</code>. 074 */ 075 public String BatchName() { 076 return (String) get(3); 077 } 078 079 /** 080 * Setter for <code>batchdetails.btchdt_fromtime</code>. 081 */ 082 public void FromTime(Long value) { 083 set(4, value); 084 } 085 086 /** 087 * Getter for <code>batchdetails.btchdt_fromtime</code>. 088 */ 089 public Long FromTime() { 090 return (Long) get(4); 091 } 092 093 /** 094 * Setter for <code>batchdetails.btchdt_thrutime</code>. 095 */ 096 public void ThruTime(Long value) { 097 set(5, value); 098 } 099 100 /** 101 * Getter for <code>batchdetails.btchdt_thrutime</code>. 102 */ 103 public Long ThruTime() { 104 return (Long) get(5); 105 } 106 107 // ------------------------------------------------------------------------- 108 // Primary key information 109 // ------------------------------------------------------------------------- 110 111 @Override 112 public Record1<BatchDetailPK> key() { 113 return (Record1) super.key(); 114 } 115 116 // ------------------------------------------------------------------------- 117 // Constructors 118 // ------------------------------------------------------------------------- 119 120 /** 121 * Create a detached BatchDetails 122 */ 123 public BatchDetails() { 124 super(com.echothree.model.jooq.server.tables.batch.BatchDetails.BatchDetails); 125 } 126 127 /** 128 * Create a detached, initialised BatchDetails 129 */ 130 public BatchDetails(BatchDetailPK BatchDetail, BatchPK Batch, BatchTypePK BatchType, String BatchName, Long FromTime, Long ThruTime) { 131 super(com.echothree.model.jooq.server.tables.batch.BatchDetails.BatchDetails); 132 133 BatchDetail(BatchDetail); 134 Batch(Batch); 135 BatchType(BatchType); 136 BatchName(BatchName); 137 FromTime(FromTime); 138 ThruTime(ThruTime); 139 resetTouchedOnNotNull(); 140 } 141}