/*
 * This file is generated by jOOQ.
 */
package org.jooq.meta.firebird.rdb.tables;


import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Rdb$checkConstraints extends TableImpl<Record> {

    private static final long serialVersionUID = 1L;

    /**
     * The reference instance of <code>RDB$CHECK_CONSTRAINTS</code>
     */
    public static final Rdb$checkConstraints RDB$CHECK_CONSTRAINTS = new Rdb$checkConstraints();

    /**
     * The class holding records for this type
     */
    @Override
    public Class<Record> getRecordType() {
        return Record.class;
    }

    /**
     * The column <code>RDB$CHECK_CONSTRAINTS.RDB$CONSTRAINT_NAME</code>.
     */
    public final TableField<Record, String> RDB$CONSTRAINT_NAME = createField(DSL.name("RDB$CONSTRAINT_NAME"), SQLDataType.CHAR(63), this, "");

    /**
     * The column <code>RDB$CHECK_CONSTRAINTS.RDB$TRIGGER_NAME</code>.
     */
    public final TableField<Record, String> RDB$TRIGGER_NAME = createField(DSL.name("RDB$TRIGGER_NAME"), SQLDataType.CHAR(63), this, "");

    private Rdb$checkConstraints(Name alias, Table<Record> aliased) {
        this(alias, aliased, (Field<?>[]) null, null);
    }

    private Rdb$checkConstraints(Name alias, Table<Record> aliased, Field<?>[] parameters, Condition where) {
        super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
    }

    /**
     * Create an aliased <code>RDB$CHECK_CONSTRAINTS</code> table reference
     */
    public Rdb$checkConstraints(String alias) {
        this(DSL.name(alias), RDB$CHECK_CONSTRAINTS);
    }

    /**
     * Create an aliased <code>RDB$CHECK_CONSTRAINTS</code> table reference
     */
    public Rdb$checkConstraints(Name alias) {
        this(alias, RDB$CHECK_CONSTRAINTS);
    }

    /**
     * Create a <code>RDB$CHECK_CONSTRAINTS</code> table reference
     */
    public Rdb$checkConstraints() {
        this(DSL.name("RDB$CHECK_CONSTRAINTS"), null);
    }

    @Override
    public Rdb$checkConstraints as(String alias) {
        return new Rdb$checkConstraints(DSL.name(alias), this);
    }

    @Override
    public Rdb$checkConstraints as(Name alias) {
        return new Rdb$checkConstraints(alias, this);
    }

    @Override
    public Rdb$checkConstraints as(Table<?> alias) {
        return new Rdb$checkConstraints(alias.getQualifiedName(), this);
    }
}
