001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.tables.user; 005 006 007import com.echothree.model.data.user.common.pk.UserLoginPasswordPK; 008import com.echothree.model.data.user.common.pk.UserLoginPasswordStringPK; 009import com.echothree.model.jooq.server.KeyRegistry; 010import com.echothree.model.jooq.server.tables.user.UserLoginPasswords.UserLoginPasswordsPath; 011 012import java.util.Arrays; 013import java.util.Collection; 014import java.util.List; 015 016import org.jooq.Condition; 017import org.jooq.Converter; 018import org.jooq.Field; 019import org.jooq.ForeignKey; 020import org.jooq.Name; 021import org.jooq.PlainSQL; 022import org.jooq.QueryPart; 023import org.jooq.SQL; 024import org.jooq.Stringly; 025import org.jooq.Table; 026import org.jooq.TableField; 027import org.jooq.TableLike; 028import org.jooq.TableOptions; 029import org.jooq.UniqueKey; 030import org.jooq.impl.DSL; 031import org.jooq.impl.Internal; 032import org.jooq.impl.SQLDataType; 033import org.jooq.impl.TableImpl; 034 035 036/** 037 * This class is generated by jOOQ. 038 */ 039@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 040public class UserLoginPasswordStrings extends TableImpl<com.echothree.model.jooq.server.records.user.UserLoginPasswordStrings> { 041 042 private static final long serialVersionUID = 1L; 043 044 /** 045 * The reference instance of <code>userloginpasswordstrings</code> 046 */ 047 public static final UserLoginPasswordStrings UserLoginPasswordStrings = new UserLoginPasswordStrings(); 048 049 /** 050 * The class holding records for this type 051 */ 052 @Override 053 public Class<com.echothree.model.jooq.server.records.user.UserLoginPasswordStrings> getRecordType() { 054 return com.echothree.model.jooq.server.records.user.UserLoginPasswordStrings.class; 055 } 056 057 /** 058 * The column 059 * <code>userloginpasswordstrings.ulogps_userloginpasswordstringid</code>. 060 */ 061 public final TableField<com.echothree.model.jooq.server.records.user.UserLoginPasswordStrings, UserLoginPasswordStringPK> USER_LOGIN_PASSWORD_STRING = createField(DSL.name("ulogps_userloginpasswordstringid"), SQLDataType.BIGINT.nullable(false), this, "", Converter.ofNullable(Long.class, UserLoginPasswordStringPK.class, id -> new com.echothree.model.data.user.common.pk.UserLoginPasswordStringPK(id), primaryKey -> primaryKey.getEntityId())); 062 063 /** 064 * The column 065 * <code>userloginpasswordstrings.ulogps_ulogp_userloginpasswordid</code>. 066 */ 067 public final TableField<com.echothree.model.jooq.server.records.user.UserLoginPasswordStrings, UserLoginPasswordPK> USER_LOGIN_PASSWORD = createField(DSL.name("ulogps_ulogp_userloginpasswordid"), SQLDataType.BIGINT.nullable(false), this, "", Converter.ofNullable(Long.class, UserLoginPasswordPK.class, id -> new com.echothree.model.data.user.common.pk.UserLoginPasswordPK(id), primaryKey -> primaryKey.getEntityId())); 068 069 /** 070 * The column <code>userloginpasswordstrings.ulogps_salt</code>. 071 */ 072 public final TableField<com.echothree.model.jooq.server.records.user.UserLoginPasswordStrings, String> SALT = createField(DSL.name("ulogps_salt"), SQLDataType.VARCHAR(12), this, ""); 073 074 /** 075 * The column <code>userloginpasswordstrings.ulogps_password</code>. 076 */ 077 public final TableField<com.echothree.model.jooq.server.records.user.UserLoginPasswordStrings, String> PASSWORD = createField(DSL.name("ulogps_password"), SQLDataType.VARCHAR(40).nullable(false), this, ""); 078 079 /** 080 * The column <code>userloginpasswordstrings.ulogps_changedtime</code>. 081 */ 082 public final TableField<com.echothree.model.jooq.server.records.user.UserLoginPasswordStrings, Long> CHANGED_TIME = createField(DSL.name("ulogps_changedtime"), SQLDataType.BIGINT.nullable(false), this, ""); 083 084 /** 085 * The column <code>userloginpasswordstrings.ulogps_wasreset</code>. 086 */ 087 public final TableField<com.echothree.model.jooq.server.records.user.UserLoginPasswordStrings, Boolean> WAS_RESET = createField(DSL.name("ulogps_wasreset"), SQLDataType.BIT.nullable(false), this, ""); 088 089 /** 090 * The column <code>userloginpasswordstrings.ulogps_fromtime</code>. 091 */ 092 public final TableField<com.echothree.model.jooq.server.records.user.UserLoginPasswordStrings, Long> FROM_TIME = createField(DSL.name("ulogps_fromtime"), SQLDataType.BIGINT.nullable(false), this, ""); 093 094 /** 095 * The column <code>userloginpasswordstrings.ulogps_thrutime</code>. 096 */ 097 public final TableField<com.echothree.model.jooq.server.records.user.UserLoginPasswordStrings, Long> THRU_TIME = createField(DSL.name("ulogps_thrutime"), SQLDataType.BIGINT.nullable(false), this, ""); 098 099 private UserLoginPasswordStrings(Name alias, Table<com.echothree.model.jooq.server.records.user.UserLoginPasswordStrings> aliased) { 100 this(alias, aliased, (Field<?>[]) null, null); 101 } 102 103 private UserLoginPasswordStrings(Name alias, Table<com.echothree.model.jooq.server.records.user.UserLoginPasswordStrings> aliased, Field<?>[] parameters, Condition where) { 104 super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); 105 } 106 107 /** 108 * Create an aliased <code>userloginpasswordstrings</code> table reference 109 */ 110 public UserLoginPasswordStrings(String alias) { 111 this(DSL.name(alias), UserLoginPasswordStrings); 112 } 113 114 /** 115 * Create an aliased <code>userloginpasswordstrings</code> table reference 116 */ 117 public UserLoginPasswordStrings(Name alias) { 118 this(alias, UserLoginPasswordStrings); 119 } 120 121 /** 122 * Create a <code>userloginpasswordstrings</code> table reference 123 */ 124 public UserLoginPasswordStrings() { 125 this(DSL.name("userloginpasswordstrings"), null); 126 } 127 128 @Override 129 public UniqueKey<com.echothree.model.jooq.server.records.user.UserLoginPasswordStrings> getPrimaryKey() { 130 return KeyRegistry.USER_LOGIN_PASSWORD_STRINGS_PK; 131 } 132 133 @Override 134 public List<UniqueKey<com.echothree.model.jooq.server.records.user.UserLoginPasswordStrings>> getUniqueKeys() { 135 return Arrays.asList(KeyRegistry.USER_LOGIN_PASSWORD_STRINGS_USER_LOGIN_PASSWORD_AND_THRU_TIME_UK); 136 } 137 138 @Override 139 public List<ForeignKey<com.echothree.model.jooq.server.records.user.UserLoginPasswordStrings, ?>> getReferences() { 140 return Arrays.asList(KeyRegistry.USER_LOGIN_PASSWORD_STRINGS_USER_LOGIN_PASSWORD_FK); 141 } 142 143 private transient UserLoginPasswordsPath _ulogps_ulogp_userloginpasswordid_fk; 144 145 /** 146 * Get the implicit join path to the <code>userloginpasswords</code> table. 147 */ 148 public UserLoginPasswordsPath ulogps_ulogp_userloginpasswordid_fk() { 149 if (_ulogps_ulogp_userloginpasswordid_fk == null) 150 _ulogps_ulogp_userloginpasswordid_fk = new UserLoginPasswordsPath(this, KeyRegistry.USER_LOGIN_PASSWORD_STRINGS_USER_LOGIN_PASSWORD_FK, null); 151 152 return _ulogps_ulogp_userloginpasswordid_fk; 153 } 154 155 @Override 156 public UserLoginPasswordStrings as(String alias) { 157 return new UserLoginPasswordStrings(DSL.name(alias), this); 158 } 159 160 @Override 161 public UserLoginPasswordStrings as(Name alias) { 162 return new UserLoginPasswordStrings(alias, this); 163 } 164 165 @Override 166 public UserLoginPasswordStrings as(Table<?> alias) { 167 return new UserLoginPasswordStrings(alias.getQualifiedName(), this); 168 } 169 170 /** 171 * Rename this table 172 */ 173 @Override 174 public UserLoginPasswordStrings rename(String name) { 175 return new UserLoginPasswordStrings(DSL.name(name), null); 176 } 177 178 /** 179 * Rename this table 180 */ 181 @Override 182 public UserLoginPasswordStrings rename(Name name) { 183 return new UserLoginPasswordStrings(name, null); 184 } 185 186 /** 187 * Rename this table 188 */ 189 @Override 190 public UserLoginPasswordStrings rename(Table<?> name) { 191 return new UserLoginPasswordStrings(name.getQualifiedName(), null); 192 } 193 194 /** 195 * Create an inline derived table from this table 196 */ 197 @Override 198 public UserLoginPasswordStrings where(Condition condition) { 199 return new UserLoginPasswordStrings(getQualifiedName(), aliased() ? this : null, null, Internal.condition(this, condition)); 200 } 201 202 /** 203 * Create an inline derived table from this table 204 */ 205 @Override 206 public UserLoginPasswordStrings where(Collection<? extends Condition> conditions) { 207 return where(DSL.and(conditions)); 208 } 209 210 /** 211 * Create an inline derived table from this table 212 */ 213 @Override 214 public UserLoginPasswordStrings where(Condition... conditions) { 215 return where(DSL.and(conditions)); 216 } 217 218 /** 219 * Create an inline derived table from this table 220 */ 221 @Override 222 public UserLoginPasswordStrings where(Field<Boolean> condition) { 223 return where(DSL.condition(condition)); 224 } 225 226 /** 227 * Create an inline derived table from this table 228 */ 229 @Override 230 @PlainSQL 231 public UserLoginPasswordStrings where(SQL condition) { 232 return where(DSL.condition(condition)); 233 } 234 235 /** 236 * Create an inline derived table from this table 237 */ 238 @Override 239 @PlainSQL 240 public UserLoginPasswordStrings where(@Stringly.SQL String condition) { 241 return where(DSL.condition(condition)); 242 } 243 244 /** 245 * Create an inline derived table from this table 246 */ 247 @Override 248 @PlainSQL 249 public UserLoginPasswordStrings where(@Stringly.SQL String condition, Object... binds) { 250 return where(DSL.condition(condition, binds)); 251 } 252 253 /** 254 * Create an inline derived table from this table 255 */ 256 @Override 257 @PlainSQL 258 public UserLoginPasswordStrings where(@Stringly.SQL String condition, QueryPart... parts) { 259 return where(DSL.condition(condition, parts)); 260 } 261 262 /** 263 * Create an inline derived table from this table 264 */ 265 @Override 266 public UserLoginPasswordStrings whereExists(TableLike<?> select) { 267 return where(DSL.exists(select)); 268 } 269 270 /** 271 * Create an inline derived table from this table 272 */ 273 @Override 274 public UserLoginPasswordStrings whereNotExists(TableLike<?> select) { 275 return where(DSL.notExists(select)); 276 } 277}