org.jooq.meta.derby.sys.tables.Systriggers Maven / Gradle / Ivy
/*
* This file is generated by jOOQ.
*/
package org.jooq.meta.derby.sys.tables;
import java.sql.Timestamp;
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.UniqueKey;
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 Systriggers extends TableImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of SYS.SYSTRIGGERS
*/
public static final Systriggers SYSTRIGGERS = new Systriggers();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return Record.class;
}
/**
* The column SYS.SYSTRIGGERS.TRIGGERID
.
*/
public final TableField TRIGGERID = createField(DSL.name("TRIGGERID"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column SYS.SYSTRIGGERS.TRIGGERNAME
.
*/
public final TableField TRIGGERNAME = createField(DSL.name("TRIGGERNAME"), SQLDataType.VARCHAR(128).nullable(false), this, "");
/**
* The column SYS.SYSTRIGGERS.SCHEMAID
.
*/
public final TableField SCHEMAID = createField(DSL.name("SCHEMAID"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column SYS.SYSTRIGGERS.CREATIONTIMESTAMP
.
*/
public final TableField CREATIONTIMESTAMP = createField(DSL.name("CREATIONTIMESTAMP"), SQLDataType.TIMESTAMP(9).nullable(false), this, "");
/**
* The column SYS.SYSTRIGGERS.EVENT
.
*/
public final TableField EVENT = createField(DSL.name("EVENT"), SQLDataType.CHAR(1).nullable(false), this, "");
/**
* The column SYS.SYSTRIGGERS.FIRINGTIME
.
*/
public final TableField FIRINGTIME = createField(DSL.name("FIRINGTIME"), SQLDataType.CHAR(1).nullable(false), this, "");
/**
* The column SYS.SYSTRIGGERS.TYPE
.
*/
public final TableField TYPE = createField(DSL.name("TYPE"), SQLDataType.CHAR(1).nullable(false), this, "");
/**
* The column SYS.SYSTRIGGERS.STATE
.
*/
public final TableField STATE = createField(DSL.name("STATE"), SQLDataType.CHAR(1).nullable(false), this, "");
/**
* The column SYS.SYSTRIGGERS.TABLEID
.
*/
public final TableField TABLEID = createField(DSL.name("TABLEID"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column SYS.SYSTRIGGERS.WHENSTMTID
.
*/
public final TableField WHENSTMTID = createField(DSL.name("WHENSTMTID"), SQLDataType.CHAR(36), this, "");
/**
* The column SYS.SYSTRIGGERS.ACTIONSTMTID
.
*/
public final TableField ACTIONSTMTID = createField(DSL.name("ACTIONSTMTID"), SQLDataType.CHAR(36), 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\""), this, "");
/**
* The column SYS.SYSTRIGGERS.TRIGGERDEFINITION
.
*/
public final TableField TRIGGERDEFINITION = createField(DSL.name("TRIGGERDEFINITION"), SQLDataType.LONGVARCHAR, this, "");
/**
* The column SYS.SYSTRIGGERS.REFERENCINGOLD
.
*/
public final TableField REFERENCINGOLD = createField(DSL.name("REFERENCINGOLD"), SQLDataType.BOOLEAN, this, "");
/**
* The column SYS.SYSTRIGGERS.REFERENCINGNEW
.
*/
public final TableField REFERENCINGNEW = createField(DSL.name("REFERENCINGNEW"), SQLDataType.BOOLEAN, this, "");
/**
* The column SYS.SYSTRIGGERS.OLDREFERENCINGNAME
.
*/
public final TableField OLDREFERENCINGNAME = createField(DSL.name("OLDREFERENCINGNAME"), SQLDataType.VARCHAR(128), this, "");
/**
* The column SYS.SYSTRIGGERS.NEWREFERENCINGNAME
.
*/
public final TableField NEWREFERENCINGNAME = createField(DSL.name("NEWREFERENCINGNAME"), SQLDataType.VARCHAR(128), this, "");
/**
* The column SYS.SYSTRIGGERS.WHENCLAUSETEXT
.
*/
public final TableField WHENCLAUSETEXT = createField(DSL.name("WHENCLAUSETEXT"), SQLDataType.LONGVARCHAR, this, "");
private Systriggers(Name alias, Table aliased) {
this(alias, aliased, (Field>[]) null, null);
}
private Systriggers(Name alias, Table aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased SYS.SYSTRIGGERS
table reference
*/
public Systriggers(String alias) {
this(DSL.name(alias), SYSTRIGGERS);
}
/**
* Create an aliased SYS.SYSTRIGGERS
table reference
*/
public Systriggers(Name alias) {
this(alias, SYSTRIGGERS);
}
/**
* Create a SYS.SYSTRIGGERS
table reference
*/
public Systriggers() {
this(DSL.name("SYSTRIGGERS"), null);
}
public Systriggers(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
super(path, childPath, parentPath, SYSTRIGGERS);
}
@Override
public Schema getSchema() {
return aliased() ? null : Sys.SYS;
}
@Override
public UniqueKey getPrimaryKey() {
return Keys.SYNTHETIC_PK_SYSTRIGGERS;
}
@Override
public List> getReferences() {
return Arrays.asList(Keys.SYNTHETIC_FK_SYSTRIGGERS__SYNTHETIC_PK_SYSSCHEMAS, Keys.SYNTHETIC_FK_SYSTRIGGERS__SYNTHETIC_PK_SYSTABLES);
}
private transient Sysschemas _sysschemas;
/**
* Get the implicit join path to the SYS.SYSSCHEMAS
table.
*/
public Sysschemas sysschemas() {
if (_sysschemas == null)
_sysschemas = new Sysschemas(this, Keys.SYNTHETIC_FK_SYSTRIGGERS__SYNTHETIC_PK_SYSSCHEMAS, null);
return _sysschemas;
}
private transient Systables _systables;
/**
* Get the implicit join path to the SYS.SYSTABLES
table.
*/
public Systables systables() {
if (_systables == null)
_systables = new Systables(this, Keys.SYNTHETIC_FK_SYSTRIGGERS__SYNTHETIC_PK_SYSTABLES, null);
return _systables;
}
@Override
public Systriggers as(String alias) {
return new Systriggers(DSL.name(alias), this);
}
@Override
public Systriggers as(Name alias) {
return new Systriggers(alias, this);
}
@Override
public Systriggers as(Table> alias) {
return new Systriggers(alias.getQualifiedName(), this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy