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

org.jooq.meta.firebird.rdb.tables.Rdb$refConstraints 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 java.util.Arrays;
import java.util.List;

import org.jooq.Field;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.Internal;
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$refConstraints extends TableImpl {

    private static final long serialVersionUID = -1291928573;

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

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

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

    /**
     * The column RDB$REF_CONSTRAINTS.RDB$CONST_NAME_UQ.
     */
    public final TableField RDB$CONST_NAME_UQ = createField(DSL.name("RDB$CONST_NAME_UQ"), org.jooq.impl.SQLDataType.CHAR(31), this, "");

    /**
     * The column RDB$REF_CONSTRAINTS.RDB$MATCH_OPTION.
     */
    public final TableField RDB$MATCH_OPTION = createField(DSL.name("RDB$MATCH_OPTION"), org.jooq.impl.SQLDataType.CHAR, this, "");

    /**
     * The column RDB$REF_CONSTRAINTS.RDB$UPDATE_RULE.
     */
    public final TableField RDB$UPDATE_RULE = createField(DSL.name("RDB$UPDATE_RULE"), org.jooq.impl.SQLDataType.CHAR, this, "");

    /**
     * The column RDB$REF_CONSTRAINTS.RDB$DELETE_RULE.
     */
    public final TableField RDB$DELETE_RULE = createField(DSL.name("RDB$DELETE_RULE"), org.jooq.impl.SQLDataType.CHAR, this, "");

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

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

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

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

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

    @Override
    public Schema getSchema() {
        return DefaultSchema.DEFAULT_SCHEMA;
    }

    @Override
    public List> getKeys() {
        return Arrays.>asList(
              Internal.createUniqueKey(org.jooq.meta.firebird.rdb.tables.Rdb$refConstraints.RDB$REF_CONSTRAINTS, "RDB$INDEX_13", org.jooq.meta.firebird.rdb.tables.Rdb$refConstraints.RDB$REF_CONSTRAINTS.RDB$CONSTRAINT_NAME)
        );
    }

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy