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 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 Sysschemas extends TableImpl {

    private static final long serialVersionUID = 1557720970;

    /**
     * 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, null);
    }

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

    /**
     * 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 child, ForeignKey key) {
        super(child, key, SYSSCHEMAS);
    }

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

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

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

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy