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.SearchResultPK; 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 SearchResults extends UpdatableRecordImpl<SearchResults> { 020 021 private static final long serialVersionUID = 1L; 022 023 /** 024 * Setter for <code>searchresults.srchr_searchresultid</code>. 025 */ 026 public void SearchResult(SearchResultPK value) { 027 set(0, value); 028 } 029 030 /** 031 * Getter for <code>searchresults.srchr_searchresultid</code>. 032 */ 033 public SearchResultPK SearchResult() { 034 return (SearchResultPK) get(0); 035 } 036 037 /** 038 * Setter for <code>searchresults.srchr_srch_searchid</code>. 039 */ 040 public void Search(SearchPK value) { 041 set(1, value); 042 } 043 044 /** 045 * Getter for <code>searchresults.srchr_srch_searchid</code>. 046 */ 047 public SearchPK Search() { 048 return (SearchPK) get(1); 049 } 050 051 /** 052 * Setter for <code>searchresults.srchr_eni_entityinstanceid</code>. 053 */ 054 public void EntityInstance(EntityInstancePK value) { 055 set(2, value); 056 } 057 058 /** 059 * Getter for <code>searchresults.srchr_eni_entityinstanceid</code>. 060 */ 061 public EntityInstancePK EntityInstance() { 062 return (EntityInstancePK) get(2); 063 } 064 065 /** 066 * Setter for <code>searchresults.srchr_sortorder</code>. 067 */ 068 public void SortOrder(Integer value) { 069 set(3, value); 070 } 071 072 /** 073 * Getter for <code>searchresults.srchr_sortorder</code>. 074 */ 075 public Integer SortOrder() { 076 return (Integer) get(3); 077 } 078 079 // ------------------------------------------------------------------------- 080 // Primary key information 081 // ------------------------------------------------------------------------- 082 083 @Override 084 public Record1<SearchResultPK> key() { 085 return (Record1) super.key(); 086 } 087 088 // ------------------------------------------------------------------------- 089 // Constructors 090 // ------------------------------------------------------------------------- 091 092 /** 093 * Create a detached SearchResults 094 */ 095 public SearchResults() { 096 super(com.echothree.model.jooq.server.tables.search.SearchResults.SearchResults); 097 } 098 099 /** 100 * Create a detached, initialised SearchResults 101 */ 102 public SearchResults(SearchResultPK SearchResult, SearchPK Search, EntityInstancePK EntityInstance, Integer SortOrder) { 103 super(com.echothree.model.jooq.server.tables.search.SearchResults.SearchResults); 104 105 SearchResult(SearchResult); 106 Search(Search); 107 EntityInstance(EntityInstance); 108 SortOrder(SortOrder); 109 resetTouchedOnNotNull(); 110 } 111}