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