001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.style;
005
006
007import com.echothree.model.data.style.common.pk.StylePathDetailPK;
008import com.echothree.model.data.style.common.pk.StylePathPK;
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 StylePathDetails extends UpdatableRecordImpl<StylePathDetails> {
019
020    private static final long serialVersionUID = 1L;
021
022    /**
023     * Setter for <code>stylepathdetails.stylpthdt_stylepathdetailid</code>.
024     */
025    public void StylePathDetail(StylePathDetailPK value) {
026        set(0, value);
027    }
028
029    /**
030     * Getter for <code>stylepathdetails.stylpthdt_stylepathdetailid</code>.
031     */
032    public StylePathDetailPK StylePathDetail() {
033        return (StylePathDetailPK) get(0);
034    }
035
036    /**
037     * Setter for <code>stylepathdetails.stylpthdt_stylpth_stylepathid</code>.
038     */
039    public void StylePath(StylePathPK value) {
040        set(1, value);
041    }
042
043    /**
044     * Getter for <code>stylepathdetails.stylpthdt_stylpth_stylepathid</code>.
045     */
046    public StylePathPK StylePath() {
047        return (StylePathPK) get(1);
048    }
049
050    /**
051     * Setter for <code>stylepathdetails.stylpthdt_stylepathname</code>.
052     */
053    public void StylePathName(String value) {
054        set(2, value);
055    }
056
057    /**
058     * Getter for <code>stylepathdetails.stylpthdt_stylepathname</code>.
059     */
060    public String StylePathName() {
061        return (String) get(2);
062    }
063
064    /**
065     * Setter for <code>stylepathdetails.stylpthdt_isdefault</code>.
066     */
067    public void IsDefault(Boolean value) {
068        set(3, value);
069    }
070
071    /**
072     * Getter for <code>stylepathdetails.stylpthdt_isdefault</code>.
073     */
074    public Boolean IsDefault() {
075        return (Boolean) get(3);
076    }
077
078    /**
079     * Setter for <code>stylepathdetails.stylpthdt_sortorder</code>.
080     */
081    public void SortOrder(Integer value) {
082        set(4, value);
083    }
084
085    /**
086     * Getter for <code>stylepathdetails.stylpthdt_sortorder</code>.
087     */
088    public Integer SortOrder() {
089        return (Integer) get(4);
090    }
091
092    /**
093     * Setter for <code>stylepathdetails.stylpthdt_fromtime</code>.
094     */
095    public void FromTime(Long value) {
096        set(5, value);
097    }
098
099    /**
100     * Getter for <code>stylepathdetails.stylpthdt_fromtime</code>.
101     */
102    public Long FromTime() {
103        return (Long) get(5);
104    }
105
106    /**
107     * Setter for <code>stylepathdetails.stylpthdt_thrutime</code>.
108     */
109    public void ThruTime(Long value) {
110        set(6, value);
111    }
112
113    /**
114     * Getter for <code>stylepathdetails.stylpthdt_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<StylePathDetailPK> key() {
126        return (Record1) super.key();
127    }
128
129    // -------------------------------------------------------------------------
130    // Constructors
131    // -------------------------------------------------------------------------
132
133    /**
134     * Create a detached StylePathDetails
135     */
136    public StylePathDetails() {
137        super(com.echothree.model.jooq.server.tables.style.StylePathDetails.StylePathDetails);
138    }
139
140    /**
141     * Create a detached, initialised StylePathDetails
142     */
143    public StylePathDetails(StylePathDetailPK StylePathDetail, StylePathPK StylePath, String StylePathName, Boolean IsDefault, Integer SortOrder, Long FromTime, Long ThruTime) {
144        super(com.echothree.model.jooq.server.tables.style.StylePathDetails.StylePathDetails);
145
146        StylePathDetail(StylePathDetail);
147        StylePath(StylePath);
148        StylePathName(StylePathName);
149        IsDefault(IsDefault);
150        SortOrder(SortOrder);
151        FromTime(FromTime);
152        ThruTime(ThruTime);
153        resetTouchedOnNotNull();
154    }
155}