001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.shipping;
005
006
007import com.echothree.model.data.selector.common.pk.SelectorPK;
008import com.echothree.model.data.shipping.common.pk.ShippingMethodDetailPK;
009import com.echothree.model.data.shipping.common.pk.ShippingMethodPK;
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 ShippingMethodDetails extends UpdatableRecordImpl<ShippingMethodDetails> {
020
021    private static final long serialVersionUID = 1L;
022
023    /**
024     * Setter for
025     * <code>shippingmethoddetails.shmdt_shippingmethoddetailid</code>.
026     */
027    public void ShippingMethodDetail(ShippingMethodDetailPK value) {
028        set(0, value);
029    }
030
031    /**
032     * Getter for
033     * <code>shippingmethoddetails.shmdt_shippingmethoddetailid</code>.
034     */
035    public ShippingMethodDetailPK ShippingMethodDetail() {
036        return (ShippingMethodDetailPK) get(0);
037    }
038
039    /**
040     * Setter for <code>shippingmethoddetails.shmdt_shm_shippingmethodid</code>.
041     */
042    public void ShippingMethod(ShippingMethodPK value) {
043        set(1, value);
044    }
045
046    /**
047     * Getter for <code>shippingmethoddetails.shmdt_shm_shippingmethodid</code>.
048     */
049    public ShippingMethodPK ShippingMethod() {
050        return (ShippingMethodPK) get(1);
051    }
052
053    /**
054     * Setter for <code>shippingmethoddetails.shmdt_shippingmethodname</code>.
055     */
056    public void ShippingMethodName(String value) {
057        set(2, value);
058    }
059
060    /**
061     * Getter for <code>shippingmethoddetails.shmdt_shippingmethodname</code>.
062     */
063    public String ShippingMethodName() {
064        return (String) get(2);
065    }
066
067    /**
068     * Setter for <code>shippingmethoddetails.shmdt_geocodeselectorid</code>.
069     */
070    public void GeoCodeSelector(SelectorPK value) {
071        set(3, value);
072    }
073
074    /**
075     * Getter for <code>shippingmethoddetails.shmdt_geocodeselectorid</code>.
076     */
077    public SelectorPK GeoCodeSelector() {
078        return (SelectorPK) get(3);
079    }
080
081    /**
082     * Setter for <code>shippingmethoddetails.shmdt_itemselectorid</code>.
083     */
084    public void ItemSelector(SelectorPK value) {
085        set(4, value);
086    }
087
088    /**
089     * Getter for <code>shippingmethoddetails.shmdt_itemselectorid</code>.
090     */
091    public SelectorPK ItemSelector() {
092        return (SelectorPK) get(4);
093    }
094
095    /**
096     * Setter for <code>shippingmethoddetails.shmdt_sortorder</code>.
097     */
098    public void SortOrder(Integer value) {
099        set(5, value);
100    }
101
102    /**
103     * Getter for <code>shippingmethoddetails.shmdt_sortorder</code>.
104     */
105    public Integer SortOrder() {
106        return (Integer) get(5);
107    }
108
109    /**
110     * Setter for <code>shippingmethoddetails.shmdt_fromtime</code>.
111     */
112    public void FromTime(Long value) {
113        set(6, value);
114    }
115
116    /**
117     * Getter for <code>shippingmethoddetails.shmdt_fromtime</code>.
118     */
119    public Long FromTime() {
120        return (Long) get(6);
121    }
122
123    /**
124     * Setter for <code>shippingmethoddetails.shmdt_thrutime</code>.
125     */
126    public void ThruTime(Long value) {
127        set(7, value);
128    }
129
130    /**
131     * Getter for <code>shippingmethoddetails.shmdt_thrutime</code>.
132     */
133    public Long ThruTime() {
134        return (Long) get(7);
135    }
136
137    // -------------------------------------------------------------------------
138    // Primary key information
139    // -------------------------------------------------------------------------
140
141    @Override
142    public Record1<ShippingMethodDetailPK> key() {
143        return (Record1) super.key();
144    }
145
146    // -------------------------------------------------------------------------
147    // Constructors
148    // -------------------------------------------------------------------------
149
150    /**
151     * Create a detached ShippingMethodDetails
152     */
153    public ShippingMethodDetails() {
154        super(com.echothree.model.jooq.server.tables.shipping.ShippingMethodDetails.ShippingMethodDetails);
155    }
156
157    /**
158     * Create a detached, initialised ShippingMethodDetails
159     */
160    public ShippingMethodDetails(ShippingMethodDetailPK ShippingMethodDetail, ShippingMethodPK ShippingMethod, String ShippingMethodName, SelectorPK GeoCodeSelector, SelectorPK ItemSelector, Integer SortOrder, Long FromTime, Long ThruTime) {
161        super(com.echothree.model.jooq.server.tables.shipping.ShippingMethodDetails.ShippingMethodDetails);
162
163        ShippingMethodDetail(ShippingMethodDetail);
164        ShippingMethod(ShippingMethod);
165        ShippingMethodName(ShippingMethodName);
166        GeoCodeSelector(GeoCodeSelector);
167        ItemSelector(ItemSelector);
168        SortOrder(SortOrder);
169        FromTime(FromTime);
170        ThruTime(ThruTime);
171        resetTouchedOnNotNull();
172    }
173}