001package com.echothree.model.jooq.server.keys.rating; 002 003import com.echothree.model.jooq.server.KeyRegistry; 004import com.echothree.model.jooq.server.records.core.EntityInstances; 005import com.echothree.model.jooq.server.records.core.EntityTypes; 006import com.echothree.model.jooq.server.records.party.Languages; 007import com.echothree.model.jooq.server.records.rating.RatingDetails; 008import com.echothree.model.jooq.server.records.rating.RatingTypeDescriptions; 009import com.echothree.model.jooq.server.records.rating.RatingTypeDetails; 010import com.echothree.model.jooq.server.records.rating.RatingTypeListItemDescriptions; 011import com.echothree.model.jooq.server.records.rating.RatingTypeListItemDetails; 012import com.echothree.model.jooq.server.records.rating.RatingTypeListItems; 013import com.echothree.model.jooq.server.records.rating.RatingTypes; 014import com.echothree.model.jooq.server.records.rating.Ratings; 015import com.echothree.model.jooq.server.records.sequence.Sequences; 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 RatingForeign component. 025 */ 026public interface RatingForeignKeys { 027 public static final ForeignKey<RatingDetails, EntityInstances> RATING_DETAILS_RATED_BY_ENTITY_INSTANCE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.RatingDetails.RatingDetails, DSL.name("rtgdt_ratedbyentityinstanceid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingDetails.RatingDetails.RATED_BY_ENTITY_INSTANCE }, KeyRegistry.ENTITY_INSTANCES_PK, new TableField[] { com.echothree.model.jooq.server.tables.core.EntityInstances.EntityInstances.ENTITY_INSTANCE }, true, ForeignKeyRule.CASCADE, null); 028 public static final ForeignKey<RatingDetails, EntityInstances> RATING_DETAILS_RATED_ENTITY_INSTANCE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.RatingDetails.RatingDetails, DSL.name("rtgdt_ratedentityinstanceid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingDetails.RatingDetails.RATED_ENTITY_INSTANCE }, KeyRegistry.ENTITY_INSTANCES_PK, new TableField[] { com.echothree.model.jooq.server.tables.core.EntityInstances.EntityInstances.ENTITY_INSTANCE }, true, ForeignKeyRule.CASCADE, null); 029 public static final ForeignKey<RatingDetails, Ratings> RATING_DETAILS_RATING_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.RatingDetails.RatingDetails, DSL.name("rtgdt_rtg_ratingid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingDetails.RatingDetails.RATING }, KeyRegistry.RATINGS_PK, new TableField[] { com.echothree.model.jooq.server.tables.rating.Ratings.Ratings.RATING }, true, ForeignKeyRule.CASCADE, null); 030 public static final ForeignKey<RatingDetails, RatingTypeListItems> RATING_DETAILS_RATING_TYPE_LIST_ITEM_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.RatingDetails.RatingDetails, DSL.name("rtgdt_rtgtypli_ratingtypelistitemid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingDetails.RatingDetails.RATING_TYPE_LIST_ITEM }, KeyRegistry.RATING_TYPE_LIST_ITEMS_PK, new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeListItems.RatingTypeListItems.RATING_TYPE_LIST_ITEM }, true, ForeignKeyRule.CASCADE, null); 031 public static final ForeignKey<Ratings, RatingDetails> RATINGS_ACTIVE_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.Ratings.Ratings, DSL.name("rtg_activedetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.Ratings.Ratings.ACTIVE_DETAIL }, KeyRegistry.RATING_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingDetails.RatingDetails.RATING_DETAIL }, true, ForeignKeyRule.CASCADE, null); 032 public static final ForeignKey<Ratings, RatingDetails> RATINGS_LAST_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.Ratings.Ratings, DSL.name("rtg_lastdetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.Ratings.Ratings.LAST_DETAIL }, KeyRegistry.RATING_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingDetails.RatingDetails.RATING_DETAIL }, true, ForeignKeyRule.CASCADE, null); 033 public static final ForeignKey<RatingTypeDescriptions, Languages> RATING_TYPE_DESCRIPTIONS_LANGUAGE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.RatingTypeDescriptions.RatingTypeDescriptions, DSL.name("rtgtypd_lang_languageid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeDescriptions.RatingTypeDescriptions.LANGUAGE }, KeyRegistry.LANGUAGES_PK, new TableField[] { com.echothree.model.jooq.server.tables.party.Languages.Languages.LANGUAGE }, true, ForeignKeyRule.CASCADE, null); 034 public static final ForeignKey<RatingTypeDescriptions, RatingTypes> RATING_TYPE_DESCRIPTIONS_RATING_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.RatingTypeDescriptions.RatingTypeDescriptions, DSL.name("rtgtypd_rtgtyp_ratingtypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeDescriptions.RatingTypeDescriptions.RATING_TYPE }, KeyRegistry.RATING_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypes.RatingTypes.RATING_TYPE }, true, ForeignKeyRule.CASCADE, null); 035 public static final ForeignKey<RatingTypeDetails, EntityTypes> RATING_TYPE_DETAILS_ENTITY_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.RatingTypeDetails.RatingTypeDetails, DSL.name("rtgtypdt_ent_entitytypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeDetails.RatingTypeDetails.ENTITY_TYPE }, KeyRegistry.ENTITY_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.core.EntityTypes.EntityTypes.ENTITY_TYPE }, true, ForeignKeyRule.CASCADE, null); 036 public static final ForeignKey<RatingTypeDetails, Sequences> RATING_TYPE_DETAILS_RATING_SEQUENCE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.RatingTypeDetails.RatingTypeDetails, DSL.name("rtgtypdt_ratingsequenceid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeDetails.RatingTypeDetails.RATING_SEQUENCE }, KeyRegistry.SEQUENCES_PK, new TableField[] { com.echothree.model.jooq.server.tables.sequence.Sequences.Sequences.SEQUENCE }, true, ForeignKeyRule.CASCADE, null); 037 public static final ForeignKey<RatingTypeDetails, RatingTypes> RATING_TYPE_DETAILS_RATING_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.RatingTypeDetails.RatingTypeDetails, DSL.name("rtgtypdt_rtgtyp_ratingtypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeDetails.RatingTypeDetails.RATING_TYPE }, KeyRegistry.RATING_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypes.RatingTypes.RATING_TYPE }, true, ForeignKeyRule.CASCADE, null); 038 public static final ForeignKey<RatingTypeListItemDescriptions, Languages> RATING_TYPE_LIST_ITEM_DESCRIPTIONS_LANGUAGE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.RatingTypeListItemDescriptions.RatingTypeListItemDescriptions, DSL.name("rtgtyplid_lang_languageid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeListItemDescriptions.RatingTypeListItemDescriptions.LANGUAGE }, KeyRegistry.LANGUAGES_PK, new TableField[] { com.echothree.model.jooq.server.tables.party.Languages.Languages.LANGUAGE }, true, ForeignKeyRule.CASCADE, null); 039 public static final ForeignKey<RatingTypeListItemDescriptions, RatingTypeListItems> RATING_TYPE_LIST_ITEM_DESCRIPTIONS_RATING_TYPE_LIST_ITEM_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.RatingTypeListItemDescriptions.RatingTypeListItemDescriptions, DSL.name("rtgtyplid_rtgtypli_ratingtypelistitemid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeListItemDescriptions.RatingTypeListItemDescriptions.RATING_TYPE_LIST_ITEM }, KeyRegistry.RATING_TYPE_LIST_ITEMS_PK, new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeListItems.RatingTypeListItems.RATING_TYPE_LIST_ITEM }, true, ForeignKeyRule.CASCADE, null); 040 public static final ForeignKey<RatingTypeListItemDetails, RatingTypes> RATING_TYPE_LIST_ITEM_DETAILS_RATING_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.RatingTypeListItemDetails.RatingTypeListItemDetails, DSL.name("rtgtyplidt_rtgtyp_ratingtypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeListItemDetails.RatingTypeListItemDetails.RATING_TYPE }, KeyRegistry.RATING_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypes.RatingTypes.RATING_TYPE }, true, ForeignKeyRule.CASCADE, null); 041 public static final ForeignKey<RatingTypeListItemDetails, RatingTypeListItems> RATING_TYPE_LIST_ITEM_DETAILS_RATING_TYPE_LIST_ITEM_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.RatingTypeListItemDetails.RatingTypeListItemDetails, DSL.name("rtgtyplidt_rtgtypli_ratingtypelistitemid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeListItemDetails.RatingTypeListItemDetails.RATING_TYPE_LIST_ITEM }, KeyRegistry.RATING_TYPE_LIST_ITEMS_PK, new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeListItems.RatingTypeListItems.RATING_TYPE_LIST_ITEM }, true, ForeignKeyRule.CASCADE, null); 042 public static final ForeignKey<RatingTypeListItems, RatingTypeListItemDetails> RATING_TYPE_LIST_ITEMS_ACTIVE_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.RatingTypeListItems.RatingTypeListItems, DSL.name("rtgtypli_activedetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeListItems.RatingTypeListItems.ACTIVE_DETAIL }, KeyRegistry.RATING_TYPE_LIST_ITEM_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeListItemDetails.RatingTypeListItemDetails.RATING_TYPE_LIST_ITEM_DETAIL }, true, ForeignKeyRule.CASCADE, null); 043 public static final ForeignKey<RatingTypeListItems, RatingTypeListItemDetails> RATING_TYPE_LIST_ITEMS_LAST_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.RatingTypeListItems.RatingTypeListItems, DSL.name("rtgtypli_lastdetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeListItems.RatingTypeListItems.LAST_DETAIL }, KeyRegistry.RATING_TYPE_LIST_ITEM_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeListItemDetails.RatingTypeListItemDetails.RATING_TYPE_LIST_ITEM_DETAIL }, true, ForeignKeyRule.CASCADE, null); 044 public static final ForeignKey<RatingTypes, RatingTypeDetails> RATING_TYPES_ACTIVE_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.RatingTypes.RatingTypes, DSL.name("rtgtyp_activedetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypes.RatingTypes.ACTIVE_DETAIL }, KeyRegistry.RATING_TYPE_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeDetails.RatingTypeDetails.RATING_TYPE_DETAIL }, true, ForeignKeyRule.CASCADE, null); 045 public static final ForeignKey<RatingTypes, RatingTypeDetails> RATING_TYPES_LAST_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.rating.RatingTypes.RatingTypes, DSL.name("rtgtyp_lastdetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypes.RatingTypes.LAST_DETAIL }, KeyRegistry.RATING_TYPE_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.rating.RatingTypeDetails.RatingTypeDetails.RATING_TYPE_DETAIL }, true, ForeignKeyRule.CASCADE, null); 046}