001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.warehouse;
005
006
007import com.echothree.model.data.inventory.common.pk.InventoryLocationGroupPK;
008import com.echothree.model.data.party.common.pk.PartyPK;
009import com.echothree.model.data.warehouse.common.pk.LocationDetailPK;
010import com.echothree.model.data.warehouse.common.pk.LocationPK;
011import com.echothree.model.data.warehouse.common.pk.LocationTypePK;
012import com.echothree.model.data.warehouse.common.pk.LocationUseTypePK;
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 LocationDetails extends UpdatableRecordImpl<LocationDetails> {
023
024    private static final long serialVersionUID = 1L;
025
026    /**
027     * Setter for <code>locationdetails.locdt_locationdetailid</code>.
028     */
029    public void LocationDetail(LocationDetailPK value) {
030        set(0, value);
031    }
032
033    /**
034     * Getter for <code>locationdetails.locdt_locationdetailid</code>.
035     */
036    public LocationDetailPK LocationDetail() {
037        return (LocationDetailPK) get(0);
038    }
039
040    /**
041     * Setter for <code>locationdetails.locdt_loc_locationid</code>.
042     */
043    public void Location(LocationPK value) {
044        set(1, value);
045    }
046
047    /**
048     * Getter for <code>locationdetails.locdt_loc_locationid</code>.
049     */
050    public LocationPK Location() {
051        return (LocationPK) get(1);
052    }
053
054    /**
055     * Setter for <code>locationdetails.locdt_warehousepartyid</code>.
056     */
057    public void WarehouseParty(PartyPK value) {
058        set(2, value);
059    }
060
061    /**
062     * Getter for <code>locationdetails.locdt_warehousepartyid</code>.
063     */
064    public PartyPK WarehouseParty() {
065        return (PartyPK) get(2);
066    }
067
068    /**
069     * Setter for <code>locationdetails.locdt_locationname</code>.
070     */
071    public void LocationName(String value) {
072        set(3, value);
073    }
074
075    /**
076     * Getter for <code>locationdetails.locdt_locationname</code>.
077     */
078    public String LocationName() {
079        return (String) get(3);
080    }
081
082    /**
083     * Setter for <code>locationdetails.locdt_loctyp_locationtypeid</code>.
084     */
085    public void LocationType(LocationTypePK value) {
086        set(4, value);
087    }
088
089    /**
090     * Getter for <code>locationdetails.locdt_loctyp_locationtypeid</code>.
091     */
092    public LocationTypePK LocationType() {
093        return (LocationTypePK) get(4);
094    }
095
096    /**
097     * Setter for <code>locationdetails.locdt_locutyp_locationusetypeid</code>.
098     */
099    public void LocationUseType(LocationUseTypePK value) {
100        set(5, value);
101    }
102
103    /**
104     * Getter for <code>locationdetails.locdt_locutyp_locationusetypeid</code>.
105     */
106    public LocationUseTypePK LocationUseType() {
107        return (LocationUseTypePK) get(5);
108    }
109
110    /**
111     * Setter for <code>locationdetails.locdt_velocity</code>.
112     */
113    public void Velocity(Integer value) {
114        set(6, value);
115    }
116
117    /**
118     * Getter for <code>locationdetails.locdt_velocity</code>.
119     */
120    public Integer Velocity() {
121        return (Integer) get(6);
122    }
123
124    /**
125     * Setter for
126     * <code>locationdetails.locdt_invlocgrp_inventorylocationgroupid</code>.
127     */
128    public void InventoryLocationGroup(InventoryLocationGroupPK value) {
129        set(7, value);
130    }
131
132    /**
133     * Getter for
134     * <code>locationdetails.locdt_invlocgrp_inventorylocationgroupid</code>.
135     */
136    public InventoryLocationGroupPK InventoryLocationGroup() {
137        return (InventoryLocationGroupPK) get(7);
138    }
139
140    /**
141     * Setter for <code>locationdetails.locdt_fromtime</code>.
142     */
143    public void FromTime(Long value) {
144        set(8, value);
145    }
146
147    /**
148     * Getter for <code>locationdetails.locdt_fromtime</code>.
149     */
150    public Long FromTime() {
151        return (Long) get(8);
152    }
153
154    /**
155     * Setter for <code>locationdetails.locdt_thrutime</code>.
156     */
157    public void ThruTime(Long value) {
158        set(9, value);
159    }
160
161    /**
162     * Getter for <code>locationdetails.locdt_thrutime</code>.
163     */
164    public Long ThruTime() {
165        return (Long) get(9);
166    }
167
168    // -------------------------------------------------------------------------
169    // Primary key information
170    // -------------------------------------------------------------------------
171
172    @Override
173    public Record1<LocationDetailPK> key() {
174        return (Record1) super.key();
175    }
176
177    // -------------------------------------------------------------------------
178    // Constructors
179    // -------------------------------------------------------------------------
180
181    /**
182     * Create a detached LocationDetails
183     */
184    public LocationDetails() {
185        super(com.echothree.model.jooq.server.tables.warehouse.LocationDetails.LocationDetails);
186    }
187
188    /**
189     * Create a detached, initialised LocationDetails
190     */
191    public LocationDetails(LocationDetailPK LocationDetail, LocationPK Location, PartyPK WarehouseParty, String LocationName, LocationTypePK LocationType, LocationUseTypePK LocationUseType, Integer Velocity, InventoryLocationGroupPK InventoryLocationGroup, Long FromTime, Long ThruTime) {
192        super(com.echothree.model.jooq.server.tables.warehouse.LocationDetails.LocationDetails);
193
194        LocationDetail(LocationDetail);
195        Location(Location);
196        WarehouseParty(WarehouseParty);
197        LocationName(LocationName);
198        LocationType(LocationType);
199        LocationUseType(LocationUseType);
200        Velocity(Velocity);
201        InventoryLocationGroup(InventoryLocationGroup);
202        FromTime(FromTime);
203        ThruTime(ThruTime);
204        resetTouchedOnNotNull();
205    }
206}