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

org.jooq.meta.firebird.rdb.tables.Rdb$relationFields 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$relationFields extends TableImpl {

    private static final long serialVersionUID = 1L;

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

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

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

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

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

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

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

    /**
     * The column RDB$RELATION_FIELDS.RDB$EDIT_STRING.
     */
    public final TableField RDB$EDIT_STRING = createField(DSL.name("RDB$EDIT_STRING"), SQLDataType.VARCHAR, this, "");

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    public  Rdb$relationFields(Table child, ForeignKey key) {
        super(child, key, RDB$RELATION_FIELDS);
    }

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

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

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy