org.jooq.util.maven.example.mysql.tables
Class TBook

java.lang.Object
  extended by org.jooq.impl.TableImpl<R>
      extended by org.jooq.impl.UpdatableTableImpl<TBookRecord>
          extended by org.jooq.util.maven.example.mysql.tables.TBook
All Implemented Interfaces:
Serializable, Comparable<org.jooq.NamedQueryPart>, org.jooq.Adapter, org.jooq.AliasProvider<org.jooq.Table<TBookRecord>>, org.jooq.Attachable, org.jooq.AttachableInternal, org.jooq.FieldProvider, org.jooq.NamedQueryPart, org.jooq.QueryPart, org.jooq.QueryPartInternal, org.jooq.SchemaProvider, org.jooq.Table<TBookRecord>, org.jooq.TableLike<TBookRecord>, org.jooq.Type<TBookRecord>, org.jooq.Updatable<TBookRecord>, org.jooq.UpdatableTable<TBookRecord>

public class TBook
extends org.jooq.impl.UpdatableTableImpl<TBookRecord>

This class is generated by jOOQ. An entity holding books

See Also:
Serialized Form

Field Summary
 org.jooq.TableField<TBookRecord,Integer> AUTHOR_ID
          The author ID in entity 'author' CONSTRAINT fk_t_book_author_id FOREIGN KEY (AUTHOR_ID) REFERENCES test2.t_author (ID)
 org.jooq.TableField<TBookRecord,Integer> CO_AUTHOR_ID
          An uncommented item CONSTRAINT fk_t_book_co_author_id FOREIGN KEY (co_author_id) REFERENCES test2.t_author (ID)
 org.jooq.TableField<TBookRecord,byte[]> CONTENT_PDF
          Some binary content of the book
 org.jooq.TableField<TBookRecord,String> CONTENT_TEXT
          Some textual content of the book
 org.jooq.TableField<TBookRecord,Integer> DETAILS_ID
          Some more details about the book
 org.jooq.TableField<TBookRecord,Integer> ID
          The book ID PRIMARY KEY
 org.jooq.TableField<TBookRecord,Integer> LANGUAGE_ID
          The language of the book CONSTRAINT fk_t_book_language_id FOREIGN KEY (LANGUAGE_ID) REFERENCES test2.t_language (ID)
 org.jooq.TableField<TBookRecord,Integer> PUBLISHED_IN
          The year the book was published in
 org.jooq.TableField<TBookRecord,TBookStatus> STATUS
          The book's stock status
static TBook T_BOOK
          The singleton instance of test2.t_book
 org.jooq.TableField<TBookRecord,String> TITLE
          The book's title
 
Constructor Summary
TBook()
           
TBook(String alias)
           
 
Method Summary
 TBook as(String alias)
           
 org.jooq.Table<R> asTable()
           
 org.jooq.Table<R> asTable(String arg0)
           
 int compareTo(org.jooq.NamedQueryPart arg0)
           
protected  org.jooq.impl.Factory create()
           
protected  org.jooq.impl.Factory create(org.jooq.Configuration arg0)
           
protected static
<R extends org.jooq.Record,T>
org.jooq.TableField<R,T>
createField(String arg0, org.jooq.DataType<T> arg1, org.jooq.Table<R> arg2)
           
 org.jooq.Table<org.jooq.Record> crossJoin(String arg0)
           
 org.jooq.Table<org.jooq.Record> crossJoin(String arg0, Object... arg1)
           
 org.jooq.Table<org.jooq.Record> crossJoin(org.jooq.TableLike<?> arg0)
           
 org.jooq.DivideByOnStep divideBy(org.jooq.Table<?> arg0)
           
 org.jooq.TableOnStep fullOuterJoin(String arg0)
           
 org.jooq.TableOnStep fullOuterJoin(String arg0, Object... arg1)
           
 org.jooq.TableOnStep fullOuterJoin(org.jooq.TableLike<?> arg0)
           
 List<org.jooq.Attachable> getAttachables()
           
protected  List<org.jooq.Attachable> getAttachables(Collection<? extends org.jooq.QueryPart> arg0)
           
protected  List<org.jooq.Attachable> getAttachables(org.jooq.QueryPart... arg0)
           
protected  List<org.jooq.Attachable> getAttachables(org.jooq.Store<?> arg0)
           
 List<Object> getBindValues()
           
 org.jooq.Configuration getConfiguration()
           
 org.jooq.SQLDialect getDialect()
          Deprecated. 
<T> org.jooq.Field<T>
getField(org.jooq.Field<T> arg0)
           
 org.jooq.Field<?> getField(int arg0)
           
 org.jooq.Field<?> getField(String arg0)
           
 List<org.jooq.Field<?>> getFields()
           
 int getIndex(org.jooq.Field<?> arg0)
           
 List<org.jooq.UniqueKey<TBookRecord>> getKeys()
           
 org.jooq.UniqueKey<TBookRecord> getMainKey()
           
 String getName()
           
 org.jooq.Param<?> getParam(String arg0)
           
 Map<String,org.jooq.Param<?>> getParams()
           
 Class<TBookRecord> getRecordType()
          The class holding records for this type
 List<org.jooq.ForeignKey<TBookRecord,?>> getReferences()
           
<O extends org.jooq.Record>
List<org.jooq.ForeignKey<R,O>>
getReferencesTo(org.jooq.Table<O> arg0)
           
 org.jooq.Schema getSchema()
           
 String getSQL()
           
 String getSQL(boolean arg0)
           
<I> I
internalAPI(Class<I> arg0)
           
 org.jooq.TableOnStep join(String arg0)
           
 org.jooq.TableOnStep join(String arg0, Object... arg1)
           
 org.jooq.TableOnStep join(org.jooq.TableLike<?> arg0)
           
 org.jooq.TableOnStep leftOuterJoin(String arg0)
           
 org.jooq.TableOnStep leftOuterJoin(String arg0, Object... arg1)
           
 org.jooq.TableOnStep leftOuterJoin(org.jooq.TableLike<?> arg0)
           
 org.jooq.Table<org.jooq.Record> naturalJoin(String arg0)
           
 org.jooq.Table<org.jooq.Record> naturalJoin(String arg0, Object... arg1)
           
 org.jooq.Table<org.jooq.Record> naturalJoin(org.jooq.TableLike<?> arg0)
           
 org.jooq.Table<org.jooq.Record> naturalLeftOuterJoin(String arg0)
           
 org.jooq.Table<org.jooq.Record> naturalLeftOuterJoin(String arg0, Object... arg1)
           
 org.jooq.Table<org.jooq.Record> naturalLeftOuterJoin(org.jooq.TableLike<?> arg0)
           
 org.jooq.Table<org.jooq.Record> naturalRightOuterJoin(String arg0)
           
 org.jooq.Table<org.jooq.Record> naturalRightOuterJoin(String arg0, Object... arg1)
           
 org.jooq.Table<org.jooq.Record> naturalRightOuterJoin(org.jooq.TableLike<?> arg0)
           
 org.jooq.PivotForStep pivot(Collection<? extends org.jooq.Field<?>> arg0)
           
 org.jooq.PivotForStep pivot(org.jooq.Field<?>... arg0)
           
 org.jooq.TableOnStep rightOuterJoin(String arg0)
           
 org.jooq.TableOnStep rightOuterJoin(String arg0, Object... arg1)
           
 org.jooq.TableOnStep rightOuterJoin(org.jooq.TableLike<?> arg0)
           
protected  org.jooq.exception.DataAccessException translate(String arg0, SQLException arg1)
           
protected  org.jooq.exception.DataAccessException translate(String arg0, String arg1, SQLException arg2)
          Deprecated. 
 
Methods inherited from class org.jooq.impl.UpdatableTableImpl
getReferencesFrom
 
Methods inherited from class org.jooq.impl.TableImpl
bind, declaresTables, getAttachables0, getFieldList, toSQL
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jooq.Table
crossJoin, crossJoin, crossJoin, divideBy, fullOuterJoin, fullOuterJoin, fullOuterJoin, getIdentity, getReferencesTo, join, join, join, leftOuterJoin, leftOuterJoin, leftOuterJoin, naturalJoin, naturalJoin, naturalJoin, naturalLeftOuterJoin, naturalLeftOuterJoin, naturalLeftOuterJoin, naturalRightOuterJoin, naturalRightOuterJoin, naturalRightOuterJoin, pivot, pivot, rightOuterJoin, rightOuterJoin, rightOuterJoin
 
Methods inherited from interface org.jooq.NamedQueryPart
getName
 
Methods inherited from interface org.jooq.Attachable
attach
 
Methods inherited from interface org.jooq.Adapter
internalAPI
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.jooq.FieldProvider
getField, getField, getField, getFields, getIndex
 
Methods inherited from interface org.jooq.SchemaProvider
getSchema
 
Methods inherited from interface org.jooq.TableLike
asTable, asTable
 

Field Detail

T_BOOK

public static final TBook T_BOOK
The singleton instance of test2.t_book


ID

public final org.jooq.TableField<TBookRecord,Integer> ID
The book ID PRIMARY KEY


AUTHOR_ID

public final org.jooq.TableField<TBookRecord,Integer> AUTHOR_ID
The author ID in entity 'author'

 CONSTRAINT fk_t_book_author_id
 FOREIGN KEY (AUTHOR_ID)
 REFERENCES test2.t_author (ID)
 


CO_AUTHOR_ID

public final org.jooq.TableField<TBookRecord,Integer> CO_AUTHOR_ID
An uncommented item

 CONSTRAINT fk_t_book_co_author_id
 FOREIGN KEY (co_author_id)
 REFERENCES test2.t_author (ID)
 


DETAILS_ID

public final org.jooq.TableField<TBookRecord,Integer> DETAILS_ID
Some more details about the book


TITLE

public final org.jooq.TableField<TBookRecord,String> TITLE
The book's title


PUBLISHED_IN

public final org.jooq.TableField<TBookRecord,Integer> PUBLISHED_IN
The year the book was published in


LANGUAGE_ID

public final org.jooq.TableField<TBookRecord,Integer> LANGUAGE_ID
The language of the book

 CONSTRAINT fk_t_book_language_id
 FOREIGN KEY (LANGUAGE_ID)
 REFERENCES test2.t_language (ID)
 


CONTENT_TEXT

public final org.jooq.TableField<TBookRecord,String> CONTENT_TEXT
Some textual content of the book


CONTENT_PDF

public final org.jooq.TableField<TBookRecord,byte[]> CONTENT_PDF
Some binary content of the book


STATUS

public final org.jooq.TableField<TBookRecord,TBookStatus> STATUS
The book's stock status

Constructor Detail

TBook

public TBook()

TBook

public TBook(String alias)
Method Detail

getRecordType

public Class<TBookRecord> getRecordType()
The class holding records for this type

Specified by:
getRecordType in interface org.jooq.Type<TBookRecord>
Overrides:
getRecordType in class org.jooq.impl.TableImpl<TBookRecord>

getMainKey

public org.jooq.UniqueKey<TBookRecord> getMainKey()
Specified by:
getMainKey in interface org.jooq.UpdatableTable<TBookRecord>
Overrides:
getMainKey in class org.jooq.impl.UpdatableTableImpl<TBookRecord>

getKeys

public List<org.jooq.UniqueKey<TBookRecord>> getKeys()
Specified by:
getKeys in interface org.jooq.UpdatableTable<TBookRecord>
Overrides:
getKeys in class org.jooq.impl.UpdatableTableImpl<TBookRecord>

getReferences

public List<org.jooq.ForeignKey<TBookRecord,?>> getReferences()
Specified by:
getReferences in interface org.jooq.Table<TBookRecord>
Overrides:
getReferences in class org.jooq.impl.TableImpl<TBookRecord>

as

public TBook as(String alias)
Specified by:
as in interface org.jooq.AliasProvider<org.jooq.Table<TBookRecord>>
Overrides:
as in class org.jooq.impl.TableImpl<TBookRecord>

asTable

public final org.jooq.Table<R> asTable()
Specified by:
asTable in interface org.jooq.TableLike<R extends org.jooq.Record>

asTable

public final org.jooq.Table<R> asTable(String arg0)
Specified by:
asTable in interface org.jooq.TableLike<R extends org.jooq.Record>

getReferencesTo

public final <O extends org.jooq.Record> List<org.jooq.ForeignKey<R,O>> getReferencesTo(org.jooq.Table<O> arg0)
Specified by:
getReferencesTo in interface org.jooq.Table<R extends org.jooq.Record>

createField

protected static final <R extends org.jooq.Record,T> org.jooq.TableField<R,T> createField(String arg0,
                                                                                          org.jooq.DataType<T> arg1,
                                                                                          org.jooq.Table<R> arg2)

pivot

public final org.jooq.PivotForStep pivot(org.jooq.Field<?>... arg0)
Specified by:
pivot in interface org.jooq.Table<R extends org.jooq.Record>

pivot

public final org.jooq.PivotForStep pivot(Collection<? extends org.jooq.Field<?>> arg0)
Specified by:
pivot in interface org.jooq.Table<R extends org.jooq.Record>

divideBy

public final org.jooq.DivideByOnStep divideBy(org.jooq.Table<?> arg0)
Specified by:
divideBy in interface org.jooq.Table<R extends org.jooq.Record>

join

public final org.jooq.TableOnStep join(org.jooq.TableLike<?> arg0)
Specified by:
join in interface org.jooq.Table<R extends org.jooq.Record>

join

public final org.jooq.TableOnStep join(String arg0)
Specified by:
join in interface org.jooq.Table<R extends org.jooq.Record>

join

public final org.jooq.TableOnStep join(String arg0,
                                       Object... arg1)
Specified by:
join in interface org.jooq.Table<R extends org.jooq.Record>

leftOuterJoin

public final org.jooq.TableOnStep leftOuterJoin(org.jooq.TableLike<?> arg0)
Specified by:
leftOuterJoin in interface org.jooq.Table<R extends org.jooq.Record>

leftOuterJoin

public final org.jooq.TableOnStep leftOuterJoin(String arg0)
Specified by:
leftOuterJoin in interface org.jooq.Table<R extends org.jooq.Record>

leftOuterJoin

public final org.jooq.TableOnStep leftOuterJoin(String arg0,
                                                Object... arg1)
Specified by:
leftOuterJoin in interface org.jooq.Table<R extends org.jooq.Record>

rightOuterJoin

public final org.jooq.TableOnStep rightOuterJoin(org.jooq.TableLike<?> arg0)
Specified by:
rightOuterJoin in interface org.jooq.Table<R extends org.jooq.Record>

rightOuterJoin

public final org.jooq.TableOnStep rightOuterJoin(String arg0)
Specified by:
rightOuterJoin in interface org.jooq.Table<R extends org.jooq.Record>

rightOuterJoin

public final org.jooq.TableOnStep rightOuterJoin(String arg0,
                                                 Object... arg1)
Specified by:
rightOuterJoin in interface org.jooq.Table<R extends org.jooq.Record>

fullOuterJoin

public final org.jooq.TableOnStep fullOuterJoin(org.jooq.TableLike<?> arg0)
Specified by:
fullOuterJoin in interface org.jooq.Table<R extends org.jooq.Record>

fullOuterJoin

public final org.jooq.TableOnStep fullOuterJoin(String arg0)
Specified by:
fullOuterJoin in interface org.jooq.Table<R extends org.jooq.Record>

fullOuterJoin

public final org.jooq.TableOnStep fullOuterJoin(String arg0,
                                                Object... arg1)
Specified by:
fullOuterJoin in interface org.jooq.Table<R extends org.jooq.Record>

crossJoin

public final org.jooq.Table<org.jooq.Record> crossJoin(org.jooq.TableLike<?> arg0)
Specified by:
crossJoin in interface org.jooq.Table<R extends org.jooq.Record>

crossJoin

public final org.jooq.Table<org.jooq.Record> crossJoin(String arg0)
Specified by:
crossJoin in interface org.jooq.Table<R extends org.jooq.Record>

crossJoin

public final org.jooq.Table<org.jooq.Record> crossJoin(String arg0,
                                                       Object... arg1)
Specified by:
crossJoin in interface org.jooq.Table<R extends org.jooq.Record>

naturalJoin

public final org.jooq.Table<org.jooq.Record> naturalJoin(org.jooq.TableLike<?> arg0)
Specified by:
naturalJoin in interface org.jooq.Table<R extends org.jooq.Record>

naturalJoin

public final org.jooq.Table<org.jooq.Record> naturalJoin(String arg0)
Specified by:
naturalJoin in interface org.jooq.Table<R extends org.jooq.Record>

naturalJoin

public final org.jooq.Table<org.jooq.Record> naturalJoin(String arg0,
                                                         Object... arg1)
Specified by:
naturalJoin in interface org.jooq.Table<R extends org.jooq.Record>

naturalLeftOuterJoin

public final org.jooq.Table<org.jooq.Record> naturalLeftOuterJoin(org.jooq.TableLike<?> arg0)
Specified by:
naturalLeftOuterJoin in interface org.jooq.Table<R extends org.jooq.Record>

naturalLeftOuterJoin

public final org.jooq.Table<org.jooq.Record> naturalLeftOuterJoin(String arg0)
Specified by:
naturalLeftOuterJoin in interface org.jooq.Table<R extends org.jooq.Record>

naturalLeftOuterJoin

public final org.jooq.Table<org.jooq.Record> naturalLeftOuterJoin(String arg0,
                                                                  Object... arg1)
Specified by:
naturalLeftOuterJoin in interface org.jooq.Table<R extends org.jooq.Record>

naturalRightOuterJoin

public final org.jooq.Table<org.jooq.Record> naturalRightOuterJoin(org.jooq.TableLike<?> arg0)
Specified by:
naturalRightOuterJoin in interface org.jooq.Table<R extends org.jooq.Record>

naturalRightOuterJoin

public final org.jooq.Table<org.jooq.Record> naturalRightOuterJoin(String arg0)
Specified by:
naturalRightOuterJoin in interface org.jooq.Table<R extends org.jooq.Record>

naturalRightOuterJoin

public final org.jooq.Table<org.jooq.Record> naturalRightOuterJoin(String arg0,
                                                                   Object... arg1)
Specified by:
naturalRightOuterJoin in interface org.jooq.Table<R extends org.jooq.Record>

getFields

public final List<org.jooq.Field<?>> getFields()
Specified by:
getFields in interface org.jooq.FieldProvider

getField

public final <T> org.jooq.Field<T> getField(org.jooq.Field<T> arg0)
Specified by:
getField in interface org.jooq.FieldProvider

getField

public final org.jooq.Field<?> getField(String arg0)
Specified by:
getField in interface org.jooq.FieldProvider

getField

public final org.jooq.Field<?> getField(int arg0)
Specified by:
getField in interface org.jooq.FieldProvider

getIndex

public final int getIndex(org.jooq.Field<?> arg0)
                   throws IllegalArgumentException
Specified by:
getIndex in interface org.jooq.FieldProvider
Throws:
IllegalArgumentException

getAttachables

public final List<org.jooq.Attachable> getAttachables()
Specified by:
getAttachables in interface org.jooq.AttachableInternal

getSchema

public final org.jooq.Schema getSchema()
Specified by:
getSchema in interface org.jooq.SchemaProvider

getName

public final String getName()
Specified by:
getName in interface org.jooq.NamedQueryPart

compareTo

public final int compareTo(org.jooq.NamedQueryPart arg0)
Specified by:
compareTo in interface Comparable<org.jooq.NamedQueryPart>

internalAPI

public final <I> I internalAPI(Class<I> arg0)
Specified by:
internalAPI in interface org.jooq.Adapter

getConfiguration

public final org.jooq.Configuration getConfiguration()
Specified by:
getConfiguration in interface org.jooq.AttachableInternal

getDialect

@Deprecated
public final org.jooq.SQLDialect getDialect()
Deprecated. 

Specified by:
getDialect in interface org.jooq.QueryPartInternal

getSQL

public final String getSQL()
Specified by:
getSQL in interface org.jooq.QueryPartInternal

getSQL

public final String getSQL(boolean arg0)
Specified by:
getSQL in interface org.jooq.QueryPartInternal

getBindValues

public final List<Object> getBindValues()
Specified by:
getBindValues in interface org.jooq.QueryPartInternal

getParams

public final Map<String,org.jooq.Param<?>> getParams()
Specified by:
getParams in interface org.jooq.QueryPartInternal

getParam

public final org.jooq.Param<?> getParam(String arg0)
Specified by:
getParam in interface org.jooq.QueryPartInternal

getAttachables

protected final List<org.jooq.Attachable> getAttachables(Collection<? extends org.jooq.QueryPart> arg0)

getAttachables

protected final List<org.jooq.Attachable> getAttachables(org.jooq.QueryPart... arg0)

getAttachables

protected final List<org.jooq.Attachable> getAttachables(org.jooq.Store<?> arg0)

create

protected final org.jooq.impl.Factory create()

create

protected final org.jooq.impl.Factory create(org.jooq.Configuration arg0)

translate

@Deprecated
protected final org.jooq.exception.DataAccessException translate(String arg0,
                                                                            String arg1,
                                                                            SQLException arg2)
Deprecated. 


translate

protected final org.jooq.exception.DataAccessException translate(String arg0,
                                                                 SQLException arg1)


Copyright © 2012. All Rights Reserved.