001package com.echothree.model.jooq.server.keys.index; 002 003import com.echothree.model.jooq.server.KeyRegistry; 004import com.echothree.model.jooq.server.records.core.EntityTypes; 005import com.echothree.model.jooq.server.records.index.IndexDescriptions; 006import com.echothree.model.jooq.server.records.index.IndexDetails; 007import com.echothree.model.jooq.server.records.index.IndexFieldDescriptions; 008import com.echothree.model.jooq.server.records.index.IndexFieldDetails; 009import com.echothree.model.jooq.server.records.index.IndexFields; 010import com.echothree.model.jooq.server.records.index.IndexStatuses; 011import com.echothree.model.jooq.server.records.index.IndexTypeDescriptions; 012import com.echothree.model.jooq.server.records.index.IndexTypeDetails; 013import com.echothree.model.jooq.server.records.index.IndexTypes; 014import com.echothree.model.jooq.server.records.index.Indexes; 015import com.echothree.model.jooq.server.records.party.Languages; 016 017import org.jooq.ForeignKey; 018import org.jooq.TableField; 019import org.jooq.impl.DSL; 020import org.jooq.impl.Internal; 021import org.jooq.impl.QOM.ForeignKeyRule; 022 023/** 024 * Key definitions for the IndexForeign component. 025 */ 026public interface IndexForeignKeys { 027 public static final ForeignKey<IndexDescriptions, Indexes> INDEX_DESCRIPTIONS_INDEX_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexDescriptions.IndexDescriptions, DSL.name("idxd_idx_indexid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexDescriptions.IndexDescriptions.INDEX }, KeyRegistry.INDEXES_PK, new TableField[] { com.echothree.model.jooq.server.tables.index.Indexes.Indexes.INDEX }, true, ForeignKeyRule.CASCADE, null); 028 public static final ForeignKey<IndexDescriptions, Languages> INDEX_DESCRIPTIONS_LANGUAGE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexDescriptions.IndexDescriptions, DSL.name("idxd_lang_languageid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexDescriptions.IndexDescriptions.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<IndexDetails, Indexes> INDEX_DETAILS_INDEX_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexDetails.IndexDetails, DSL.name("idxdt_idx_indexid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexDetails.IndexDetails.INDEX }, KeyRegistry.INDEXES_PK, new TableField[] { com.echothree.model.jooq.server.tables.index.Indexes.Indexes.INDEX }, true, ForeignKeyRule.CASCADE, null); 030 public static final ForeignKey<IndexDetails, IndexTypes> INDEX_DETAILS_INDEX_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexDetails.IndexDetails, DSL.name("idxdt_idxt_indextypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexDetails.IndexDetails.INDEX_TYPE }, KeyRegistry.INDEX_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.index.IndexTypes.IndexTypes.INDEX_TYPE }, true, ForeignKeyRule.CASCADE, null); 031 public static final ForeignKey<IndexDetails, Languages> INDEX_DETAILS_LANGUAGE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexDetails.IndexDetails, DSL.name("idxdt_lang_languageid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexDetails.IndexDetails.LANGUAGE }, KeyRegistry.LANGUAGES_PK, new TableField[] { com.echothree.model.jooq.server.tables.party.Languages.Languages.LANGUAGE }, true, ForeignKeyRule.CASCADE, null); 032 public static final ForeignKey<Indexes, IndexDetails> INDEXES_ACTIVE_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.Indexes.Indexes, DSL.name("idx_activedetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.Indexes.Indexes.ACTIVE_DETAIL }, KeyRegistry.INDEX_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.index.IndexDetails.IndexDetails.INDEX_DETAIL }, true, ForeignKeyRule.CASCADE, null); 033 public static final ForeignKey<Indexes, IndexDetails> INDEXES_LAST_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.Indexes.Indexes, DSL.name("idx_lastdetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.Indexes.Indexes.LAST_DETAIL }, KeyRegistry.INDEX_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.index.IndexDetails.IndexDetails.INDEX_DETAIL }, true, ForeignKeyRule.CASCADE, null); 034 public static final ForeignKey<IndexFieldDescriptions, IndexFields> INDEX_FIELD_DESCRIPTIONS_INDEX_FIELD_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexFieldDescriptions.IndexFieldDescriptions, DSL.name("idxfldd_idxfld_indexfieldid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexFieldDescriptions.IndexFieldDescriptions.INDEX_FIELD }, KeyRegistry.INDEX_FIELDS_PK, new TableField[] { com.echothree.model.jooq.server.tables.index.IndexFields.IndexFields.INDEX_FIELD }, true, ForeignKeyRule.CASCADE, null); 035 public static final ForeignKey<IndexFieldDescriptions, Languages> INDEX_FIELD_DESCRIPTIONS_LANGUAGE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexFieldDescriptions.IndexFieldDescriptions, DSL.name("idxfldd_lang_languageid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexFieldDescriptions.IndexFieldDescriptions.LANGUAGE }, KeyRegistry.LANGUAGES_PK, new TableField[] { com.echothree.model.jooq.server.tables.party.Languages.Languages.LANGUAGE }, true, ForeignKeyRule.CASCADE, null); 036 public static final ForeignKey<IndexFieldDetails, IndexFields> INDEX_FIELD_DETAILS_INDEX_FIELD_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexFieldDetails.IndexFieldDetails, DSL.name("idxflddt_idxfld_indexfieldid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexFieldDetails.IndexFieldDetails.INDEX_FIELD }, KeyRegistry.INDEX_FIELDS_PK, new TableField[] { com.echothree.model.jooq.server.tables.index.IndexFields.IndexFields.INDEX_FIELD }, true, ForeignKeyRule.CASCADE, null); 037 public static final ForeignKey<IndexFieldDetails, IndexTypes> INDEX_FIELD_DETAILS_INDEX_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexFieldDetails.IndexFieldDetails, DSL.name("idxflddt_idxt_indextypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexFieldDetails.IndexFieldDetails.INDEX_TYPE }, KeyRegistry.INDEX_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.index.IndexTypes.IndexTypes.INDEX_TYPE }, true, ForeignKeyRule.CASCADE, null); 038 public static final ForeignKey<IndexFields, IndexFieldDetails> INDEX_FIELDS_ACTIVE_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexFields.IndexFields, DSL.name("idxfld_activedetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexFields.IndexFields.ACTIVE_DETAIL }, KeyRegistry.INDEX_FIELD_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.index.IndexFieldDetails.IndexFieldDetails.INDEX_FIELD_DETAIL }, true, ForeignKeyRule.CASCADE, null); 039 public static final ForeignKey<IndexFields, IndexFieldDetails> INDEX_FIELDS_LAST_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexFields.IndexFields, DSL.name("idxfld_lastdetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexFields.IndexFields.LAST_DETAIL }, KeyRegistry.INDEX_FIELD_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.index.IndexFieldDetails.IndexFieldDetails.INDEX_FIELD_DETAIL }, true, ForeignKeyRule.CASCADE, null); 040 public static final ForeignKey<IndexStatuses, Indexes> INDEX_STATUSES_INDEX_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexStatuses.IndexStatuses, DSL.name("idxst_idx_indexid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexStatuses.IndexStatuses.INDEX }, KeyRegistry.INDEXES_PK, new TableField[] { com.echothree.model.jooq.server.tables.index.Indexes.Indexes.INDEX }, true, ForeignKeyRule.CASCADE, null); 041 public static final ForeignKey<IndexTypeDescriptions, IndexTypes> INDEX_TYPE_DESCRIPTIONS_INDEX_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexTypeDescriptions.IndexTypeDescriptions, DSL.name("idxtd_idxt_indextypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexTypeDescriptions.IndexTypeDescriptions.INDEX_TYPE }, KeyRegistry.INDEX_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.index.IndexTypes.IndexTypes.INDEX_TYPE }, true, ForeignKeyRule.CASCADE, null); 042 public static final ForeignKey<IndexTypeDescriptions, Languages> INDEX_TYPE_DESCRIPTIONS_LANGUAGE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexTypeDescriptions.IndexTypeDescriptions, DSL.name("idxtd_lang_languageid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexTypeDescriptions.IndexTypeDescriptions.LANGUAGE }, KeyRegistry.LANGUAGES_PK, new TableField[] { com.echothree.model.jooq.server.tables.party.Languages.Languages.LANGUAGE }, true, ForeignKeyRule.CASCADE, null); 043 public static final ForeignKey<IndexTypeDetails, EntityTypes> INDEX_TYPE_DETAILS_ENTITY_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexTypeDetails.IndexTypeDetails, DSL.name("idxtdt_ent_entitytypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexTypeDetails.IndexTypeDetails.ENTITY_TYPE }, KeyRegistry.ENTITY_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.core.EntityTypes.EntityTypes.ENTITY_TYPE }, true, ForeignKeyRule.CASCADE, null); 044 public static final ForeignKey<IndexTypeDetails, IndexTypes> INDEX_TYPE_DETAILS_INDEX_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexTypeDetails.IndexTypeDetails, DSL.name("idxtdt_idxt_indextypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexTypeDetails.IndexTypeDetails.INDEX_TYPE }, KeyRegistry.INDEX_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.index.IndexTypes.IndexTypes.INDEX_TYPE }, true, ForeignKeyRule.CASCADE, null); 045 public static final ForeignKey<IndexTypes, IndexTypeDetails> INDEX_TYPES_ACTIVE_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexTypes.IndexTypes, DSL.name("idxt_activedetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexTypes.IndexTypes.ACTIVE_DETAIL }, KeyRegistry.INDEX_TYPE_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.index.IndexTypeDetails.IndexTypeDetails.INDEX_TYPE_DETAIL }, true, ForeignKeyRule.CASCADE, null); 046 public static final ForeignKey<IndexTypes, IndexTypeDetails> INDEX_TYPES_LAST_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.index.IndexTypes.IndexTypes, DSL.name("idxt_lastdetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.index.IndexTypes.IndexTypes.LAST_DETAIL }, KeyRegistry.INDEX_TYPE_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.index.IndexTypeDetails.IndexTypeDetails.INDEX_TYPE_DETAIL }, true, ForeignKeyRule.CASCADE, null); 047}