001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.warehouse;
005
006
007import com.echothree.model.data.warehouse.common.pk.LocationPK;
008import com.echothree.model.data.warehouse.common.pk.LocationVolumePK;
009
010import org.jooq.Record1;
011import org.jooq.impl.UpdatableRecordImpl;
012
013
014/**
015 * This class is generated by jOOQ.
016 */
017@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
018public class LocationVolumes extends UpdatableRecordImpl<LocationVolumes> {
019
020    private static final long serialVersionUID = 1L;
021
022    /**
023     * Setter for <code>locationvolumes.locvol_locationvolumeid</code>.
024     */
025    public void LocationVolume(LocationVolumePK value) {
026        set(0, value);
027    }
028
029    /**
030     * Getter for <code>locationvolumes.locvol_locationvolumeid</code>.
031     */
032    public LocationVolumePK LocationVolume() {
033        return (LocationVolumePK) get(0);
034    }
035
036    /**
037     * Setter for <code>locationvolumes.locvol_loc_locationid</code>.
038     */
039    public void Location(LocationPK value) {
040        set(1, value);
041    }
042
043    /**
044     * Getter for <code>locationvolumes.locvol_loc_locationid</code>.
045     */
046    public LocationPK Location() {
047        return (LocationPK) get(1);
048    }
049
050    /**
051     * Setter for <code>locationvolumes.locvol_height</code>.
052     */
053    public void Height(Long value) {
054        set(2, value);
055    }
056
057    /**
058     * Getter for <code>locationvolumes.locvol_height</code>.
059     */
060    public Long Height() {
061        return (Long) get(2);
062    }
063
064    /**
065     * Setter for <code>locationvolumes.locvol_width</code>.
066     */
067    public void Width(Long value) {
068        set(3, value);
069    }
070
071    /**
072     * Getter for <code>locationvolumes.locvol_width</code>.
073     */
074    public Long Width() {
075        return (Long) get(3);
076    }
077
078    /**
079     * Setter for <code>locationvolumes.locvol_depth</code>.
080     */
081    public void Depth(Long value) {
082        set(4, value);
083    }
084
085    /**
086     * Getter for <code>locationvolumes.locvol_depth</code>.
087     */
088    public Long Depth() {
089        return (Long) get(4);
090    }
091
092    /**
093     * Setter for <code>locationvolumes.locvol_fromtime</code>.
094     */
095    public void FromTime(Long value) {
096        set(5, value);
097    }
098
099    /**
100     * Getter for <code>locationvolumes.locvol_fromtime</code>.
101     */
102    public Long FromTime() {
103        return (Long) get(5);
104    }
105
106    /**
107     * Setter for <code>locationvolumes.locvol_thrutime</code>.
108     */
109    public void ThruTime(Long value) {
110        set(6, value);
111    }
112
113    /**
114     * Getter for <code>locationvolumes.locvol_thrutime</code>.
115     */
116    public Long ThruTime() {
117        return (Long) get(6);
118    }
119
120    // -------------------------------------------------------------------------
121    // Primary key information
122    // -------------------------------------------------------------------------
123
124    @Override
125    public Record1<LocationVolumePK> key() {
126        return (Record1) super.key();
127    }
128
129    // -------------------------------------------------------------------------
130    // Constructors
131    // -------------------------------------------------------------------------
132
133    /**
134     * Create a detached LocationVolumes
135     */
136    public LocationVolumes() {
137        super(com.echothree.model.jooq.server.tables.warehouse.LocationVolumes.LocationVolumes);
138    }
139
140    /**
141     * Create a detached, initialised LocationVolumes
142     */
143    public LocationVolumes(LocationVolumePK LocationVolume, LocationPK Location, Long Height, Long Width, Long Depth, Long FromTime, Long ThruTime) {
144        super(com.echothree.model.jooq.server.tables.warehouse.LocationVolumes.LocationVolumes);
145
146        LocationVolume(LocationVolume);
147        Location(Location);
148        Height(Height);
149        Width(Width);
150        Depth(Depth);
151        FromTime(FromTime);
152        ThruTime(ThruTime);
153        resetTouchedOnNotNull();
154    }
155}