All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jooq.example.flyway.db.h2.FlywayTest Maven / Gradle / Ivy

There is a newer version: 1.37.1
Show newest version
/**
 * This class is generated by jOOQ
 */
package org.jooq.example.flyway.db.h2;


import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import javax.annotation.Generated;

import org.jooq.Catalog;
import org.jooq.Sequence;
import org.jooq.Table;
import org.jooq.example.flyway.db.h2.tables.Author;
import org.jooq.example.flyway.db.h2.tables.Book;
import org.jooq.impl.SchemaImpl;


/**
 * This class is generated by jOOQ.
 */
@Generated(
    value = {
        "http://www.jooq.org",
        "jOOQ version:3.8.4",
        "catalog version:DEFAULT_CATALOG_20210518061900",
        "schema version:FLYWAY_TEST_3",
    },
    date = "2021-05-18T18:19:00.496+00:00",
    comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class FlywayTest extends SchemaImpl {

    private static final long serialVersionUID = -768907719;

    /**
     * The reference instance of FLYWAY_TEST
     */
    public static final FlywayTest FLYWAY_TEST = new FlywayTest();

    /**
     * The table FLYWAY_TEST.AUTHOR.
     */
    public final Author AUTHOR = org.jooq.example.flyway.db.h2.tables.Author.AUTHOR;

    /**
     * The table FLYWAY_TEST.BOOK.
     */
    public final Book BOOK = org.jooq.example.flyway.db.h2.tables.Book.BOOK;

    /**
     * No further instances allowed
     */
    private FlywayTest() {
        super("FLYWAY_TEST", null);
    }


    /**
     * {@inheritDoc}
     */
    @Override
    public Catalog getCatalog() {
        return DefaultCatalog.DEFAULT_CATALOG;
    }

    @Override
    public final List> getSequences() {
        List result = new ArrayList();
        result.addAll(getSequences0());
        return result;
    }

    private final List> getSequences0() {
        return Arrays.>asList(
            Sequences.S_AUTHOR_ID);
    }

    @Override
    public final List> getTables() {
        List result = new ArrayList();
        result.addAll(getTables0());
        return result;
    }

    private final List> getTables0() {
        return Arrays.>asList(
            Author.AUTHOR,
            Book.BOOK);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy