001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.item; 005 006 007import com.echothree.model.data.item.common.pk.HarmonizedTariffScheduleCodeDetailPK; 008import com.echothree.model.data.item.common.pk.HarmonizedTariffScheduleCodePK; 009 010import org.jooq.Record1; 011import org.jooq.impl.UpdatableRecordImpl; 012 013 014/** 015 * This class is generated by jOOQ. 016 */ 017@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 018public class HarmonizedTariffScheduleCodes extends UpdatableRecordImpl<HarmonizedTariffScheduleCodes> { 019 020 private static final long serialVersionUID = 1L; 021 022 /** 023 * Setter for 024 * <code>harmonizedtariffschedulecodes.hztsc_harmonizedtariffschedulecodeid</code>. 025 */ 026 public void HarmonizedTariffScheduleCode(HarmonizedTariffScheduleCodePK value) { 027 set(0, value); 028 } 029 030 /** 031 * Getter for 032 * <code>harmonizedtariffschedulecodes.hztsc_harmonizedtariffschedulecodeid</code>. 033 */ 034 public HarmonizedTariffScheduleCodePK HarmonizedTariffScheduleCode() { 035 return (HarmonizedTariffScheduleCodePK) get(0); 036 } 037 038 /** 039 * Setter for 040 * <code>harmonizedtariffschedulecodes.hztsc_activedetailid</code>. 041 */ 042 public void ActiveDetail(HarmonizedTariffScheduleCodeDetailPK value) { 043 set(1, value); 044 } 045 046 /** 047 * Getter for 048 * <code>harmonizedtariffschedulecodes.hztsc_activedetailid</code>. 049 */ 050 public HarmonizedTariffScheduleCodeDetailPK ActiveDetail() { 051 return (HarmonizedTariffScheduleCodeDetailPK) get(1); 052 } 053 054 /** 055 * Setter for <code>harmonizedtariffschedulecodes.hztsc_lastdetailid</code>. 056 */ 057 public void LastDetail(HarmonizedTariffScheduleCodeDetailPK value) { 058 set(2, value); 059 } 060 061 /** 062 * Getter for <code>harmonizedtariffschedulecodes.hztsc_lastdetailid</code>. 063 */ 064 public HarmonizedTariffScheduleCodeDetailPK LastDetail() { 065 return (HarmonizedTariffScheduleCodeDetailPK) get(2); 066 } 067 068 // ------------------------------------------------------------------------- 069 // Primary key information 070 // ------------------------------------------------------------------------- 071 072 @Override 073 public Record1<HarmonizedTariffScheduleCodePK> key() { 074 return (Record1) super.key(); 075 } 076 077 // ------------------------------------------------------------------------- 078 // Constructors 079 // ------------------------------------------------------------------------- 080 081 /** 082 * Create a detached HarmonizedTariffScheduleCodes 083 */ 084 public HarmonizedTariffScheduleCodes() { 085 super(com.echothree.model.jooq.server.tables.item.HarmonizedTariffScheduleCodes.HarmonizedTariffScheduleCodes); 086 } 087 088 /** 089 * Create a detached, initialised HarmonizedTariffScheduleCodes 090 */ 091 public HarmonizedTariffScheduleCodes(HarmonizedTariffScheduleCodePK HarmonizedTariffScheduleCode, HarmonizedTariffScheduleCodeDetailPK ActiveDetail, HarmonizedTariffScheduleCodeDetailPK LastDetail) { 092 super(com.echothree.model.jooq.server.tables.item.HarmonizedTariffScheduleCodes.HarmonizedTariffScheduleCodes); 093 094 HarmonizedTariffScheduleCode(HarmonizedTariffScheduleCode); 095 ActiveDetail(ActiveDetail); 096 LastDetail(LastDetail); 097 resetTouchedOnNotNull(); 098 } 099}