001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.user; 005 006 007import com.echothree.model.data.accounting.common.pk.CurrencyPK; 008import com.echothree.model.data.associate.common.pk.AssociateReferralPK; 009import com.echothree.model.data.offer.common.pk.OfferUsePK; 010import com.echothree.model.data.party.common.pk.DateTimeFormatPK; 011import com.echothree.model.data.party.common.pk.LanguagePK; 012import com.echothree.model.data.party.common.pk.TimeZonePK; 013import com.echothree.model.data.user.common.pk.UserKeyPK; 014import com.echothree.model.data.user.common.pk.UserVisitGroupPK; 015import com.echothree.model.data.user.common.pk.UserVisitPK; 016 017import org.jooq.Record1; 018import org.jooq.impl.UpdatableRecordImpl; 019 020 021/** 022 * This class is generated by jOOQ. 023 */ 024@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 025public class UserVisits extends UpdatableRecordImpl<UserVisits> { 026 027 private static final long serialVersionUID = 1L; 028 029 /** 030 * Setter for <code>uservisits.uvis_uservisitid</code>. 031 */ 032 public void UserVisit(UserVisitPK value) { 033 set(0, value); 034 } 035 036 /** 037 * Getter for <code>uservisits.uvis_uservisitid</code>. 038 */ 039 public UserVisitPK UserVisit() { 040 return (UserVisitPK) get(0); 041 } 042 043 /** 044 * Setter for <code>uservisits.uvis_uvisgrp_uservisitgroupid</code>. 045 */ 046 public void UserVisitGroup(UserVisitGroupPK value) { 047 set(1, value); 048 } 049 050 /** 051 * Getter for <code>uservisits.uvis_uvisgrp_uservisitgroupid</code>. 052 */ 053 public UserVisitGroupPK UserVisitGroup() { 054 return (UserVisitGroupPK) get(1); 055 } 056 057 /** 058 * Setter for <code>uservisits.uvis_ukey_userkeyid</code>. 059 */ 060 public void UserKey(UserKeyPK value) { 061 set(2, value); 062 } 063 064 /** 065 * Getter for <code>uservisits.uvis_ukey_userkeyid</code>. 066 */ 067 public UserKeyPK UserKey() { 068 return (UserKeyPK) get(2); 069 } 070 071 /** 072 * Setter for <code>uservisits.uvis_preferredlanguageid</code>. 073 */ 074 public void PreferredLanguage(LanguagePK value) { 075 set(3, value); 076 } 077 078 /** 079 * Getter for <code>uservisits.uvis_preferredlanguageid</code>. 080 */ 081 public LanguagePK PreferredLanguage() { 082 return (LanguagePK) get(3); 083 } 084 085 /** 086 * Setter for <code>uservisits.uvis_preferredcurrencyid</code>. 087 */ 088 public void PreferredCurrency(CurrencyPK value) { 089 set(4, value); 090 } 091 092 /** 093 * Getter for <code>uservisits.uvis_preferredcurrencyid</code>. 094 */ 095 public CurrencyPK PreferredCurrency() { 096 return (CurrencyPK) get(4); 097 } 098 099 /** 100 * Setter for <code>uservisits.uvis_preferredtimezoneid</code>. 101 */ 102 public void PreferredTimeZone(TimeZonePK value) { 103 set(5, value); 104 } 105 106 /** 107 * Getter for <code>uservisits.uvis_preferredtimezoneid</code>. 108 */ 109 public TimeZonePK PreferredTimeZone() { 110 return (TimeZonePK) get(5); 111 } 112 113 /** 114 * Setter for <code>uservisits.uvis_preferreddatetimeformatid</code>. 115 */ 116 public void PreferredDateTimeFormat(DateTimeFormatPK value) { 117 set(6, value); 118 } 119 120 /** 121 * Getter for <code>uservisits.uvis_preferreddatetimeformatid</code>. 122 */ 123 public DateTimeFormatPK PreferredDateTimeFormat() { 124 return (DateTimeFormatPK) get(6); 125 } 126 127 /** 128 * Setter for <code>uservisits.uvis_lastcommandtime</code>. 129 */ 130 public void LastCommandTime(Long value) { 131 set(7, value); 132 } 133 134 /** 135 * Getter for <code>uservisits.uvis_lastcommandtime</code>. 136 */ 137 public Long LastCommandTime() { 138 return (Long) get(7); 139 } 140 141 /** 142 * Setter for <code>uservisits.uvis_ofruse_offeruseid</code>. 143 */ 144 public void OfferUse(OfferUsePK value) { 145 set(8, value); 146 } 147 148 /** 149 * Getter for <code>uservisits.uvis_ofruse_offeruseid</code>. 150 */ 151 public OfferUsePK OfferUse() { 152 return (OfferUsePK) get(8); 153 } 154 155 /** 156 * Setter for <code>uservisits.uvis_ascrfr_associatereferralid</code>. 157 */ 158 public void AssociateReferral(AssociateReferralPK value) { 159 set(9, value); 160 } 161 162 /** 163 * Getter for <code>uservisits.uvis_ascrfr_associatereferralid</code>. 164 */ 165 public AssociateReferralPK AssociateReferral() { 166 return (AssociateReferralPK) get(9); 167 } 168 169 /** 170 * Setter for <code>uservisits.uvis_retainuntiltime</code>. 171 */ 172 public void RetainUntilTime(Long value) { 173 set(10, value); 174 } 175 176 /** 177 * Getter for <code>uservisits.uvis_retainuntiltime</code>. 178 */ 179 public Long RetainUntilTime() { 180 return (Long) get(10); 181 } 182 183 /** 184 * Setter for <code>uservisits.uvis_fromtime</code>. 185 */ 186 public void FromTime(Long value) { 187 set(11, value); 188 } 189 190 /** 191 * Getter for <code>uservisits.uvis_fromtime</code>. 192 */ 193 public Long FromTime() { 194 return (Long) get(11); 195 } 196 197 /** 198 * Setter for <code>uservisits.uvis_thrutime</code>. 199 */ 200 public void ThruTime(Long value) { 201 set(12, value); 202 } 203 204 /** 205 * Getter for <code>uservisits.uvis_thrutime</code>. 206 */ 207 public Long ThruTime() { 208 return (Long) get(12); 209 } 210 211 // ------------------------------------------------------------------------- 212 // Primary key information 213 // ------------------------------------------------------------------------- 214 215 @Override 216 public Record1<UserVisitPK> key() { 217 return (Record1) super.key(); 218 } 219 220 // ------------------------------------------------------------------------- 221 // Constructors 222 // ------------------------------------------------------------------------- 223 224 /** 225 * Create a detached UserVisits 226 */ 227 public UserVisits() { 228 super(com.echothree.model.jooq.server.tables.user.UserVisits.UserVisits); 229 } 230 231 /** 232 * Create a detached, initialised UserVisits 233 */ 234 public UserVisits(UserVisitPK UserVisit, UserVisitGroupPK UserVisitGroup, UserKeyPK UserKey, LanguagePK PreferredLanguage, CurrencyPK PreferredCurrency, TimeZonePK PreferredTimeZone, DateTimeFormatPK PreferredDateTimeFormat, Long LastCommandTime, OfferUsePK OfferUse, AssociateReferralPK AssociateReferral, Long RetainUntilTime, Long FromTime, Long ThruTime) { 235 super(com.echothree.model.jooq.server.tables.user.UserVisits.UserVisits); 236 237 UserVisit(UserVisit); 238 UserVisitGroup(UserVisitGroup); 239 UserKey(UserKey); 240 PreferredLanguage(PreferredLanguage); 241 PreferredCurrency(PreferredCurrency); 242 PreferredTimeZone(PreferredTimeZone); 243 PreferredDateTimeFormat(PreferredDateTimeFormat); 244 LastCommandTime(LastCommandTime); 245 OfferUse(OfferUse); 246 AssociateReferral(AssociateReferral); 247 RetainUntilTime(RetainUntilTime); 248 FromTime(FromTime); 249 ThruTime(ThruTime); 250 resetTouchedOnNotNull(); 251 } 252}