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

org.jooq.meta.derby.sys.tables.Sysschemas 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 org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
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 Sysschemas extends TableImpl {

    private static final long serialVersionUID = 1L;

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

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

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

    /**
     * The column SYS.SYSSCHEMAS.SCHEMANAME.
     */
    public final TableField SCHEMANAME = createField(DSL.name("SCHEMANAME"), SQLDataType.VARCHAR(128).nullable(false), this, "");

    /**
     * The column SYS.SYSSCHEMAS.AUTHORIZATIONID.
     */
    public final TableField AUTHORIZATIONID = createField(DSL.name("AUTHORIZATIONID"), SQLDataType.VARCHAR(128).nullable(false), this, "");

    private Sysschemas(Name alias, Table aliased) {
        this(alias, aliased, (Field[]) null, null);
    }

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

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

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

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

    public  Sysschemas(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
        super(path, childPath, parentPath, SYSSCHEMAS);
    }

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

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

    private transient Sysconstraints _sysconstraints;

    /**
     * Get the implicit to-many join path to the SYS.SYSCONSTRAINTS
     * table
     */
    public Sysconstraints sysconstraints() {
        if (_sysconstraints == null)
            _sysconstraints = new Sysconstraints(this, null, Keys.SYNTHETIC_FK_SYSCONSTRAINTS__SYNTHETIC_PK_SYSSCHEMAS.getInverseKey());

        return _sysconstraints;
    }

    private transient Syssequences _syssequences;

    /**
     * Get the implicit to-many join path to the SYS.SYSSEQUENCES
     * table
     */
    public Syssequences syssequences() {
        if (_syssequences == null)
            _syssequences = new Syssequences(this, null, Keys.SYNTHETIC_FK_SYSSEQUENCES__SYNTHETIC_PK_SYSSCHEMAS.getInverseKey());

        return _syssequences;
    }

    private transient Systables _systables;

    /**
     * Get the implicit to-many join path to the SYS.SYSTABLES
     * table
     */
    public Systables systables() {
        if (_systables == null)
            _systables = new Systables(this, null, Keys.SYNTHETIC_FK_SYSTABLES__SYNTHETIC_PK_SYSSCHEMAS.getInverseKey());

        return _systables;
    }

    private transient Systriggers _systriggers;

    /**
     * Get the implicit to-many join path to the SYS.SYSTRIGGERS
     * table
     */
    public Systriggers systriggers() {
        if (_systriggers == null)
            _systriggers = new Systriggers(this, null, Keys.SYNTHETIC_FK_SYSTRIGGERS__SYNTHETIC_PK_SYSSCHEMAS.getInverseKey());

        return _systriggers;
    }

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

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

    @Override
    public Sysschemas as(Table alias) {
        return new Sysschemas(alias.getQualifiedName(), this);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy