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

org.jooq.meta.firebird.rdb.tables.Rdb$triggers 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.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.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import org.jooq.meta.firebird.rdb.DefaultSchema;
import org.jooq.meta.firebird.rdb.Keys;


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

    private static final long serialVersionUID = 1L;

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

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

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

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

    /**
     * The column RDB$TRIGGERS.RDB$TRIGGER_SEQUENCE.
     */
    public final TableField RDB$TRIGGER_SEQUENCE = createField(DSL.name("RDB$TRIGGER_SEQUENCE"), SQLDataType.SMALLINT, this, "");

    /**
     * The column RDB$TRIGGERS.RDB$TRIGGER_TYPE.
     */
    public final TableField RDB$TRIGGER_TYPE = createField(DSL.name("RDB$TRIGGER_TYPE"), SQLDataType.BIGINT, this, "");

    /**
     * The column RDB$TRIGGERS.RDB$TRIGGER_SOURCE.
     */
    public final TableField RDB$TRIGGER_SOURCE = createField(DSL.name("RDB$TRIGGER_SOURCE"), SQLDataType.CLOB, this, "");

    /**
     * The column RDB$TRIGGERS.RDB$TRIGGER_BLR.
     */
    public final TableField RDB$TRIGGER_BLR = createField(DSL.name("RDB$TRIGGER_BLR"), SQLDataType.BLOB, this, "");

    /**
     * The column RDB$TRIGGERS.RDB$DESCRIPTION.
     */
    public final TableField RDB$DESCRIPTION = createField(DSL.name("RDB$DESCRIPTION"), SQLDataType.CLOB, this, "");

    /**
     * The column RDB$TRIGGERS.RDB$TRIGGER_INACTIVE.
     */
    public final TableField RDB$TRIGGER_INACTIVE = createField(DSL.name("RDB$TRIGGER_INACTIVE"), SQLDataType.SMALLINT, this, "");

    /**
     * The column RDB$TRIGGERS.RDB$SYSTEM_FLAG.
     */
    public final TableField RDB$SYSTEM_FLAG = createField(DSL.name("RDB$SYSTEM_FLAG"), SQLDataType.SMALLINT.nullable(false), this, "");

    /**
     * The column RDB$TRIGGERS.RDB$FLAGS.
     */
    public final TableField RDB$FLAGS = createField(DSL.name("RDB$FLAGS"), SQLDataType.SMALLINT, this, "");

    /**
     * The column RDB$TRIGGERS.RDB$VALID_BLR.
     */
    public final TableField RDB$VALID_BLR = createField(DSL.name("RDB$VALID_BLR"), SQLDataType.SMALLINT, this, "");

    /**
     * The column RDB$TRIGGERS.RDB$DEBUG_INFO.
     */
    public final TableField RDB$DEBUG_INFO = createField(DSL.name("RDB$DEBUG_INFO"), SQLDataType.BLOB, this, "");

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

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

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

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

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

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

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

    public  Rdb$triggers(Table child, ForeignKey key) {
        super(child, key, RDB$TRIGGERS);
    }

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

    @Override
    public List> getUniqueKeys() {
        return Arrays.asList(Keys.RDB$INDEX_8);
    }

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy