001package com.echothree.model.jooq.server.keys.survey;
002
003import com.echothree.model.jooq.server.KeyRegistry;
004import com.echothree.model.jooq.server.records.chain.ChainKinds;
005import com.echothree.model.jooq.server.records.party.Languages;
006import com.echothree.model.jooq.server.records.survey.SurveyDescriptions;
007import com.echothree.model.jooq.server.records.survey.SurveyDetails;
008import com.echothree.model.jooq.server.records.survey.SurveyTypeDescriptions;
009import com.echothree.model.jooq.server.records.survey.SurveyTypes;
010import com.echothree.model.jooq.server.records.survey.Surveys;
011
012import org.jooq.ForeignKey;
013import org.jooq.TableField;
014import org.jooq.impl.DSL;
015import org.jooq.impl.Internal;
016import org.jooq.impl.QOM.ForeignKeyRule;
017
018/**
019 * Key definitions for the SurveyForeign component.
020 */
021public interface SurveyForeignKeys {
022    public static final ForeignKey<SurveyDescriptions, Languages> SURVEY_DESCRIPTIONS_LANGUAGE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.survey.SurveyDescriptions.SurveyDescriptions, DSL.name("srvyd_lang_languageid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.survey.SurveyDescriptions.SurveyDescriptions.LANGUAGE }, KeyRegistry.LANGUAGES_PK, new TableField[] { com.echothree.model.jooq.server.tables.party.Languages.Languages.LANGUAGE }, true, ForeignKeyRule.CASCADE, null);
023    public static final ForeignKey<SurveyDescriptions, Surveys> SURVEY_DESCRIPTIONS_SURVEY_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.survey.SurveyDescriptions.SurveyDescriptions, DSL.name("srvyd_srvy_surveyid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.survey.SurveyDescriptions.SurveyDescriptions.SURVEY }, KeyRegistry.SURVEYS_PK, new TableField[] { com.echothree.model.jooq.server.tables.survey.Surveys.Surveys.SURVEY }, true, ForeignKeyRule.CASCADE, null);
024    public static final ForeignKey<SurveyDetails, Surveys> SURVEY_DETAILS_SURVEY_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.survey.SurveyDetails.SurveyDetails, DSL.name("srvydt_srvy_surveyid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.survey.SurveyDetails.SurveyDetails.SURVEY }, KeyRegistry.SURVEYS_PK, new TableField[] { com.echothree.model.jooq.server.tables.survey.Surveys.Surveys.SURVEY }, true, ForeignKeyRule.CASCADE, null);
025    public static final ForeignKey<SurveyDetails, SurveyTypes> SURVEY_DETAILS_SURVEY_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.survey.SurveyDetails.SurveyDetails, DSL.name("srvydt_srvytyp_surveytypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.survey.SurveyDetails.SurveyDetails.SURVEY_TYPE }, KeyRegistry.SURVEY_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.survey.SurveyTypes.SurveyTypes.SURVEY_TYPE }, true, ForeignKeyRule.CASCADE, null);
026    public static final ForeignKey<Surveys, SurveyDetails> SURVEYS_ACTIVE_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.survey.Surveys.Surveys, DSL.name("srvy_activedetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.survey.Surveys.Surveys.ACTIVE_DETAIL }, KeyRegistry.SURVEY_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.survey.SurveyDetails.SurveyDetails.SURVEY_DETAIL }, true, ForeignKeyRule.CASCADE, null);
027    public static final ForeignKey<Surveys, SurveyDetails> SURVEYS_LAST_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.survey.Surveys.Surveys, DSL.name("srvy_lastdetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.survey.Surveys.Surveys.LAST_DETAIL }, KeyRegistry.SURVEY_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.survey.SurveyDetails.SurveyDetails.SURVEY_DETAIL }, true, ForeignKeyRule.CASCADE, null);
028    public static final ForeignKey<SurveyTypeDescriptions, Languages> SURVEY_TYPE_DESCRIPTIONS_LANGUAGE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.survey.SurveyTypeDescriptions.SurveyTypeDescriptions, DSL.name("srvytypd_lang_languageid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.survey.SurveyTypeDescriptions.SurveyTypeDescriptions.LANGUAGE }, KeyRegistry.LANGUAGES_PK, new TableField[] { com.echothree.model.jooq.server.tables.party.Languages.Languages.LANGUAGE }, true, ForeignKeyRule.CASCADE, null);
029    public static final ForeignKey<SurveyTypeDescriptions, SurveyTypes> SURVEY_TYPE_DESCRIPTIONS_SURVEY_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.survey.SurveyTypeDescriptions.SurveyTypeDescriptions, DSL.name("srvytypd_srvytyp_surveytypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.survey.SurveyTypeDescriptions.SurveyTypeDescriptions.SURVEY_TYPE }, KeyRegistry.SURVEY_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.survey.SurveyTypes.SurveyTypes.SURVEY_TYPE }, true, ForeignKeyRule.CASCADE, null);
030    public static final ForeignKey<SurveyTypes, ChainKinds> SURVEY_TYPES_CHAIN_KIND_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.survey.SurveyTypes.SurveyTypes, DSL.name("srvytyp_chnk_chainkindid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.survey.SurveyTypes.SurveyTypes.CHAIN_KIND }, KeyRegistry.CHAIN_KINDS_PK, new TableField[] { com.echothree.model.jooq.server.tables.chain.ChainKinds.ChainKinds.CHAIN_KIND }, true, ForeignKeyRule.CASCADE, null);
031}