001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.shipment;
005
006
007import com.echothree.model.data.inventory.common.pk.InventoryConditionPK;
008import com.echothree.model.data.item.common.pk.ItemPK;
009import com.echothree.model.data.order.common.pk.OrderLinePK;
010import com.echothree.model.data.shipment.common.pk.ShipmentLineDetailPK;
011import com.echothree.model.data.shipment.common.pk.ShipmentLinePK;
012import com.echothree.model.data.shipment.common.pk.ShipmentPK;
013import com.echothree.model.data.uom.common.pk.UnitOfMeasureTypePK;
014
015import org.jooq.Record1;
016import org.jooq.impl.UpdatableRecordImpl;
017
018
019/**
020 * This class is generated by jOOQ.
021 */
022@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
023public class ShipmentLineDetails extends UpdatableRecordImpl<ShipmentLineDetails> {
024
025    private static final long serialVersionUID = 1L;
026
027    /**
028     * Setter for <code>shipmentlinedetails.shpldt_shipmentlinedetailid</code>.
029     */
030    public void ShipmentLineDetail(ShipmentLineDetailPK value) {
031        set(0, value);
032    }
033
034    /**
035     * Getter for <code>shipmentlinedetails.shpldt_shipmentlinedetailid</code>.
036     */
037    public ShipmentLineDetailPK ShipmentLineDetail() {
038        return (ShipmentLineDetailPK) get(0);
039    }
040
041    /**
042     * Setter for <code>shipmentlinedetails.shpldt_shpl_shipmentlineid</code>.
043     */
044    public void ShipmentLine(ShipmentLinePK value) {
045        set(1, value);
046    }
047
048    /**
049     * Getter for <code>shipmentlinedetails.shpldt_shpl_shipmentlineid</code>.
050     */
051    public ShipmentLinePK ShipmentLine() {
052        return (ShipmentLinePK) get(1);
053    }
054
055    /**
056     * Setter for <code>shipmentlinedetails.shpldt_shp_shipmentid</code>.
057     */
058    public void Shipment(ShipmentPK value) {
059        set(2, value);
060    }
061
062    /**
063     * Getter for <code>shipmentlinedetails.shpldt_shp_shipmentid</code>.
064     */
065    public ShipmentPK Shipment() {
066        return (ShipmentPK) get(2);
067    }
068
069    /**
070     * Setter for <code>shipmentlinedetails.shpldt_shipmentlinesequence</code>.
071     */
072    public void ShipmentLineSequence(Integer value) {
073        set(3, value);
074    }
075
076    /**
077     * Getter for <code>shipmentlinedetails.shpldt_shipmentlinesequence</code>.
078     */
079    public Integer ShipmentLineSequence() {
080        return (Integer) get(3);
081    }
082
083    /**
084     * Setter for <code>shipmentlinedetails.shpldt_parentshipmentlineid</code>.
085     */
086    public void ParentShipmentLine(ShipmentLinePK value) {
087        set(4, value);
088    }
089
090    /**
091     * Getter for <code>shipmentlinedetails.shpldt_parentshipmentlineid</code>.
092     */
093    public ShipmentLinePK ParentShipmentLine() {
094        return (ShipmentLinePK) get(4);
095    }
096
097    /**
098     * Setter for <code>shipmentlinedetails.shpldt_ordl_orderlineid</code>.
099     */
100    public void OrderLine(OrderLinePK value) {
101        set(5, value);
102    }
103
104    /**
105     * Getter for <code>shipmentlinedetails.shpldt_ordl_orderlineid</code>.
106     */
107    public OrderLinePK OrderLine() {
108        return (OrderLinePK) get(5);
109    }
110
111    /**
112     * Setter for <code>shipmentlinedetails.shpldt_itm_itemid</code>.
113     */
114    public void Item(ItemPK value) {
115        set(6, value);
116    }
117
118    /**
119     * Getter for <code>shipmentlinedetails.shpldt_itm_itemid</code>.
120     */
121    public ItemPK Item() {
122        return (ItemPK) get(6);
123    }
124
125    /**
126     * Setter for
127     * <code>shipmentlinedetails.shpldt_invcon_inventoryconditionid</code>.
128     */
129    public void InventoryCondition(InventoryConditionPK value) {
130        set(7, value);
131    }
132
133    /**
134     * Getter for
135     * <code>shipmentlinedetails.shpldt_invcon_inventoryconditionid</code>.
136     */
137    public InventoryConditionPK InventoryCondition() {
138        return (InventoryConditionPK) get(7);
139    }
140
141    /**
142     * Setter for
143     * <code>shipmentlinedetails.shpldt_uomt_unitofmeasuretypeid</code>.
144     */
145    public void UnitOfMeasureType(UnitOfMeasureTypePK value) {
146        set(8, value);
147    }
148
149    /**
150     * Getter for
151     * <code>shipmentlinedetails.shpldt_uomt_unitofmeasuretypeid</code>.
152     */
153    public UnitOfMeasureTypePK UnitOfMeasureType() {
154        return (UnitOfMeasureTypePK) get(8);
155    }
156
157    /**
158     * Setter for <code>shipmentlinedetails.shpldt_quantity</code>.
159     */
160    public void Quantity(Long value) {
161        set(9, value);
162    }
163
164    /**
165     * Getter for <code>shipmentlinedetails.shpldt_quantity</code>.
166     */
167    public Long Quantity() {
168        return (Long) get(9);
169    }
170
171    /**
172     * Setter for <code>shipmentlinedetails.shpldt_fromtime</code>.
173     */
174    public void FromTime(Long value) {
175        set(10, value);
176    }
177
178    /**
179     * Getter for <code>shipmentlinedetails.shpldt_fromtime</code>.
180     */
181    public Long FromTime() {
182        return (Long) get(10);
183    }
184
185    /**
186     * Setter for <code>shipmentlinedetails.shpldt_thrutime</code>.
187     */
188    public void ThruTime(Long value) {
189        set(11, value);
190    }
191
192    /**
193     * Getter for <code>shipmentlinedetails.shpldt_thrutime</code>.
194     */
195    public Long ThruTime() {
196        return (Long) get(11);
197    }
198
199    // -------------------------------------------------------------------------
200    // Primary key information
201    // -------------------------------------------------------------------------
202
203    @Override
204    public Record1<ShipmentLineDetailPK> key() {
205        return (Record1) super.key();
206    }
207
208    // -------------------------------------------------------------------------
209    // Constructors
210    // -------------------------------------------------------------------------
211
212    /**
213     * Create a detached ShipmentLineDetails
214     */
215    public ShipmentLineDetails() {
216        super(com.echothree.model.jooq.server.tables.shipment.ShipmentLineDetails.ShipmentLineDetails);
217    }
218
219    /**
220     * Create a detached, initialised ShipmentLineDetails
221     */
222    public ShipmentLineDetails(ShipmentLineDetailPK ShipmentLineDetail, ShipmentLinePK ShipmentLine, ShipmentPK Shipment, Integer ShipmentLineSequence, ShipmentLinePK ParentShipmentLine, OrderLinePK OrderLine, ItemPK Item, InventoryConditionPK InventoryCondition, UnitOfMeasureTypePK UnitOfMeasureType, Long Quantity, Long FromTime, Long ThruTime) {
223        super(com.echothree.model.jooq.server.tables.shipment.ShipmentLineDetails.ShipmentLineDetails);
224
225        ShipmentLineDetail(ShipmentLineDetail);
226        ShipmentLine(ShipmentLine);
227        Shipment(Shipment);
228        ShipmentLineSequence(ShipmentLineSequence);
229        ParentShipmentLine(ParentShipmentLine);
230        OrderLine(OrderLine);
231        Item(Item);
232        InventoryCondition(InventoryCondition);
233        UnitOfMeasureType(UnitOfMeasureType);
234        Quantity(Quantity);
235        FromTime(FromTime);
236        ThruTime(ThruTime);
237        resetTouchedOnNotNull();
238    }
239}