org.jooq.meta.derby.sys.tables.Syskeys Maven / Gradle / Ivy
/*
* This file is generated by jOOQ.
*/
package org.jooq.meta.derby.sys.tables;
import java.util.Arrays;
import java.util.List;
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.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 = 1L;
/**
* 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, (Field>[]) null, null);
}
private Syskeys(Name alias, Table aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* 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 path, ForeignKey childPath, InverseForeignKey parentPath) {
super(path, childPath, parentPath, SYSKEYS);
}
@Override
public Schema getSchema() {
return aliased() ? null : Sys.SYS;
}
@Override
public List> getReferences() {
return Arrays.asList(Keys.SYNTHETIC_FK_SYSKEYS__SYNTHETIC_PK_SYSCONSTRAINTS, Keys.SYNTHETIC_FK_SYSKEYS__SYNTHETIC_PK_SYSCONGLOMERATES);
}
private transient Sysconstraints _sysconstraints;
/**
* Get the implicit join path to the SYS.SYSCONSTRAINTS
table.
*/
public Sysconstraints sysconstraints() {
if (_sysconstraints == null)
_sysconstraints = new Sysconstraints(this, Keys.SYNTHETIC_FK_SYSKEYS__SYNTHETIC_PK_SYSCONSTRAINTS, null);
return _sysconstraints;
}
private transient Sysconglomerates _sysconglomerates;
/**
* Get the implicit join path to the SYS.SYSCONGLOMERATES
* table.
*/
public Sysconglomerates sysconglomerates() {
if (_sysconglomerates == null)
_sysconglomerates = new Sysconglomerates(this, Keys.SYNTHETIC_FK_SYSKEYS__SYNTHETIC_PK_SYSCONGLOMERATES, null);
return _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);
}
@Override
public Syskeys as(Table> alias) {
return new Syskeys(alias.getQualifiedName(), this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy