001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.search; 005 006 007import com.echothree.model.data.party.common.pk.PartyPK; 008import com.echothree.model.data.search.common.pk.CachedSearchPK; 009import com.echothree.model.data.search.common.pk.SearchPK; 010import com.echothree.model.data.search.common.pk.SearchTypePK; 011import com.echothree.model.data.search.common.pk.SearchUseTypePK; 012 013import org.jooq.Record1; 014import org.jooq.impl.UpdatableRecordImpl; 015 016 017/** 018 * This class is generated by jOOQ. 019 */ 020@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 021public class Searches extends UpdatableRecordImpl<Searches> { 022 023 private static final long serialVersionUID = 1L; 024 025 /** 026 * Setter for <code>searches.srch_searchid</code>. 027 */ 028 public void Search(SearchPK value) { 029 set(0, value); 030 } 031 032 /** 033 * Getter for <code>searches.srch_searchid</code>. 034 */ 035 public SearchPK Search() { 036 return (SearchPK) get(0); 037 } 038 039 /** 040 * Setter for <code>searches.srch_par_partyid</code>. 041 */ 042 public void Party(PartyPK value) { 043 set(1, value); 044 } 045 046 /** 047 * Getter for <code>searches.srch_par_partyid</code>. 048 */ 049 public PartyPK Party() { 050 return (PartyPK) get(1); 051 } 052 053 /** 054 * Setter for <code>searches.srch_partyverified</code>. 055 */ 056 public void PartyVerified(Boolean value) { 057 set(2, value); 058 } 059 060 /** 061 * Getter for <code>searches.srch_partyverified</code>. 062 */ 063 public Boolean PartyVerified() { 064 return (Boolean) get(2); 065 } 066 067 /** 068 * Setter for <code>searches.srch_srchtyp_searchtypeid</code>. 069 */ 070 public void SearchType(SearchTypePK value) { 071 set(3, value); 072 } 073 074 /** 075 * Getter for <code>searches.srch_srchtyp_searchtypeid</code>. 076 */ 077 public SearchTypePK SearchType() { 078 return (SearchTypePK) get(3); 079 } 080 081 /** 082 * Setter for <code>searches.srch_executedtime</code>. 083 */ 084 public void ExecutedTime(Long value) { 085 set(4, value); 086 } 087 088 /** 089 * Getter for <code>searches.srch_executedtime</code>. 090 */ 091 public Long ExecutedTime() { 092 return (Long) get(4); 093 } 094 095 /** 096 * Setter for <code>searches.srch_srchutyp_searchusetypeid</code>. 097 */ 098 public void SearchUseType(SearchUseTypePK value) { 099 set(5, value); 100 } 101 102 /** 103 * Getter for <code>searches.srch_srchutyp_searchusetypeid</code>. 104 */ 105 public SearchUseTypePK SearchUseType() { 106 return (SearchUseTypePK) get(5); 107 } 108 109 /** 110 * Setter for <code>searches.srch_csrch_cachedsearchid</code>. 111 */ 112 public void CachedSearch(CachedSearchPK value) { 113 set(6, value); 114 } 115 116 /** 117 * Getter for <code>searches.srch_csrch_cachedsearchid</code>. 118 */ 119 public CachedSearchPK CachedSearch() { 120 return (CachedSearchPK) get(6); 121 } 122 123 /** 124 * Setter for <code>searches.srch_fromtime</code>. 125 */ 126 public void FromTime(Long value) { 127 set(7, value); 128 } 129 130 /** 131 * Getter for <code>searches.srch_fromtime</code>. 132 */ 133 public Long FromTime() { 134 return (Long) get(7); 135 } 136 137 /** 138 * Setter for <code>searches.srch_thrutime</code>. 139 */ 140 public void ThruTime(Long value) { 141 set(8, value); 142 } 143 144 /** 145 * Getter for <code>searches.srch_thrutime</code>. 146 */ 147 public Long ThruTime() { 148 return (Long) get(8); 149 } 150 151 // ------------------------------------------------------------------------- 152 // Primary key information 153 // ------------------------------------------------------------------------- 154 155 @Override 156 public Record1<SearchPK> key() { 157 return (Record1) super.key(); 158 } 159 160 // ------------------------------------------------------------------------- 161 // Constructors 162 // ------------------------------------------------------------------------- 163 164 /** 165 * Create a detached Searches 166 */ 167 public Searches() { 168 super(com.echothree.model.jooq.server.tables.search.Searches.Searches); 169 } 170 171 /** 172 * Create a detached, initialised Searches 173 */ 174 public Searches(SearchPK Search, PartyPK Party, Boolean PartyVerified, SearchTypePK SearchType, Long ExecutedTime, SearchUseTypePK SearchUseType, CachedSearchPK CachedSearch, Long FromTime, Long ThruTime) { 175 super(com.echothree.model.jooq.server.tables.search.Searches.Searches); 176 177 Search(Search); 178 Party(Party); 179 PartyVerified(PartyVerified); 180 SearchType(SearchType); 181 ExecutedTime(ExecutedTime); 182 SearchUseType(SearchUseType); 183 CachedSearch(CachedSearch); 184 FromTime(FromTime); 185 ThruTime(ThruTime); 186 resetTouchedOnNotNull(); 187 } 188}