org.jooq.meta.derby.sys.tables.Syschecks 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.DefaultDataType;
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 Syschecks extends TableImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of SYS.SYSCHECKS
*/
public static final Syschecks SYSCHECKS = new Syschecks();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return Record.class;
}
/**
* The column SYS.SYSCHECKS.CONSTRAINTID
.
*/
public final TableField CONSTRAINTID = createField(DSL.name("CONSTRAINTID"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column SYS.SYSCHECKS.CHECKDEFINITION
.
*/
public final TableField CHECKDEFINITION = createField(DSL.name("CHECKDEFINITION"), SQLDataType.LONGVARCHAR.nullable(false), this, "");
/**
* @deprecated Unknown data type. If this is a qualified, user-defined type,
* it may have been excluded from code generation. If this is a built-in
* type, you can define an explicit {@link org.jooq.Binding} to specify how
* this type should be handled. Deprecation can be turned off using
* {@literal } in your code generator
* configuration.
*/
@Deprecated
public final TableField REFERENCEDCOLUMNS = createField(DSL.name("REFERENCEDCOLUMNS"), DefaultDataType.getDefaultDataType("\"org.apache.derby.catalog.ReferencedColumns\"").nullable(false), this, "");
private Syschecks(Name alias, Table aliased) {
this(alias, aliased, (Field>[]) null, null);
}
private Syschecks(Name alias, Table aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased SYS.SYSCHECKS
table reference
*/
public Syschecks(String alias) {
this(DSL.name(alias), SYSCHECKS);
}
/**
* Create an aliased SYS.SYSCHECKS
table reference
*/
public Syschecks(Name alias) {
this(alias, SYSCHECKS);
}
/**
* Create a SYS.SYSCHECKS
table reference
*/
public Syschecks() {
this(DSL.name("SYSCHECKS"), null);
}
public Syschecks(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
super(path, childPath, parentPath, SYSCHECKS);
}
@Override
public Schema getSchema() {
return aliased() ? null : Sys.SYS;
}
@Override
public List> getReferences() {
return Arrays.asList(Keys.SYNTHETIC_FK_SYSCHECKS__SYNTHETIC_PK_SYSCONSTRAINTS);
}
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_SYSCHECKS__SYNTHETIC_PK_SYSCONSTRAINTS, null);
return _sysconstraints;
}
@Override
public Syschecks as(String alias) {
return new Syschecks(DSL.name(alias), this);
}
@Override
public Syschecks as(Name alias) {
return new Syschecks(alias, this);
}
@Override
public Syschecks as(Table> alias) {
return new Syschecks(alias.getQualifiedName(), this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy