001package com.echothree.model.jooq.server.keys.style; 002 003import com.echothree.model.jooq.server.KeyRegistry; 004import com.echothree.model.jooq.server.records.party.Languages; 005import com.echothree.model.jooq.server.records.style.StylePathDescriptions; 006import com.echothree.model.jooq.server.records.style.StylePathDetails; 007import com.echothree.model.jooq.server.records.style.StylePaths; 008 009import org.jooq.ForeignKey; 010import org.jooq.TableField; 011import org.jooq.impl.DSL; 012import org.jooq.impl.Internal; 013import org.jooq.impl.QOM.ForeignKeyRule; 014 015/** 016 * Key definitions for the StyleForeign component. 017 */ 018public interface StyleForeignKeys { 019 public static final ForeignKey<StylePathDescriptions, Languages> STYLE_PATH_DESCRIPTIONS_LANGUAGE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.style.StylePathDescriptions.StylePathDescriptions, DSL.name("stylpthd_lang_languageid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.style.StylePathDescriptions.StylePathDescriptions.LANGUAGE }, KeyRegistry.LANGUAGES_PK, new TableField[] { com.echothree.model.jooq.server.tables.party.Languages.Languages.LANGUAGE }, true, ForeignKeyRule.CASCADE, null); 020 public static final ForeignKey<StylePathDescriptions, StylePaths> STYLE_PATH_DESCRIPTIONS_STYLE_PATH_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.style.StylePathDescriptions.StylePathDescriptions, DSL.name("stylpthd_stylpth_stylepathid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.style.StylePathDescriptions.StylePathDescriptions.STYLE_PATH }, KeyRegistry.STYLE_PATHS_PK, new TableField[] { com.echothree.model.jooq.server.tables.style.StylePaths.StylePaths.STYLE_PATH }, true, ForeignKeyRule.CASCADE, null); 021 public static final ForeignKey<StylePathDetails, StylePaths> STYLE_PATH_DETAILS_STYLE_PATH_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.style.StylePathDetails.StylePathDetails, DSL.name("stylpthdt_stylpth_stylepathid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.style.StylePathDetails.StylePathDetails.STYLE_PATH }, KeyRegistry.STYLE_PATHS_PK, new TableField[] { com.echothree.model.jooq.server.tables.style.StylePaths.StylePaths.STYLE_PATH }, true, ForeignKeyRule.CASCADE, null); 022 public static final ForeignKey<StylePaths, StylePathDetails> STYLE_PATHS_ACTIVE_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.style.StylePaths.StylePaths, DSL.name("stylpth_activedetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.style.StylePaths.StylePaths.ACTIVE_DETAIL }, KeyRegistry.STYLE_PATH_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.style.StylePathDetails.StylePathDetails.STYLE_PATH_DETAIL }, true, ForeignKeyRule.CASCADE, null); 023 public static final ForeignKey<StylePaths, StylePathDetails> STYLE_PATHS_LAST_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.style.StylePaths.StylePaths, DSL.name("stylpth_lastdetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.style.StylePaths.StylePaths.LAST_DETAIL }, KeyRegistry.STYLE_PATH_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.style.StylePathDetails.StylePathDetails.STYLE_PATH_DETAIL }, true, ForeignKeyRule.CASCADE, null); 024}