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

org.jooq.meta.derby.sys.tables.Syskeys 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.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 Syskeys extends TableImpl {

    private static final long serialVersionUID = 216860706;

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

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

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

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

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

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

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

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

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

    public  Syskeys(Table child, ForeignKey key) {
        super(child, key, SYSKEYS);
    }

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

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

    public Sysconstraints sysconstraints() {
        return new Sysconstraints(this, Keys.SYNTHETIC_FK_SYSKEYS__SYNTHETIC_PK_SYSCONSTRAINTS);
    }

    public Sysconglomerates sysconglomerates() {
        return new Sysconglomerates(this, Keys.SYNTHETIC_FK_SYSKEYS__SYNTHETIC_PK_SYSCONGLOMERATES);
    }

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy