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.LocationNameElementDetailPK;
008import com.echothree.model.data.warehouse.common.pk.LocationNameElementPK;
009import com.echothree.model.data.warehouse.common.pk.LocationTypePK;
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 LocationNameElementDetails extends UpdatableRecordImpl<LocationNameElementDetails> {
020
021    private static final long serialVersionUID = 1L;
022
023    /**
024     * Setter for
025     * <code>locationnameelementdetails.locnedt_locationnameelementdetailid</code>.
026     */
027    public void LocationNameElementDetail(LocationNameElementDetailPK value) {
028        set(0, value);
029    }
030
031    /**
032     * Getter for
033     * <code>locationnameelementdetails.locnedt_locationnameelementdetailid</code>.
034     */
035    public LocationNameElementDetailPK LocationNameElementDetail() {
036        return (LocationNameElementDetailPK) get(0);
037    }
038
039    /**
040     * Setter for
041     * <code>locationnameelementdetails.locnedt_locne_locationnameelementid</code>.
042     */
043    public void LocationNameElement(LocationNameElementPK value) {
044        set(1, value);
045    }
046
047    /**
048     * Getter for
049     * <code>locationnameelementdetails.locnedt_locne_locationnameelementid</code>.
050     */
051    public LocationNameElementPK LocationNameElement() {
052        return (LocationNameElementPK) get(1);
053    }
054
055    /**
056     * Setter for
057     * <code>locationnameelementdetails.locnedt_loctyp_locationtypeid</code>.
058     */
059    public void LocationType(LocationTypePK value) {
060        set(2, value);
061    }
062
063    /**
064     * Getter for
065     * <code>locationnameelementdetails.locnedt_loctyp_locationtypeid</code>.
066     */
067    public LocationTypePK LocationType() {
068        return (LocationTypePK) get(2);
069    }
070
071    /**
072     * Setter for
073     * <code>locationnameelementdetails.locnedt_locationnameelementname</code>.
074     */
075    public void LocationNameElementName(String value) {
076        set(3, value);
077    }
078
079    /**
080     * Getter for
081     * <code>locationnameelementdetails.locnedt_locationnameelementname</code>.
082     */
083    public String LocationNameElementName() {
084        return (String) get(3);
085    }
086
087    /**
088     * Setter for <code>locationnameelementdetails.locnedt_offset</code>.
089     */
090    public void Offset(Integer value) {
091        set(4, value);
092    }
093
094    /**
095     * Getter for <code>locationnameelementdetails.locnedt_offset</code>.
096     */
097    public Integer Offset() {
098        return (Integer) get(4);
099    }
100
101    /**
102     * Setter for <code>locationnameelementdetails.locnedt_length</code>.
103     */
104    public void Length(Integer value) {
105        set(5, value);
106    }
107
108    /**
109     * Getter for <code>locationnameelementdetails.locnedt_length</code>.
110     */
111    public Integer Length() {
112        return (Integer) get(5);
113    }
114
115    /**
116     * Setter for
117     * <code>locationnameelementdetails.locnedt_validationpattern</code>.
118     */
119    public void ValidationPattern(String value) {
120        set(6, value);
121    }
122
123    /**
124     * Getter for
125     * <code>locationnameelementdetails.locnedt_validationpattern</code>.
126     */
127    public String ValidationPattern() {
128        return (String) get(6);
129    }
130
131    /**
132     * Setter for <code>locationnameelementdetails.locnedt_fromtime</code>.
133     */
134    public void FromTime(Long value) {
135        set(7, value);
136    }
137
138    /**
139     * Getter for <code>locationnameelementdetails.locnedt_fromtime</code>.
140     */
141    public Long FromTime() {
142        return (Long) get(7);
143    }
144
145    /**
146     * Setter for <code>locationnameelementdetails.locnedt_thrutime</code>.
147     */
148    public void ThruTime(Long value) {
149        set(8, value);
150    }
151
152    /**
153     * Getter for <code>locationnameelementdetails.locnedt_thrutime</code>.
154     */
155    public Long ThruTime() {
156        return (Long) get(8);
157    }
158
159    // -------------------------------------------------------------------------
160    // Primary key information
161    // -------------------------------------------------------------------------
162
163    @Override
164    public Record1<LocationNameElementDetailPK> key() {
165        return (Record1) super.key();
166    }
167
168    // -------------------------------------------------------------------------
169    // Constructors
170    // -------------------------------------------------------------------------
171
172    /**
173     * Create a detached LocationNameElementDetails
174     */
175    public LocationNameElementDetails() {
176        super(com.echothree.model.jooq.server.tables.warehouse.LocationNameElementDetails.LocationNameElementDetails);
177    }
178
179    /**
180     * Create a detached, initialised LocationNameElementDetails
181     */
182    public LocationNameElementDetails(LocationNameElementDetailPK LocationNameElementDetail, LocationNameElementPK LocationNameElement, LocationTypePK LocationType, String LocationNameElementName, Integer Offset, Integer Length, String ValidationPattern, Long FromTime, Long ThruTime) {
183        super(com.echothree.model.jooq.server.tables.warehouse.LocationNameElementDetails.LocationNameElementDetails);
184
185        LocationNameElementDetail(LocationNameElementDetail);
186        LocationNameElement(LocationNameElement);
187        LocationType(LocationType);
188        LocationNameElementName(LocationNameElementName);
189        Offset(Offset);
190        Length(Length);
191        ValidationPattern(ValidationPattern);
192        FromTime(FromTime);
193        ThruTime(ThruTime);
194        resetTouchedOnNotNull();
195    }
196}