001package com.echothree.model.jooq.server.keys.license; 002 003import com.echothree.model.jooq.server.KeyRegistry; 004import com.echothree.model.jooq.server.records.license.LicenseTypeDescriptions; 005import com.echothree.model.jooq.server.records.license.LicenseTypeDetails; 006import com.echothree.model.jooq.server.records.license.LicenseTypes; 007import com.echothree.model.jooq.server.records.party.Languages; 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 LicenseForeign component. 017 */ 018public interface LicenseForeignKeys { 019 public static final ForeignKey<LicenseTypeDescriptions, Languages> LICENSE_TYPE_DESCRIPTIONS_LANGUAGE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.license.LicenseTypeDescriptions.LicenseTypeDescriptions, DSL.name("lcnstypd_lang_languageid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.license.LicenseTypeDescriptions.LicenseTypeDescriptions.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<LicenseTypeDescriptions, LicenseTypes> LICENSE_TYPE_DESCRIPTIONS_LICENSE_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.license.LicenseTypeDescriptions.LicenseTypeDescriptions, DSL.name("lcnstypd_lcnstyp_licensetypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.license.LicenseTypeDescriptions.LicenseTypeDescriptions.LICENSE_TYPE }, KeyRegistry.LICENSE_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.license.LicenseTypes.LicenseTypes.LICENSE_TYPE }, true, ForeignKeyRule.CASCADE, null); 021 public static final ForeignKey<LicenseTypeDetails, LicenseTypes> LICENSE_TYPE_DETAILS_LICENSE_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.license.LicenseTypeDetails.LicenseTypeDetails, DSL.name("lcnstypdt_lcnstyp_licensetypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.license.LicenseTypeDetails.LicenseTypeDetails.LICENSE_TYPE }, KeyRegistry.LICENSE_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.license.LicenseTypes.LicenseTypes.LICENSE_TYPE }, true, ForeignKeyRule.CASCADE, null); 022 public static final ForeignKey<LicenseTypes, LicenseTypeDetails> LICENSE_TYPES_ACTIVE_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.license.LicenseTypes.LicenseTypes, DSL.name("lcnstyp_activedetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.license.LicenseTypes.LicenseTypes.ACTIVE_DETAIL }, KeyRegistry.LICENSE_TYPE_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.license.LicenseTypeDetails.LicenseTypeDetails.LICENSE_TYPE_DETAIL }, true, ForeignKeyRule.CASCADE, null); 023 public static final ForeignKey<LicenseTypes, LicenseTypeDetails> LICENSE_TYPES_LAST_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.license.LicenseTypes.LicenseTypes, DSL.name("lcnstyp_lastdetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.license.LicenseTypes.LicenseTypes.LAST_DETAIL }, KeyRegistry.LICENSE_TYPE_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.license.LicenseTypeDetails.LicenseTypeDetails.LICENSE_TYPE_DETAIL }, true, ForeignKeyRule.CASCADE, null); 024}