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

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

    private static final long serialVersionUID = -1825970802;

    /**
     * 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. Please 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.
     */
    @java.lang.Deprecated
    public final TableField REFERENCEDCOLUMNS = createField(DSL.name("REFERENCEDCOLUMNS"), org.jooq.impl.SQLDataType.OTHER.nullable(false), this, "");

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

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

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

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

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

    public Sysconstraints sysconstraints() {
        return new Sysconstraints(this, Keys.SYNTHETIC_FK_SYSCHECKS__SYNTHETIC_PK_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);
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy