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

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

public class TBookToBookStore
extends org.jooq.impl.UpdatableTableImpl<TBookToBookStoreRecord>

This class is generated by jOOQ. An m:n relation between books and book stores

See Also:
Serialized Form

Field Summary
 org.jooq.TableField<TBookToBookStoreRecord,Integer> BOOK_ID
          The book ID PRIMARY KEY CONSTRAINT fk_b2bs_b_id FOREIGN KEY (book_id) REFERENCES test2.t_book (ID)
 org.jooq.TableField<TBookToBookStoreRecord,String> BOOK_STORE_NAME
          The book store name PRIMARY KEY CONSTRAINT fk_b2bs_bs_name FOREIGN KEY (book_store_name) REFERENCES test2.t_book_store (name)
 org.jooq.TableField<TBookToBookStoreRecord,Integer> STOCK
          The number of books on stock
static TBookToBookStore T_BOOK_TO_BOOK_STORE
          The singleton instance of test2.t_book_to_book_store
 
Constructor Summary
TBookToBookStore()
           
TBookToBookStore(String alias)
           
 
Method Summary
 TBookToBookStore 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<TBookToBookStoreRecord>> getKeys()
           
 org.jooq.UniqueKey<TBookToBookStoreRecord> getMainKey()
           
 String getName()
           
 org.jooq.Param<?> getParam(String arg0)
           
 Map<String,org.jooq.Param<?>> getParams()
           
 Class<TBookToBookStoreRecord> getRecordType()
          The class holding records for this type
 List<org.jooq.ForeignKey<TBookToBookStoreRecord,?>> 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_TO_BOOK_STORE

public static final TBookToBookStore T_BOOK_TO_BOOK_STORE
The singleton instance of test2.t_book_to_book_store


BOOK_STORE_NAME

public final org.jooq.TableField<TBookToBookStoreRecord,String> BOOK_STORE_NAME
The book store name PRIMARY KEY

 CONSTRAINT fk_b2bs_bs_name
 FOREIGN KEY (book_store_name)
 REFERENCES test2.t_book_store (name)
 


BOOK_ID

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

 CONSTRAINT fk_b2bs_b_id
 FOREIGN KEY (book_id)
 REFERENCES test2.t_book (ID)
 


STOCK

public final org.jooq.TableField<TBookToBookStoreRecord,Integer> STOCK
The number of books on stock

Constructor Detail

TBookToBookStore

public TBookToBookStore()

TBookToBookStore

public TBookToBookStore(String alias)
Method Detail

getRecordType

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

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

getMainKey

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

getKeys

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

getReferences

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

as

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

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.