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.BatchAliasPK; 008import com.echothree.model.data.batch.common.pk.BatchAliasTypePK; 009import com.echothree.model.data.batch.common.pk.BatchPK; 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 BatchAliases extends UpdatableRecordImpl<BatchAliases> { 020 021 private static final long serialVersionUID = 1L; 022 023 /** 024 * Setter for <code>batchaliases.btchal_batchaliasid</code>. 025 */ 026 public void BatchAlias(BatchAliasPK value) { 027 set(0, value); 028 } 029 030 /** 031 * Getter for <code>batchaliases.btchal_batchaliasid</code>. 032 */ 033 public BatchAliasPK BatchAlias() { 034 return (BatchAliasPK) get(0); 035 } 036 037 /** 038 * Setter for <code>batchaliases.btchal_btch_batchid</code>. 039 */ 040 public void Batch(BatchPK value) { 041 set(1, value); 042 } 043 044 /** 045 * Getter for <code>batchaliases.btchal_btch_batchid</code>. 046 */ 047 public BatchPK Batch() { 048 return (BatchPK) get(1); 049 } 050 051 /** 052 * Setter for <code>batchaliases.btchal_btchat_batchaliastypeid</code>. 053 */ 054 public void BatchAliasType(BatchAliasTypePK value) { 055 set(2, value); 056 } 057 058 /** 059 * Getter for <code>batchaliases.btchal_btchat_batchaliastypeid</code>. 060 */ 061 public BatchAliasTypePK BatchAliasType() { 062 return (BatchAliasTypePK) get(2); 063 } 064 065 /** 066 * Setter for <code>batchaliases.btchal_alias</code>. 067 */ 068 public void Alias(String value) { 069 set(3, value); 070 } 071 072 /** 073 * Getter for <code>batchaliases.btchal_alias</code>. 074 */ 075 public String Alias() { 076 return (String) get(3); 077 } 078 079 /** 080 * Setter for <code>batchaliases.btchal_fromtime</code>. 081 */ 082 public void FromTime(Long value) { 083 set(4, value); 084 } 085 086 /** 087 * Getter for <code>batchaliases.btchal_fromtime</code>. 088 */ 089 public Long FromTime() { 090 return (Long) get(4); 091 } 092 093 /** 094 * Setter for <code>batchaliases.btchal_thrutime</code>. 095 */ 096 public void ThruTime(Long value) { 097 set(5, value); 098 } 099 100 /** 101 * Getter for <code>batchaliases.btchal_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<BatchAliasPK> key() { 113 return (Record1) super.key(); 114 } 115 116 // ------------------------------------------------------------------------- 117 // Constructors 118 // ------------------------------------------------------------------------- 119 120 /** 121 * Create a detached BatchAliases 122 */ 123 public BatchAliases() { 124 super(com.echothree.model.jooq.server.tables.batch.BatchAliases.BatchAliases); 125 } 126 127 /** 128 * Create a detached, initialised BatchAliases 129 */ 130 public BatchAliases(BatchAliasPK BatchAlias, BatchPK Batch, BatchAliasTypePK BatchAliasType, String Alias, Long FromTime, Long ThruTime) { 131 super(com.echothree.model.jooq.server.tables.batch.BatchAliases.BatchAliases); 132 133 BatchAlias(BatchAlias); 134 Batch(Batch); 135 BatchAliasType(BatchAliasType); 136 Alias(Alias); 137 FromTime(FromTime); 138 ThruTime(ThruTime); 139 resetTouchedOnNotNull(); 140 } 141}