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