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