Reformat code
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package sample.jooq.domain;
|
||||
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.ForeignKey;
|
||||
@@ -21,18 +20,11 @@ import sample.jooq.domain.tables.records.BookStoreRecord;
|
||||
import sample.jooq.domain.tables.records.BookToBookStoreRecord;
|
||||
import sample.jooq.domain.tables.records.LanguageRecord;
|
||||
|
||||
|
||||
/**
|
||||
* A class modelling foreign key relationships between tables of the <code>PUBLIC</code>
|
||||
* A class modelling foreign key relationships between tables of the <code>PUBLIC</code>
|
||||
* schema
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.6.2"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@Generated(value = { "http://www.jooq.org", "jOOQ version:3.6.2" }, comments = "This class is generated by jOOQ")
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Keys {
|
||||
|
||||
@@ -40,7 +32,6 @@ public class Keys {
|
||||
// IDENTITY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// UNIQUE and PRIMARY KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
@@ -65,17 +56,30 @@ public class Keys {
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
private static class UniqueKeys0 extends AbstractKeys {
|
||||
public static final UniqueKey<LanguageRecord> CONSTRAINT_C = createUniqueKey(Language.LANGUAGE, Language.LANGUAGE.ID);
|
||||
public static final UniqueKey<AuthorRecord> CONSTRAINT_7 = createUniqueKey(Author.AUTHOR, Author.AUTHOR.ID);
|
||||
public static final UniqueKey<BookRecord> CONSTRAINT_1 = createUniqueKey(Book.BOOK, Book.BOOK.ID);
|
||||
public static final UniqueKey<BookStoreRecord> CONSTRAINT_F = createUniqueKey(BookStore.BOOK_STORE, BookStore.BOOK_STORE.NAME);
|
||||
public static final UniqueKey<BookToBookStoreRecord> CONSTRAINT_2 = createUniqueKey(BookToBookStore.BOOK_TO_BOOK_STORE, BookToBookStore.BOOK_TO_BOOK_STORE.NAME, BookToBookStore.BOOK_TO_BOOK_STORE.BOOK_ID);
|
||||
public static final UniqueKey<LanguageRecord> CONSTRAINT_C = createUniqueKey(
|
||||
Language.LANGUAGE, Language.LANGUAGE.ID);
|
||||
public static final UniqueKey<AuthorRecord> CONSTRAINT_7 = createUniqueKey(
|
||||
Author.AUTHOR, Author.AUTHOR.ID);
|
||||
public static final UniqueKey<BookRecord> CONSTRAINT_1 = createUniqueKey(
|
||||
Book.BOOK, Book.BOOK.ID);
|
||||
public static final UniqueKey<BookStoreRecord> CONSTRAINT_F = createUniqueKey(
|
||||
BookStore.BOOK_STORE, BookStore.BOOK_STORE.NAME);
|
||||
public static final UniqueKey<BookToBookStoreRecord> CONSTRAINT_2 = createUniqueKey(
|
||||
BookToBookStore.BOOK_TO_BOOK_STORE,
|
||||
BookToBookStore.BOOK_TO_BOOK_STORE.NAME,
|
||||
BookToBookStore.BOOK_TO_BOOK_STORE.BOOK_ID);
|
||||
}
|
||||
|
||||
private static class ForeignKeys0 extends AbstractKeys {
|
||||
public static final ForeignKey<BookRecord, AuthorRecord> FK_BOOK_AUTHOR = createForeignKey(sample.jooq.domain.Keys.CONSTRAINT_7, Book.BOOK, Book.BOOK.AUTHOR_ID);
|
||||
public static final ForeignKey<BookRecord, LanguageRecord> FK_BOOK_LANGUAGE = createForeignKey(sample.jooq.domain.Keys.CONSTRAINT_C, Book.BOOK, Book.BOOK.LANGUAGE_ID);
|
||||
public static final ForeignKey<BookToBookStoreRecord, BookStoreRecord> FK_B2BS_BOOK_STORE = createForeignKey(sample.jooq.domain.Keys.CONSTRAINT_F, BookToBookStore.BOOK_TO_BOOK_STORE, BookToBookStore.BOOK_TO_BOOK_STORE.NAME);
|
||||
public static final ForeignKey<BookToBookStoreRecord, BookRecord> FK_B2BS_BOOK = createForeignKey(sample.jooq.domain.Keys.CONSTRAINT_1, BookToBookStore.BOOK_TO_BOOK_STORE, BookToBookStore.BOOK_TO_BOOK_STORE.BOOK_ID);
|
||||
public static final ForeignKey<BookRecord, AuthorRecord> FK_BOOK_AUTHOR = createForeignKey(
|
||||
sample.jooq.domain.Keys.CONSTRAINT_7, Book.BOOK, Book.BOOK.AUTHOR_ID);
|
||||
public static final ForeignKey<BookRecord, LanguageRecord> FK_BOOK_LANGUAGE = createForeignKey(
|
||||
sample.jooq.domain.Keys.CONSTRAINT_C, Book.BOOK, Book.BOOK.LANGUAGE_ID);
|
||||
public static final ForeignKey<BookToBookStoreRecord, BookStoreRecord> FK_B2BS_BOOK_STORE = createForeignKey(
|
||||
sample.jooq.domain.Keys.CONSTRAINT_F, BookToBookStore.BOOK_TO_BOOK_STORE,
|
||||
BookToBookStore.BOOK_TO_BOOK_STORE.NAME);
|
||||
public static final ForeignKey<BookToBookStoreRecord, BookRecord> FK_B2BS_BOOK = createForeignKey(
|
||||
sample.jooq.domain.Keys.CONSTRAINT_1, BookToBookStore.BOOK_TO_BOOK_STORE,
|
||||
BookToBookStore.BOOK_TO_BOOK_STORE.BOOK_ID);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package sample.jooq.domain;
|
||||
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
@@ -19,17 +18,10 @@ import sample.jooq.domain.tables.BookStore;
|
||||
import sample.jooq.domain.tables.BookToBookStore;
|
||||
import sample.jooq.domain.tables.Language;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.6.2"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@Generated(value = { "http://www.jooq.org", "jOOQ version:3.6.2" }, comments = "This class is generated by jOOQ")
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Public extends SchemaImpl {
|
||||
|
||||
@@ -55,11 +47,7 @@ public class Public extends SchemaImpl {
|
||||
}
|
||||
|
||||
private final List<Table<?>> getTables0() {
|
||||
return Arrays.<Table<?>>asList(
|
||||
Language.LANGUAGE,
|
||||
Author.AUTHOR,
|
||||
Book.BOOK,
|
||||
BookStore.BOOK_STORE,
|
||||
BookToBookStore.BOOK_TO_BOOK_STORE);
|
||||
return Arrays.<Table<?>>asList(Language.LANGUAGE, Author.AUTHOR, Book.BOOK,
|
||||
BookStore.BOOK_STORE, BookToBookStore.BOOK_TO_BOOK_STORE);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package sample.jooq.domain;
|
||||
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import sample.jooq.domain.tables.Author;
|
||||
@@ -12,17 +11,10 @@ import sample.jooq.domain.tables.BookStore;
|
||||
import sample.jooq.domain.tables.BookToBookStore;
|
||||
import sample.jooq.domain.tables.Language;
|
||||
|
||||
|
||||
/**
|
||||
* Convenience access to all tables in PUBLIC
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.6.2"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@Generated(value = { "http://www.jooq.org", "jOOQ version:3.6.2" }, comments = "This class is generated by jOOQ")
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Tables {
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package sample.jooq.domain.tables;
|
||||
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
@@ -20,17 +19,10 @@ import sample.jooq.domain.Keys;
|
||||
import sample.jooq.domain.Public;
|
||||
import sample.jooq.domain.tables.records.AuthorRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.6.2"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@Generated(value = { "http://www.jooq.org", "jOOQ version:3.6.2" }, comments = "This class is generated by jOOQ")
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Author extends TableImpl<AuthorRecord> {
|
||||
|
||||
@@ -52,32 +44,38 @@ public class Author extends TableImpl<AuthorRecord> {
|
||||
/**
|
||||
* The column <code>PUBLIC.AUTHOR.ID</code>.
|
||||
*/
|
||||
public final TableField<AuthorRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
public final TableField<AuthorRecord, Integer> ID = createField("ID",
|
||||
org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.AUTHOR.FIRST_NAME</code>.
|
||||
*/
|
||||
public final TableField<AuthorRecord, String> FIRST_NAME = createField("FIRST_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(50), this, "");
|
||||
public final TableField<AuthorRecord, String> FIRST_NAME = createField("FIRST_NAME",
|
||||
org.jooq.impl.SQLDataType.VARCHAR.length(50), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.AUTHOR.LAST_NAME</code>.
|
||||
*/
|
||||
public final TableField<AuthorRecord, String> LAST_NAME = createField("LAST_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(50).nullable(false), this, "");
|
||||
public final TableField<AuthorRecord, String> LAST_NAME = createField("LAST_NAME",
|
||||
org.jooq.impl.SQLDataType.VARCHAR.length(50).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.AUTHOR.DATE_OF_BIRTH</code>.
|
||||
*/
|
||||
public final TableField<AuthorRecord, Date> DATE_OF_BIRTH = createField("DATE_OF_BIRTH", org.jooq.impl.SQLDataType.DATE, this, "");
|
||||
public final TableField<AuthorRecord, Date> DATE_OF_BIRTH = createField(
|
||||
"DATE_OF_BIRTH", org.jooq.impl.SQLDataType.DATE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.AUTHOR.YEAR_OF_BIRTH</code>.
|
||||
*/
|
||||
public final TableField<AuthorRecord, Integer> YEAR_OF_BIRTH = createField("YEAR_OF_BIRTH", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
public final TableField<AuthorRecord, Integer> YEAR_OF_BIRTH = createField(
|
||||
"YEAR_OF_BIRTH", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.AUTHOR.DISTINGUISHED</code>.
|
||||
*/
|
||||
public final TableField<AuthorRecord, Byte> DISTINGUISHED = createField("DISTINGUISHED", org.jooq.impl.SQLDataType.TINYINT, this, "");
|
||||
public final TableField<AuthorRecord, Byte> DISTINGUISHED = createField(
|
||||
"DISTINGUISHED", org.jooq.impl.SQLDataType.TINYINT, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>PUBLIC.AUTHOR</code> table reference
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package sample.jooq.domain.tables;
|
||||
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
@@ -20,17 +19,10 @@ import sample.jooq.domain.Keys;
|
||||
import sample.jooq.domain.Public;
|
||||
import sample.jooq.domain.tables.records.BookRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.6.2"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@Generated(value = { "http://www.jooq.org", "jOOQ version:3.6.2" }, comments = "This class is generated by jOOQ")
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Book extends TableImpl<BookRecord> {
|
||||
|
||||
@@ -52,27 +44,32 @@ public class Book extends TableImpl<BookRecord> {
|
||||
/**
|
||||
* The column <code>PUBLIC.BOOK.ID</code>.
|
||||
*/
|
||||
public final TableField<BookRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
public final TableField<BookRecord, Integer> ID = createField("ID",
|
||||
org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.BOOK.AUTHOR_ID</code>.
|
||||
*/
|
||||
public final TableField<BookRecord, Integer> AUTHOR_ID = createField("AUTHOR_ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
public final TableField<BookRecord, Integer> AUTHOR_ID = createField("AUTHOR_ID",
|
||||
org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.BOOK.TITLE</code>.
|
||||
*/
|
||||
public final TableField<BookRecord, String> TITLE = createField("TITLE", org.jooq.impl.SQLDataType.VARCHAR.length(400).nullable(false), this, "");
|
||||
public final TableField<BookRecord, String> TITLE = createField("TITLE",
|
||||
org.jooq.impl.SQLDataType.VARCHAR.length(400).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.BOOK.PUBLISHED_IN</code>.
|
||||
*/
|
||||
public final TableField<BookRecord, Integer> PUBLISHED_IN = createField("PUBLISHED_IN", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
public final TableField<BookRecord, Integer> PUBLISHED_IN = createField(
|
||||
"PUBLISHED_IN", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.BOOK.LANGUAGE_ID</code>.
|
||||
*/
|
||||
public final TableField<BookRecord, Integer> LANGUAGE_ID = createField("LANGUAGE_ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
public final TableField<BookRecord, Integer> LANGUAGE_ID = createField("LANGUAGE_ID",
|
||||
org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>PUBLIC.BOOK</code> table reference
|
||||
@@ -117,7 +114,8 @@ public class Book extends TableImpl<BookRecord> {
|
||||
*/
|
||||
@Override
|
||||
public List<ForeignKey<BookRecord, ?>> getReferences() {
|
||||
return Arrays.<ForeignKey<BookRecord, ?>>asList(Keys.FK_BOOK_AUTHOR, Keys.FK_BOOK_LANGUAGE);
|
||||
return Arrays.<ForeignKey<BookRecord, ?>>asList(Keys.FK_BOOK_AUTHOR,
|
||||
Keys.FK_BOOK_LANGUAGE);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package sample.jooq.domain.tables;
|
||||
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
@@ -19,17 +18,10 @@ import sample.jooq.domain.Keys;
|
||||
import sample.jooq.domain.Public;
|
||||
import sample.jooq.domain.tables.records.BookStoreRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.6.2"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@Generated(value = { "http://www.jooq.org", "jOOQ version:3.6.2" }, comments = "This class is generated by jOOQ")
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class BookStore extends TableImpl<BookStoreRecord> {
|
||||
|
||||
@@ -51,7 +43,8 @@ public class BookStore extends TableImpl<BookStoreRecord> {
|
||||
/**
|
||||
* The column <code>PUBLIC.BOOK_STORE.NAME</code>.
|
||||
*/
|
||||
public final TableField<BookStoreRecord, String> NAME = createField("NAME", org.jooq.impl.SQLDataType.VARCHAR.length(400).nullable(false), this, "");
|
||||
public final TableField<BookStoreRecord, String> NAME = createField("NAME",
|
||||
org.jooq.impl.SQLDataType.VARCHAR.length(400).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>PUBLIC.BOOK_STORE</code> table reference
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package sample.jooq.domain.tables;
|
||||
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
@@ -20,17 +19,10 @@ import sample.jooq.domain.Keys;
|
||||
import sample.jooq.domain.Public;
|
||||
import sample.jooq.domain.tables.records.BookToBookStoreRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.6.2"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@Generated(value = { "http://www.jooq.org", "jOOQ version:3.6.2" }, comments = "This class is generated by jOOQ")
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class BookToBookStore extends TableImpl<BookToBookStoreRecord> {
|
||||
|
||||
@@ -52,17 +44,20 @@ public class BookToBookStore extends TableImpl<BookToBookStoreRecord> {
|
||||
/**
|
||||
* The column <code>PUBLIC.BOOK_TO_BOOK_STORE.NAME</code>.
|
||||
*/
|
||||
public final TableField<BookToBookStoreRecord, String> NAME = createField("NAME", org.jooq.impl.SQLDataType.VARCHAR.length(400).nullable(false), this, "");
|
||||
public final TableField<BookToBookStoreRecord, String> NAME = createField("NAME",
|
||||
org.jooq.impl.SQLDataType.VARCHAR.length(400).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.BOOK_TO_BOOK_STORE.BOOK_ID</code>.
|
||||
*/
|
||||
public final TableField<BookToBookStoreRecord, Integer> BOOK_ID = createField("BOOK_ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
public final TableField<BookToBookStoreRecord, Integer> BOOK_ID = createField(
|
||||
"BOOK_ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.BOOK_TO_BOOK_STORE.STOCK</code>.
|
||||
*/
|
||||
public final TableField<BookToBookStoreRecord, Integer> STOCK = createField("STOCK", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
public final TableField<BookToBookStoreRecord, Integer> STOCK = createField("STOCK",
|
||||
org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>PUBLIC.BOOK_TO_BOOK_STORE</code> table reference
|
||||
@@ -82,7 +77,8 @@ public class BookToBookStore extends TableImpl<BookToBookStoreRecord> {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private BookToBookStore(String alias, Table<BookToBookStoreRecord> aliased, Field<?>[] parameters) {
|
||||
private BookToBookStore(String alias, Table<BookToBookStoreRecord> aliased,
|
||||
Field<?>[] parameters) {
|
||||
super(alias, Public.PUBLIC, aliased, parameters, "");
|
||||
}
|
||||
|
||||
@@ -107,7 +103,8 @@ public class BookToBookStore extends TableImpl<BookToBookStoreRecord> {
|
||||
*/
|
||||
@Override
|
||||
public List<ForeignKey<BookToBookStoreRecord, ?>> getReferences() {
|
||||
return Arrays.<ForeignKey<BookToBookStoreRecord, ?>>asList(Keys.FK_B2BS_BOOK_STORE, Keys.FK_B2BS_BOOK);
|
||||
return Arrays.<ForeignKey<BookToBookStoreRecord, ?>>asList(
|
||||
Keys.FK_B2BS_BOOK_STORE, Keys.FK_B2BS_BOOK);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package sample.jooq.domain.tables;
|
||||
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
@@ -19,17 +18,10 @@ import sample.jooq.domain.Keys;
|
||||
import sample.jooq.domain.Public;
|
||||
import sample.jooq.domain.tables.records.LanguageRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.6.2"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@Generated(value = { "http://www.jooq.org", "jOOQ version:3.6.2" }, comments = "This class is generated by jOOQ")
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Language extends TableImpl<LanguageRecord> {
|
||||
|
||||
@@ -51,17 +43,20 @@ public class Language extends TableImpl<LanguageRecord> {
|
||||
/**
|
||||
* The column <code>PUBLIC.LANGUAGE.ID</code>.
|
||||
*/
|
||||
public final TableField<LanguageRecord, Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
public final TableField<LanguageRecord, Integer> ID = createField("ID",
|
||||
org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.LANGUAGE.CD</code>.
|
||||
*/
|
||||
public final TableField<LanguageRecord, String> CD = createField("CD", org.jooq.impl.SQLDataType.CHAR.length(2).nullable(false), this, "");
|
||||
public final TableField<LanguageRecord, String> CD = createField("CD",
|
||||
org.jooq.impl.SQLDataType.CHAR.length(2).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>PUBLIC.LANGUAGE.DESCRIPTION</code>.
|
||||
*/
|
||||
public final TableField<LanguageRecord, String> DESCRIPTION = createField("DESCRIPTION", org.jooq.impl.SQLDataType.VARCHAR.length(50), this, "");
|
||||
public final TableField<LanguageRecord, String> DESCRIPTION = createField(
|
||||
"DESCRIPTION", org.jooq.impl.SQLDataType.VARCHAR.length(50), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>PUBLIC.LANGUAGE</code> table reference
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package sample.jooq.domain.tables.records;
|
||||
|
||||
|
||||
import java.sql.Date;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
@@ -16,19 +15,13 @@ import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import sample.jooq.domain.tables.Author;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.6.2"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@Generated(value = { "http://www.jooq.org", "jOOQ version:3.6.2" }, comments = "This class is generated by jOOQ")
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AuthorRecord extends UpdatableRecordImpl<AuthorRecord> implements Record6<Integer, String, String, Date, Integer, Byte> {
|
||||
public class AuthorRecord extends UpdatableRecordImpl<AuthorRecord> implements
|
||||
Record6<Integer, String, String, Date, Integer, Byte> {
|
||||
|
||||
private static final long serialVersionUID = -983051550;
|
||||
|
||||
@@ -302,7 +295,8 @@ public class AuthorRecord extends UpdatableRecordImpl<AuthorRecord> implements R
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AuthorRecord values(Integer value1, String value2, String value3, Date value4, Integer value5, Byte value6) {
|
||||
public AuthorRecord values(Integer value1, String value2, String value3, Date value4,
|
||||
Integer value5, Byte value6) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
@@ -326,7 +320,8 @@ public class AuthorRecord extends UpdatableRecordImpl<AuthorRecord> implements R
|
||||
/**
|
||||
* Create a detached, initialised AuthorRecord
|
||||
*/
|
||||
public AuthorRecord(Integer id, String firstName, String lastName, Date dateOfBirth, Integer yearOfBirth, Byte distinguished) {
|
||||
public AuthorRecord(Integer id, String firstName, String lastName, Date dateOfBirth,
|
||||
Integer yearOfBirth, Byte distinguished) {
|
||||
super(Author.AUTHOR);
|
||||
|
||||
setValue(0, id);
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package sample.jooq.domain.tables.records;
|
||||
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
@@ -14,19 +13,13 @@ import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import sample.jooq.domain.tables.Book;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.6.2"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@Generated(value = { "http://www.jooq.org", "jOOQ version:3.6.2" }, comments = "This class is generated by jOOQ")
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class BookRecord extends UpdatableRecordImpl<BookRecord> implements Record5<Integer, Integer, String, Integer, Integer> {
|
||||
public class BookRecord extends UpdatableRecordImpl<BookRecord> implements
|
||||
Record5<Integer, Integer, String, Integer, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 220424682;
|
||||
|
||||
@@ -261,7 +254,8 @@ public class BookRecord extends UpdatableRecordImpl<BookRecord> implements Recor
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public BookRecord values(Integer value1, Integer value2, String value3, Integer value4, Integer value5) {
|
||||
public BookRecord values(Integer value1, Integer value2, String value3,
|
||||
Integer value4, Integer value5) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
@@ -284,7 +278,8 @@ public class BookRecord extends UpdatableRecordImpl<BookRecord> implements Recor
|
||||
/**
|
||||
* Create a detached, initialised BookRecord
|
||||
*/
|
||||
public BookRecord(Integer id, Integer authorId, String title, Integer publishedIn, Integer languageId) {
|
||||
public BookRecord(Integer id, Integer authorId, String title, Integer publishedIn,
|
||||
Integer languageId) {
|
||||
super(Book.BOOK);
|
||||
|
||||
setValue(0, id);
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package sample.jooq.domain.tables.records;
|
||||
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
@@ -13,19 +12,13 @@ import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
import sample.jooq.domain.tables.BookStore;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.6.2"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@Generated(value = { "http://www.jooq.org", "jOOQ version:3.6.2" }, comments = "This class is generated by jOOQ")
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class BookStoreRecord extends TableRecordImpl<BookStoreRecord> implements Record1<String> {
|
||||
public class BookStoreRecord extends TableRecordImpl<BookStoreRecord> implements
|
||||
Record1<String> {
|
||||
|
||||
private static final long serialVersionUID = -1969224219;
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package sample.jooq.domain.tables.records;
|
||||
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
@@ -14,19 +13,13 @@ import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import sample.jooq.domain.tables.BookToBookStore;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.6.2"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@Generated(value = { "http://www.jooq.org", "jOOQ version:3.6.2" }, comments = "This class is generated by jOOQ")
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class BookToBookStoreRecord extends UpdatableRecordImpl<BookToBookStoreRecord> implements Record3<String, Integer, Integer> {
|
||||
public class BookToBookStoreRecord extends UpdatableRecordImpl<BookToBookStoreRecord>
|
||||
implements Record3<String, Integer, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1124329527;
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package sample.jooq.domain.tables.records;
|
||||
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import org.jooq.Field;
|
||||
@@ -14,19 +13,13 @@ import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import sample.jooq.domain.tables.Language;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@Generated(
|
||||
value = {
|
||||
"http://www.jooq.org",
|
||||
"jOOQ version:3.6.2"
|
||||
},
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@Generated(value = { "http://www.jooq.org", "jOOQ version:3.6.2" }, comments = "This class is generated by jOOQ")
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LanguageRecord extends UpdatableRecordImpl<LanguageRecord> implements Record3<Integer, String, String> {
|
||||
public class LanguageRecord extends UpdatableRecordImpl<LanguageRecord> implements
|
||||
Record3<Integer, String, String> {
|
||||
|
||||
private static final long serialVersionUID = -1003202585;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user