001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.search;
005
006
007import com.echothree.model.data.index.common.pk.IndexFieldPK;
008import com.echothree.model.data.search.common.pk.CachedSearchIndexFieldPK;
009import com.echothree.model.data.search.common.pk.CachedSearchPK;
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 CachedSearchIndexFields extends UpdatableRecordImpl<CachedSearchIndexFields> {
020
021    private static final long serialVersionUID = 1L;
022
023    /**
024     * Setter for
025     * <code>cachedsearchindexfields.csrchidxfld_cachedsearchindexfieldid</code>.
026     */
027    public void CachedSearchIndexField(CachedSearchIndexFieldPK value) {
028        set(0, value);
029    }
030
031    /**
032     * Getter for
033     * <code>cachedsearchindexfields.csrchidxfld_cachedsearchindexfieldid</code>.
034     */
035    public CachedSearchIndexFieldPK CachedSearchIndexField() {
036        return (CachedSearchIndexFieldPK) get(0);
037    }
038
039    /**
040     * Setter for
041     * <code>cachedsearchindexfields.csrchidxfld_csrch_cachedsearchid</code>.
042     */
043    public void CachedSearch(CachedSearchPK value) {
044        set(1, value);
045    }
046
047    /**
048     * Getter for
049     * <code>cachedsearchindexfields.csrchidxfld_csrch_cachedsearchid</code>.
050     */
051    public CachedSearchPK CachedSearch() {
052        return (CachedSearchPK) get(1);
053    }
054
055    /**
056     * Setter for
057     * <code>cachedsearchindexfields.csrchidxfld_idxfld_indexfieldid</code>.
058     */
059    public void IndexField(IndexFieldPK value) {
060        set(2, value);
061    }
062
063    /**
064     * Getter for
065     * <code>cachedsearchindexfields.csrchidxfld_idxfld_indexfieldid</code>.
066     */
067    public IndexFieldPK IndexField() {
068        return (IndexFieldPK) get(2);
069    }
070
071    /**
072     * Setter for <code>cachedsearchindexfields.csrchidxfld_fromtime</code>.
073     */
074    public void FromTime(Long value) {
075        set(3, value);
076    }
077
078    /**
079     * Getter for <code>cachedsearchindexfields.csrchidxfld_fromtime</code>.
080     */
081    public Long FromTime() {
082        return (Long) get(3);
083    }
084
085    /**
086     * Setter for <code>cachedsearchindexfields.csrchidxfld_thrutime</code>.
087     */
088    public void ThruTime(Long value) {
089        set(4, value);
090    }
091
092    /**
093     * Getter for <code>cachedsearchindexfields.csrchidxfld_thrutime</code>.
094     */
095    public Long ThruTime() {
096        return (Long) get(4);
097    }
098
099    // -------------------------------------------------------------------------
100    // Primary key information
101    // -------------------------------------------------------------------------
102
103    @Override
104    public Record1<CachedSearchIndexFieldPK> key() {
105        return (Record1) super.key();
106    }
107
108    // -------------------------------------------------------------------------
109    // Constructors
110    // -------------------------------------------------------------------------
111
112    /**
113     * Create a detached CachedSearchIndexFields
114     */
115    public CachedSearchIndexFields() {
116        super(com.echothree.model.jooq.server.tables.search.CachedSearchIndexFields.CachedSearchIndexFields);
117    }
118
119    /**
120     * Create a detached, initialised CachedSearchIndexFields
121     */
122    public CachedSearchIndexFields(CachedSearchIndexFieldPK CachedSearchIndexField, CachedSearchPK CachedSearch, IndexFieldPK IndexField, Long FromTime, Long ThruTime) {
123        super(com.echothree.model.jooq.server.tables.search.CachedSearchIndexFields.CachedSearchIndexFields);
124
125        CachedSearchIndexField(CachedSearchIndexField);
126        CachedSearch(CachedSearch);
127        IndexField(IndexField);
128        FromTime(FromTime);
129        ThruTime(ThruTime);
130        resetTouchedOnNotNull();
131    }
132}