/** * This class is generated by jOOQ */ package sample.jooq.domain; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.annotation.Generated; import org.jooq.Catalog; import org.jooq.Table; import org.jooq.impl.SchemaImpl; /** * This class is generated by jOOQ. */ @Generated(value = { "http://www.jooq.org", "jOOQ version:3.8.2" }, comments = "This class is generated by jOOQ") @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class Public extends SchemaImpl { private static final long serialVersionUID = 217498103; /** * The reference instance of PUBLIC */ public static final Public PUBLIC = new Public(); /** * The table PUBLIC.LANGUAGE. */ public final Language LANGUAGE = sample.jooq.domain.Language.LANGUAGE; /** * The table PUBLIC.AUTHOR. */ public final Author AUTHOR = sample.jooq.domain.Author.AUTHOR; /** * The table PUBLIC.BOOK. */ public final Book BOOK = sample.jooq.domain.Book.BOOK; /** * The table PUBLIC.BOOK_STORE. */ public final BookStore BOOK_STORE = sample.jooq.domain.BookStore.BOOK_STORE; /** * The table PUBLIC.BOOK_TO_BOOK_STORE. */ public final BookToBookStore BOOK_TO_BOOK_STORE = sample.jooq.domain.BookToBookStore.BOOK_TO_BOOK_STORE; /** * No further instances allowed */ private Public() { super("PUBLIC", null); } /** * {@inheritDoc} */ @Override public Catalog getCatalog() { return DefaultCatalog.DEFAULT_CATALOG; } @Override public final List> getTables() { List result = new ArrayList(); result.addAll(getTables0()); return result; } private final List> getTables0() { return Arrays.>asList(Language.LANGUAGE, Author.AUTHOR, Book.BOOK, BookStore.BOOK_STORE, BookToBookStore.BOOK_TO_BOOK_STORE); } }