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

org.jooq.meta.firebird.rdb.tables.Rdb$checkConstraints Maven / Gradle / Ivy

There is a newer version: 3.19.16
Show newest version
/*
 * This file is generated by jOOQ.
 */
package org.jooq.meta.firebird.rdb.tables;


import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Schema;
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;
import org.jooq.meta.firebird.rdb.DefaultSchema;


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

    private static final long serialVersionUID = 1L;

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

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

    /**
     * The column RDB$CHECK_CONSTRAINTS.RDB$CONSTRAINT_NAME.
     */
    public final TableField RDB$CONSTRAINT_NAME = createField(DSL.name("RDB$CONSTRAINT_NAME"), SQLDataType.CHAR(31), this, "");

    /**
     * The column RDB$CHECK_CONSTRAINTS.RDB$TRIGGER_NAME.
     */
    public final TableField RDB$TRIGGER_NAME = createField(DSL.name("RDB$TRIGGER_NAME"), SQLDataType.CHAR(31), this, "");

    private Rdb$checkConstraints(Name alias, Table aliased) {
        this(alias, aliased, null);
    }

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

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

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

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

    public  Rdb$checkConstraints(Table child, ForeignKey key) {
        super(child, key, RDB$CHECK_CONSTRAINTS);
    }

    @Override
    public Schema getSchema() {
        return aliased() ? null : DefaultSchema.DEFAULT_SCHEMA;
    }

    @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);
    }

    /**
     * Rename this table
     */
    @Override
    public Rdb$checkConstraints rename(String name) {
        return new Rdb$checkConstraints(DSL.name(name), null);
    }

    /**
     * Rename this table
     */
    @Override
    public Rdb$checkConstraints rename(Name name) {
        return new Rdb$checkConstraints(name, null);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy