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.HarmonizedTariffScheduleCodeUnitDetailPK;
008import com.echothree.model.data.item.common.pk.HarmonizedTariffScheduleCodeUnitPK;
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 HarmonizedTariffScheduleCodeUnits extends UpdatableRecordImpl<HarmonizedTariffScheduleCodeUnits> {
019
020    private static final long serialVersionUID = 1L;
021
022    /**
023     * Setter for
024     * <code>harmonizedtariffschedulecodeunits.hztscunt_harmonizedtariffschedulecodeunitid</code>.
025     */
026    public void HarmonizedTariffScheduleCodeUnit(HarmonizedTariffScheduleCodeUnitPK value) {
027        set(0, value);
028    }
029
030    /**
031     * Getter for
032     * <code>harmonizedtariffschedulecodeunits.hztscunt_harmonizedtariffschedulecodeunitid</code>.
033     */
034    public HarmonizedTariffScheduleCodeUnitPK HarmonizedTariffScheduleCodeUnit() {
035        return (HarmonizedTariffScheduleCodeUnitPK) get(0);
036    }
037
038    /**
039     * Setter for
040     * <code>harmonizedtariffschedulecodeunits.hztscunt_activedetailid</code>.
041     */
042    public void ActiveDetail(HarmonizedTariffScheduleCodeUnitDetailPK value) {
043        set(1, value);
044    }
045
046    /**
047     * Getter for
048     * <code>harmonizedtariffschedulecodeunits.hztscunt_activedetailid</code>.
049     */
050    public HarmonizedTariffScheduleCodeUnitDetailPK ActiveDetail() {
051        return (HarmonizedTariffScheduleCodeUnitDetailPK) get(1);
052    }
053
054    /**
055     * Setter for
056     * <code>harmonizedtariffschedulecodeunits.hztscunt_lastdetailid</code>.
057     */
058    public void LastDetail(HarmonizedTariffScheduleCodeUnitDetailPK value) {
059        set(2, value);
060    }
061
062    /**
063     * Getter for
064     * <code>harmonizedtariffschedulecodeunits.hztscunt_lastdetailid</code>.
065     */
066    public HarmonizedTariffScheduleCodeUnitDetailPK LastDetail() {
067        return (HarmonizedTariffScheduleCodeUnitDetailPK) get(2);
068    }
069
070    // -------------------------------------------------------------------------
071    // Primary key information
072    // -------------------------------------------------------------------------
073
074    @Override
075    public Record1<HarmonizedTariffScheduleCodeUnitPK> key() {
076        return (Record1) super.key();
077    }
078
079    // -------------------------------------------------------------------------
080    // Constructors
081    // -------------------------------------------------------------------------
082
083    /**
084     * Create a detached HarmonizedTariffScheduleCodeUnits
085     */
086    public HarmonizedTariffScheduleCodeUnits() {
087        super(com.echothree.model.jooq.server.tables.item.HarmonizedTariffScheduleCodeUnits.HarmonizedTariffScheduleCodeUnits);
088    }
089
090    /**
091     * Create a detached, initialised HarmonizedTariffScheduleCodeUnits
092     */
093    public HarmonizedTariffScheduleCodeUnits(HarmonizedTariffScheduleCodeUnitPK HarmonizedTariffScheduleCodeUnit, HarmonizedTariffScheduleCodeUnitDetailPK ActiveDetail, HarmonizedTariffScheduleCodeUnitDetailPK LastDetail) {
094        super(com.echothree.model.jooq.server.tables.item.HarmonizedTariffScheduleCodeUnits.HarmonizedTariffScheduleCodeUnits);
095
096        HarmonizedTariffScheduleCodeUnit(HarmonizedTariffScheduleCodeUnit);
097        ActiveDetail(ActiveDetail);
098        LastDetail(LastDetail);
099        resetTouchedOnNotNull();
100    }
101}