001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.tax;
005
006
007import com.echothree.model.data.geo.common.pk.GeoCodePK;
008import com.echothree.model.data.tax.common.pk.GeoCodeTaxPK;
009import com.echothree.model.data.tax.common.pk.TaxPK;
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 GeoCodeTaxes extends UpdatableRecordImpl<GeoCodeTaxes> {
020
021    private static final long serialVersionUID = 1L;
022
023    /**
024     * Setter for <code>geocodetaxes.geotx_geocodetaxid</code>.
025     */
026    public void GeoCodeTax(GeoCodeTaxPK value) {
027        set(0, value);
028    }
029
030    /**
031     * Getter for <code>geocodetaxes.geotx_geocodetaxid</code>.
032     */
033    public GeoCodeTaxPK GeoCodeTax() {
034        return (GeoCodeTaxPK) get(0);
035    }
036
037    /**
038     * Setter for <code>geocodetaxes.geotx_geo_geocodeid</code>.
039     */
040    public void GeoCode(GeoCodePK value) {
041        set(1, value);
042    }
043
044    /**
045     * Getter for <code>geocodetaxes.geotx_geo_geocodeid</code>.
046     */
047    public GeoCodePK GeoCode() {
048        return (GeoCodePK) get(1);
049    }
050
051    /**
052     * Setter for <code>geocodetaxes.geotx_tx_taxid</code>.
053     */
054    public void Tax(TaxPK value) {
055        set(2, value);
056    }
057
058    /**
059     * Getter for <code>geocodetaxes.geotx_tx_taxid</code>.
060     */
061    public TaxPK Tax() {
062        return (TaxPK) get(2);
063    }
064
065    /**
066     * Setter for <code>geocodetaxes.geotx_fromtime</code>.
067     */
068    public void FromTime(Long value) {
069        set(3, value);
070    }
071
072    /**
073     * Getter for <code>geocodetaxes.geotx_fromtime</code>.
074     */
075    public Long FromTime() {
076        return (Long) get(3);
077    }
078
079    /**
080     * Setter for <code>geocodetaxes.geotx_thrutime</code>.
081     */
082    public void ThruTime(Long value) {
083        set(4, value);
084    }
085
086    /**
087     * Getter for <code>geocodetaxes.geotx_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<GeoCodeTaxPK> key() {
099        return (Record1) super.key();
100    }
101
102    // -------------------------------------------------------------------------
103    // Constructors
104    // -------------------------------------------------------------------------
105
106    /**
107     * Create a detached GeoCodeTaxes
108     */
109    public GeoCodeTaxes() {
110        super(com.echothree.model.jooq.server.tables.tax.GeoCodeTaxes.GeoCodeTaxes);
111    }
112
113    /**
114     * Create a detached, initialised GeoCodeTaxes
115     */
116    public GeoCodeTaxes(GeoCodeTaxPK GeoCodeTax, GeoCodePK GeoCode, TaxPK Tax, Long FromTime, Long ThruTime) {
117        super(com.echothree.model.jooq.server.tables.tax.GeoCodeTaxes.GeoCodeTaxes);
118
119        GeoCodeTax(GeoCodeTax);
120        GeoCode(GeoCode);
121        Tax(Tax);
122        FromTime(FromTime);
123        ThruTime(ThruTime);
124        resetTouchedOnNotNull();
125    }
126}