silentbalanceyh/vertx-zero

View on GitHub
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Db.java

Summary

Maintainability
A
3 hrs
Test Coverage
/*
 * This file is generated by jOOQ.
 */
package cn.vertxup.ui.domain;


import cn.vertxup.ui.domain.tables.*;
import io.vertx.mod.ke.refine.Ke;
import org.jooq.Catalog;
import org.jooq.Table;
import org.jooq.impl.SchemaImpl;

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


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class Db extends SchemaImpl {

    /**
     * The reference instance of <code>DB_ETERNAL</code>
     */
    public static final Db DB_ETERNAL = new Db();
    private static final long serialVersionUID = 1L;
    /**
     * The table <code>DB_ETERNAL.UI_COLUMN</code>.
     */
    public final UiColumn UI_COLUMN = UiColumn.UI_COLUMN;

    /**
     * The table <code>DB_ETERNAL.UI_CONTROL</code>.
     */
    public final UiControl UI_CONTROL = UiControl.UI_CONTROL;

    /**
     * The table <code>DB_ETERNAL.UI_FIELD</code>.
     */
    public final UiField UI_FIELD = UiField.UI_FIELD;

    /**
     * The table <code>DB_ETERNAL.UI_FORM</code>.
     */
    public final UiForm UI_FORM = UiForm.UI_FORM;

    /**
     * The table <code>DB_ETERNAL.UI_LAYOUT</code>.
     */
    public final UiLayout UI_LAYOUT = UiLayout.UI_LAYOUT;

    /**
     * The table <code>DB_ETERNAL.UI_LIST</code>.
     */
    public final UiList UI_LIST = UiList.UI_LIST;

    /**
     * The table <code>DB_ETERNAL.UI_OP</code>.
     */
    public final UiOp UI_OP = UiOp.UI_OP;

    /**
     * The table <code>DB_ETERNAL.UI_PAGE</code>.
     */
    public final UiPage UI_PAGE = UiPage.UI_PAGE;

    /**
     * The table <code>DB_ETERNAL.UI_VIEW</code>.
     */
    public final UiView UI_VIEW = UiView.UI_VIEW;

    /**
     * The table <code>DB_ETERNAL.UI_VISITOR</code>.
     */
    public final UiVisitor UI_VISITOR = UiVisitor.UI_VISITOR;

    /**
     * The table <code>DB_ETERNAL.V_FRAGMENT</code>.
     */
    public final VFragment V_FRAGMENT = VFragment.V_FRAGMENT;

    /**
     * The table <code>DB_ETERNAL.V_QUERY</code>.
     */
    public final VQuery V_QUERY = VQuery.V_QUERY;

    /**
     * The table <code>DB_ETERNAL.V_SEARCH</code>.
     */
    public final VSearch V_SEARCH = VSearch.V_SEARCH;

    /**
     * The table <code>DB_ETERNAL.V_TABLE</code>.
     */
    public final VTable V_TABLE = VTable.V_TABLE;

    /**
     * No further instances allowed
     */
    private Db() {
        super(Ke.getDatabase(), null);
    }


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

    @Override
    public final List<Table<?>> getTables() {
        return Arrays.asList(
            UiColumn.UI_COLUMN,
            UiControl.UI_CONTROL,
            UiField.UI_FIELD,
            UiForm.UI_FORM,
            UiLayout.UI_LAYOUT,
            UiList.UI_LIST,
            UiOp.UI_OP,
            UiPage.UI_PAGE,
            UiView.UI_VIEW,
            UiVisitor.UI_VISITOR,
            VFragment.V_FRAGMENT,
            VQuery.V_QUERY,
            VSearch.V_SEARCH,
            VTable.V_TABLE
        );
    }
}