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

org.jooq.meta.derby.sys.tables.Sysconglomerates Maven / Gradle / Ivy

There is a newer version: 3.19.16
Show newest version
/*
 * This file is generated by jOOQ.
 */
package org.jooq.meta.derby.sys.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.derby.sys.Keys;
import org.jooq.meta.derby.sys.Sys;


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

    private static final long serialVersionUID = 679295714;

    /**
     * The reference instance of SYS.SYSCONGLOMERATES
     */
    public static final Sysconglomerates SYSCONGLOMERATES = new Sysconglomerates();

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

    /**
     * The column SYS.SYSCONGLOMERATES.SCHEMAID.
     */
    public final TableField SCHEMAID = createField(DSL.name("SCHEMAID"), SQLDataType.CHAR(36).nullable(false), this, "");

    /**
     * The column SYS.SYSCONGLOMERATES.TABLEID.
     */
    public final TableField TABLEID = createField(DSL.name("TABLEID"), SQLDataType.CHAR(36).nullable(false), this, "");

    /**
     * The column SYS.SYSCONGLOMERATES.CONGLOMERATENUMBER.
     */
    public final TableField CONGLOMERATENUMBER = createField(DSL.name("CONGLOMERATENUMBER"), SQLDataType.BIGINT.nullable(false), this, "");

    /**
     * The column SYS.SYSCONGLOMERATES.CONGLOMERATENAME.
     */
    public final TableField CONGLOMERATENAME = createField(DSL.name("CONGLOMERATENAME"), SQLDataType.VARCHAR(128), this, "");

    /**
     * The column SYS.SYSCONGLOMERATES.ISINDEX.
     */
    public final TableField ISINDEX = createField(DSL.name("ISINDEX"), SQLDataType.BOOLEAN.nullable(false), this, "");

    /**
     * The column SYS.SYSCONGLOMERATES.DESCRIPTOR.
     */
    public final TableField DESCRIPTOR = createField(DSL.name("DESCRIPTOR"), SQLDataType.CLOB, this, "");

    /**
     * The column SYS.SYSCONGLOMERATES.ISCONSTRAINT.
     */
    public final TableField ISCONSTRAINT = createField(DSL.name("ISCONSTRAINT"), SQLDataType.BOOLEAN, this, "");

    /**
     * The column SYS.SYSCONGLOMERATES.CONGLOMERATEID.
     */
    public final TableField CONGLOMERATEID = createField(DSL.name("CONGLOMERATEID"), SQLDataType.CHAR(36).nullable(false), this, "");

    private Sysconglomerates(Name alias, Table aliased) {
        this(alias, aliased, null);
    }

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

    /**
     * Create an aliased SYS.SYSCONGLOMERATES table reference
     */
    public Sysconglomerates(String alias) {
        this(DSL.name(alias), SYSCONGLOMERATES);
    }

    /**
     * Create an aliased SYS.SYSCONGLOMERATES table reference
     */
    public Sysconglomerates(Name alias) {
        this(alias, SYSCONGLOMERATES);
    }

    /**
     * Create a SYS.SYSCONGLOMERATES table reference
     */
    public Sysconglomerates() {
        this(DSL.name("SYSCONGLOMERATES"), null);
    }

    public  Sysconglomerates(Table child, ForeignKey key) {
        super(child, key, SYSCONGLOMERATES);
    }

    @Override
    public Schema getSchema() {
        return Sys.SYS;
    }

    @Override
    public UniqueKey getPrimaryKey() {
        return Keys.SYNTHETIC_PK_SYSCONGLOMERATES;
    }

    @Override
    public List> getKeys() {
        return Arrays.>asList(Keys.SYNTHETIC_PK_SYSCONGLOMERATES);
    }

    @Override
    public List> getReferences() {
        return Arrays.>asList(Keys.SYNTHETIC_FK_SYSCONGLOMERATES__SYNTHETIC_PK_SYSTABLES);
    }

    public Systables systables() {
        return new Systables(this, Keys.SYNTHETIC_FK_SYSCONGLOMERATES__SYNTHETIC_PK_SYSTABLES);
    }

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

    @Override
    public Sysconglomerates as(Name alias) {
        return new Sysconglomerates(alias, this);
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy