001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.tables.content; 005 006 007import com.echothree.model.data.content.common.pk.ContentPageAreaClobPK; 008import com.echothree.model.data.content.common.pk.ContentPageAreaDetailPK; 009import com.echothree.model.jooq.server.KeyRegistry; 010import com.echothree.model.jooq.server.tables.content.ContentPageAreaDetails.ContentPageAreaDetailsPath; 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 ContentPageAreaClobs extends TableImpl<com.echothree.model.jooq.server.records.content.ContentPageAreaClobs> { 041 042 private static final long serialVersionUID = 1L; 043 044 /** 045 * The reference instance of <code>contentpageareaclobs</code> 046 */ 047 public static final ContentPageAreaClobs ContentPageAreaClobs = new ContentPageAreaClobs(); 048 049 /** 050 * The class holding records for this type 051 */ 052 @Override 053 public Class<com.echothree.model.jooq.server.records.content.ContentPageAreaClobs> getRecordType() { 054 return com.echothree.model.jooq.server.records.content.ContentPageAreaClobs.class; 055 } 056 057 /** 058 * The column 059 * <code>contentpageareaclobs.cntpac_contentpageareaclobid</code>. 060 */ 061 public final TableField<com.echothree.model.jooq.server.records.content.ContentPageAreaClobs, ContentPageAreaClobPK> CONTENT_PAGE_AREA_CLOB = createField(DSL.name("cntpac_contentpageareaclobid"), SQLDataType.BIGINT.nullable(false), this, "", Converter.ofNullable(Long.class, ContentPageAreaClobPK.class, id -> new com.echothree.model.data.content.common.pk.ContentPageAreaClobPK(id), primaryKey -> primaryKey.getEntityId())); 062 063 /** 064 * The column 065 * <code>contentpageareaclobs.cntpac_cntpad_contentpageareadetailid</code>. 066 */ 067 public final TableField<com.echothree.model.jooq.server.records.content.ContentPageAreaClobs, ContentPageAreaDetailPK> CONTENT_PAGE_AREA_DETAIL = createField(DSL.name("cntpac_cntpad_contentpageareadetailid"), SQLDataType.BIGINT.nullable(false), this, "", Converter.ofNullable(Long.class, ContentPageAreaDetailPK.class, id -> new com.echothree.model.data.content.common.pk.ContentPageAreaDetailPK(id), primaryKey -> primaryKey.getEntityId())); 068 069 /** 070 * The column <code>contentpageareaclobs.cntpac_clob</code>. 071 */ 072 public final TableField<com.echothree.model.jooq.server.records.content.ContentPageAreaClobs, String> CLOB = createField(DSL.name("cntpac_clob"), SQLDataType.CLOB.nullable(false), this, ""); 073 074 private ContentPageAreaClobs(Name alias, Table<com.echothree.model.jooq.server.records.content.ContentPageAreaClobs> aliased) { 075 this(alias, aliased, (Field<?>[]) null, null); 076 } 077 078 private ContentPageAreaClobs(Name alias, Table<com.echothree.model.jooq.server.records.content.ContentPageAreaClobs> aliased, Field<?>[] parameters, Condition where) { 079 super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); 080 } 081 082 /** 083 * Create an aliased <code>contentpageareaclobs</code> table reference 084 */ 085 public ContentPageAreaClobs(String alias) { 086 this(DSL.name(alias), ContentPageAreaClobs); 087 } 088 089 /** 090 * Create an aliased <code>contentpageareaclobs</code> table reference 091 */ 092 public ContentPageAreaClobs(Name alias) { 093 this(alias, ContentPageAreaClobs); 094 } 095 096 /** 097 * Create a <code>contentpageareaclobs</code> table reference 098 */ 099 public ContentPageAreaClobs() { 100 this(DSL.name("contentpageareaclobs"), null); 101 } 102 103 @Override 104 public UniqueKey<com.echothree.model.jooq.server.records.content.ContentPageAreaClobs> getPrimaryKey() { 105 return KeyRegistry.CONTENT_PAGE_AREA_CLOBS_PK; 106 } 107 108 @Override 109 public List<UniqueKey<com.echothree.model.jooq.server.records.content.ContentPageAreaClobs>> getUniqueKeys() { 110 return Arrays.asList(KeyRegistry.CONTENT_PAGE_AREA_CLOBS_CONTENT_PAGE_AREA_DETAIL_UK); 111 } 112 113 @Override 114 public List<ForeignKey<com.echothree.model.jooq.server.records.content.ContentPageAreaClobs, ?>> getReferences() { 115 return Arrays.asList(KeyRegistry.CONTENT_PAGE_AREA_CLOBS_CONTENT_PAGE_AREA_DETAIL_FK); 116 } 117 118 private transient ContentPageAreaDetailsPath _cntpac_cntpad_contentpageareadetailid_fk; 119 120 /** 121 * Get the implicit join path to the <code>contentpageareadetails</code> 122 * table. 123 */ 124 public ContentPageAreaDetailsPath cntpac_cntpad_contentpageareadetailid_fk() { 125 if (_cntpac_cntpad_contentpageareadetailid_fk == null) 126 _cntpac_cntpad_contentpageareadetailid_fk = new ContentPageAreaDetailsPath(this, KeyRegistry.CONTENT_PAGE_AREA_CLOBS_CONTENT_PAGE_AREA_DETAIL_FK, null); 127 128 return _cntpac_cntpad_contentpageareadetailid_fk; 129 } 130 131 @Override 132 public ContentPageAreaClobs as(String alias) { 133 return new ContentPageAreaClobs(DSL.name(alias), this); 134 } 135 136 @Override 137 public ContentPageAreaClobs as(Name alias) { 138 return new ContentPageAreaClobs(alias, this); 139 } 140 141 @Override 142 public ContentPageAreaClobs as(Table<?> alias) { 143 return new ContentPageAreaClobs(alias.getQualifiedName(), this); 144 } 145 146 /** 147 * Rename this table 148 */ 149 @Override 150 public ContentPageAreaClobs rename(String name) { 151 return new ContentPageAreaClobs(DSL.name(name), null); 152 } 153 154 /** 155 * Rename this table 156 */ 157 @Override 158 public ContentPageAreaClobs rename(Name name) { 159 return new ContentPageAreaClobs(name, null); 160 } 161 162 /** 163 * Rename this table 164 */ 165 @Override 166 public ContentPageAreaClobs rename(Table<?> name) { 167 return new ContentPageAreaClobs(name.getQualifiedName(), null); 168 } 169 170 /** 171 * Create an inline derived table from this table 172 */ 173 @Override 174 public ContentPageAreaClobs where(Condition condition) { 175 return new ContentPageAreaClobs(getQualifiedName(), aliased() ? this : null, null, Internal.condition(this, condition)); 176 } 177 178 /** 179 * Create an inline derived table from this table 180 */ 181 @Override 182 public ContentPageAreaClobs where(Collection<? extends Condition> conditions) { 183 return where(DSL.and(conditions)); 184 } 185 186 /** 187 * Create an inline derived table from this table 188 */ 189 @Override 190 public ContentPageAreaClobs where(Condition... conditions) { 191 return where(DSL.and(conditions)); 192 } 193 194 /** 195 * Create an inline derived table from this table 196 */ 197 @Override 198 public ContentPageAreaClobs where(Field<Boolean> condition) { 199 return where(DSL.condition(condition)); 200 } 201 202 /** 203 * Create an inline derived table from this table 204 */ 205 @Override 206 @PlainSQL 207 public ContentPageAreaClobs where(SQL condition) { 208 return where(DSL.condition(condition)); 209 } 210 211 /** 212 * Create an inline derived table from this table 213 */ 214 @Override 215 @PlainSQL 216 public ContentPageAreaClobs where(@Stringly.SQL String condition) { 217 return where(DSL.condition(condition)); 218 } 219 220 /** 221 * Create an inline derived table from this table 222 */ 223 @Override 224 @PlainSQL 225 public ContentPageAreaClobs where(@Stringly.SQL String condition, Object... binds) { 226 return where(DSL.condition(condition, binds)); 227 } 228 229 /** 230 * Create an inline derived table from this table 231 */ 232 @Override 233 @PlainSQL 234 public ContentPageAreaClobs where(@Stringly.SQL String condition, QueryPart... parts) { 235 return where(DSL.condition(condition, parts)); 236 } 237 238 /** 239 * Create an inline derived table from this table 240 */ 241 @Override 242 public ContentPageAreaClobs whereExists(TableLike<?> select) { 243 return where(DSL.exists(select)); 244 } 245 246 /** 247 * Create an inline derived table from this table 248 */ 249 @Override 250 public ContentPageAreaClobs whereNotExists(TableLike<?> select) { 251 return where(DSL.notExists(select)); 252 } 253}