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>

@Generated(value={"http://www.jooq.org","2.0.2"},
           comments="This class is generated by jOOQ")
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 FOREIGN KEY [test.t_book_to_book_store.book_id] REFERENCES t_book [test.t_book.ID]
 org.jooq.TableField<TBookToBookStoreRecord,String> BOOK_STORE_NAME
          The book store name PRIMARY KEY FOREIGN KEY [test.t_book_to_book_store.book_store_name] REFERENCES t_book_store [test.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 t_book_to_book_store
 
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)
           
 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)
           
 org.jooq.impl.FieldList 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()
           
<I> I
internalAPI(Class<I> arg0)
           
 org.jooq.impl.Pivot<Object> pivot(Collection<? extends org.jooq.Field<?>> arg0)
           
 org.jooq.impl.Pivot<Object> pivot(org.jooq.Field<?>... arg0)
           
protected  org.jooq.exception.DataAccessException translate(String arg0, String arg1, SQLException arg2)
           
 
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
getIdentity, getReferencesTo, pivot, pivot
 
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 t_book_to_book_store


BOOK_STORE_NAME

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

 FOREIGN KEY [test.t_book_to_book_store.book_store_name]
 REFERENCES t_book_store [test.t_book_store.name]
 


BOOK_ID

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

 FOREIGN KEY [test.t_book_to_book_store.book_id]
 REFERENCES t_book [test.t_book.ID]
 


STOCK

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

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.impl.Pivot<Object> pivot(org.jooq.Field<?>... arg0)
Specified by:
pivot in interface org.jooq.Table<R extends org.jooq.Record>

pivot

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

getFields

public final org.jooq.impl.FieldList 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

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

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


Copyright © 2012. All Rights Reserved.