fr.ght1pc9kc.testy.dsl.public_.Keys Maven / Gradle / Ivy
The newest version!
/*
* This file is generated by jOOQ.
*/
package fr.ght1pc9kc.testy.dsl.public_;
import fr.ght1pc9kc.testy.dsl.public_.tables.Jedi;
import fr.ght1pc9kc.testy.dsl.public_.tables.LightSaber;
import fr.ght1pc9kc.testy.dsl.public_.tables.records.JediRecord;
import fr.ght1pc9kc.testy.dsl.public_.tables.records.LightSaberRecord;
import javax.annotation.processing.Generated;
import org.jooq.ForeignKey;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.Internal;
/**
* A class modelling foreign key relationships and constraints of tables in
* PUBLIC.
*/
@Generated(
value = {
"https://www.jooq.org",
"jOOQ version:3.18.7"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Keys {
// -------------------------------------------------------------------------
// UNIQUE and PRIMARY KEY definitions
// -------------------------------------------------------------------------
public static final UniqueKey CONSTRAINT_2 = Internal.createUniqueKey(Jedi.JEDI, DSL.name("CONSTRAINT_2"), new TableField[] { Jedi.JEDI.FIRST_NAME }, true);
// -------------------------------------------------------------------------
// FOREIGN KEY definitions
// -------------------------------------------------------------------------
public static final ForeignKey FK_LIGHT_SABER_OWNER = Internal.createForeignKey(LightSaber.LIGHT_SABER, DSL.name("FK_LIGHT_SABER_OWNER"), new TableField[] { LightSaber.LIGHT_SABER.OWNER }, Keys.CONSTRAINT_2, new TableField[] { Jedi.JEDI.FIRST_NAME }, true);
}