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