001package com.echothree.model.jooq.server.keys.batch; 002 003import com.echothree.model.jooq.server.KeyRegistry; 004import com.echothree.model.jooq.server.records.batch.BatchAliasTypeDescriptions; 005import com.echothree.model.jooq.server.records.batch.BatchAliasTypeDetails; 006import com.echothree.model.jooq.server.records.batch.BatchAliasTypes; 007import com.echothree.model.jooq.server.records.batch.BatchAliases; 008import com.echothree.model.jooq.server.records.batch.BatchDetails; 009import com.echothree.model.jooq.server.records.batch.BatchEntities; 010import com.echothree.model.jooq.server.records.batch.BatchTypeDescriptions; 011import com.echothree.model.jooq.server.records.batch.BatchTypeDetails; 012import com.echothree.model.jooq.server.records.batch.BatchTypeEntityTypes; 013import com.echothree.model.jooq.server.records.batch.BatchTypes; 014import com.echothree.model.jooq.server.records.batch.Batches; 015import com.echothree.model.jooq.server.records.core.EntityInstances; 016import com.echothree.model.jooq.server.records.core.EntityTypes; 017import com.echothree.model.jooq.server.records.party.Languages; 018import com.echothree.model.jooq.server.records.sequence.SequenceTypes; 019import com.echothree.model.jooq.server.records.workflow.WorkflowEntrances; 020import com.echothree.model.jooq.server.records.workflow.Workflows; 021 022import org.jooq.ForeignKey; 023import org.jooq.TableField; 024import org.jooq.impl.DSL; 025import org.jooq.impl.Internal; 026import org.jooq.impl.QOM.ForeignKeyRule; 027 028/** 029 * Key definitions for the BatchForeign component. 030 */ 031public interface BatchForeignKeys { 032 public static final ForeignKey<BatchAliases, Batches> BATCH_ALIASES_BATCH_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchAliases.BatchAliases, DSL.name("btchal_btch_batchid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchAliases.BatchAliases.BATCH }, KeyRegistry.BATCHES_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.Batches.Batches.BATCH }, true, ForeignKeyRule.CASCADE, null); 033 public static final ForeignKey<BatchAliases, BatchAliasTypes> BATCH_ALIASES_BATCH_ALIAS_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchAliases.BatchAliases, DSL.name("btchal_btchat_batchaliastypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchAliases.BatchAliases.BATCH_ALIAS_TYPE }, KeyRegistry.BATCH_ALIAS_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchAliasTypes.BatchAliasTypes.BATCH_ALIAS_TYPE }, true, ForeignKeyRule.CASCADE, null); 034 public static final ForeignKey<BatchAliasTypeDescriptions, BatchAliasTypes> BATCH_ALIAS_TYPE_DESCRIPTIONS_BATCH_ALIAS_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchAliasTypeDescriptions.BatchAliasTypeDescriptions, DSL.name("btchatd_btchat_batchaliastypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchAliasTypeDescriptions.BatchAliasTypeDescriptions.BATCH_ALIAS_TYPE }, KeyRegistry.BATCH_ALIAS_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchAliasTypes.BatchAliasTypes.BATCH_ALIAS_TYPE }, true, ForeignKeyRule.CASCADE, null); 035 public static final ForeignKey<BatchAliasTypeDescriptions, Languages> BATCH_ALIAS_TYPE_DESCRIPTIONS_LANGUAGE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchAliasTypeDescriptions.BatchAliasTypeDescriptions, DSL.name("btchatd_lang_languageid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchAliasTypeDescriptions.BatchAliasTypeDescriptions.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<BatchAliasTypeDetails, BatchAliasTypes> BATCH_ALIAS_TYPE_DETAILS_BATCH_ALIAS_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchAliasTypeDetails.BatchAliasTypeDetails, DSL.name("btchatdt_btchat_batchaliastypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchAliasTypeDetails.BatchAliasTypeDetails.BATCH_ALIAS_TYPE }, KeyRegistry.BATCH_ALIAS_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchAliasTypes.BatchAliasTypes.BATCH_ALIAS_TYPE }, true, ForeignKeyRule.CASCADE, null); 037 public static final ForeignKey<BatchAliasTypeDetails, BatchTypes> BATCH_ALIAS_TYPE_DETAILS_BATCH_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchAliasTypeDetails.BatchAliasTypeDetails, DSL.name("btchatdt_btchtyp_batchtypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchAliasTypeDetails.BatchAliasTypeDetails.BATCH_TYPE }, KeyRegistry.BATCH_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypes.BatchTypes.BATCH_TYPE }, true, ForeignKeyRule.CASCADE, null); 038 public static final ForeignKey<BatchAliasTypes, BatchAliasTypeDetails> BATCH_ALIAS_TYPES_ACTIVE_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchAliasTypes.BatchAliasTypes, DSL.name("btchat_activedetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchAliasTypes.BatchAliasTypes.ACTIVE_DETAIL }, KeyRegistry.BATCH_ALIAS_TYPE_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchAliasTypeDetails.BatchAliasTypeDetails.BATCH_ALIAS_TYPE_DETAIL }, true, ForeignKeyRule.CASCADE, null); 039 public static final ForeignKey<BatchAliasTypes, BatchAliasTypeDetails> BATCH_ALIAS_TYPES_LAST_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchAliasTypes.BatchAliasTypes, DSL.name("btchat_lastdetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchAliasTypes.BatchAliasTypes.LAST_DETAIL }, KeyRegistry.BATCH_ALIAS_TYPE_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchAliasTypeDetails.BatchAliasTypeDetails.BATCH_ALIAS_TYPE_DETAIL }, true, ForeignKeyRule.CASCADE, null); 040 public static final ForeignKey<BatchDetails, Batches> BATCH_DETAILS_BATCH_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchDetails.BatchDetails, DSL.name("btchdt_btch_batchid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchDetails.BatchDetails.BATCH }, KeyRegistry.BATCHES_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.Batches.Batches.BATCH }, true, ForeignKeyRule.CASCADE, null); 041 public static final ForeignKey<BatchDetails, BatchTypes> BATCH_DETAILS_BATCH_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchDetails.BatchDetails, DSL.name("btchdt_btchtyp_batchtypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchDetails.BatchDetails.BATCH_TYPE }, KeyRegistry.BATCH_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypes.BatchTypes.BATCH_TYPE }, true, ForeignKeyRule.CASCADE, null); 042 public static final ForeignKey<BatchEntities, Batches> BATCH_ENTITIES_BATCH_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchEntities.BatchEntities, DSL.name("btche_btch_batchid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchEntities.BatchEntities.BATCH }, KeyRegistry.BATCHES_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.Batches.Batches.BATCH }, true, ForeignKeyRule.CASCADE, null); 043 public static final ForeignKey<BatchEntities, EntityInstances> BATCH_ENTITIES_ENTITY_INSTANCE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchEntities.BatchEntities, DSL.name("btche_eni_entityinstanceid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchEntities.BatchEntities.ENTITY_INSTANCE }, KeyRegistry.ENTITY_INSTANCES_PK, new TableField[] { com.echothree.model.jooq.server.tables.core.EntityInstances.EntityInstances.ENTITY_INSTANCE }, true, ForeignKeyRule.CASCADE, null); 044 public static final ForeignKey<Batches, BatchDetails> BATCHES_ACTIVE_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.Batches.Batches, DSL.name("btch_activedetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.Batches.Batches.ACTIVE_DETAIL }, KeyRegistry.BATCH_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchDetails.BatchDetails.BATCH_DETAIL }, true, ForeignKeyRule.CASCADE, null); 045 public static final ForeignKey<Batches, BatchDetails> BATCHES_LAST_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.Batches.Batches, DSL.name("btch_lastdetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.Batches.Batches.LAST_DETAIL }, KeyRegistry.BATCH_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchDetails.BatchDetails.BATCH_DETAIL }, true, ForeignKeyRule.CASCADE, null); 046 public static final ForeignKey<BatchTypeDescriptions, BatchTypes> BATCH_TYPE_DESCRIPTIONS_BATCH_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchTypeDescriptions.BatchTypeDescriptions, DSL.name("btchtypd_btchtyp_batchtypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypeDescriptions.BatchTypeDescriptions.BATCH_TYPE }, KeyRegistry.BATCH_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypes.BatchTypes.BATCH_TYPE }, true, ForeignKeyRule.CASCADE, null); 047 public static final ForeignKey<BatchTypeDescriptions, Languages> BATCH_TYPE_DESCRIPTIONS_LANGUAGE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchTypeDescriptions.BatchTypeDescriptions, DSL.name("btchtypd_lang_languageid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypeDescriptions.BatchTypeDescriptions.LANGUAGE }, KeyRegistry.LANGUAGES_PK, new TableField[] { com.echothree.model.jooq.server.tables.party.Languages.Languages.LANGUAGE }, true, ForeignKeyRule.CASCADE, null); 048 public static final ForeignKey<BatchTypeDetails, SequenceTypes> BATCH_TYPE_DETAILS_BATCH_SEQUENCE_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchTypeDetails.BatchTypeDetails, DSL.name("btchtypdt_batchsequencetypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypeDetails.BatchTypeDetails.BATCH_SEQUENCE_TYPE }, KeyRegistry.SEQUENCE_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.sequence.SequenceTypes.SequenceTypes.SEQUENCE_TYPE }, true, ForeignKeyRule.CASCADE, null); 049 public static final ForeignKey<BatchTypeDetails, WorkflowEntrances> BATCH_TYPE_DETAILS_BATCH_WORKFLOW_ENTRANCE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchTypeDetails.BatchTypeDetails, DSL.name("btchtypdt_batchworkflowentranceid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypeDetails.BatchTypeDetails.BATCH_WORKFLOW_ENTRANCE }, KeyRegistry.WORKFLOW_ENTRANCES_PK, new TableField[] { com.echothree.model.jooq.server.tables.workflow.WorkflowEntrances.WorkflowEntrances.WORKFLOW_ENTRANCE }, true, ForeignKeyRule.CASCADE, null); 050 public static final ForeignKey<BatchTypeDetails, Workflows> BATCH_TYPE_DETAILS_BATCH_WORKFLOW_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchTypeDetails.BatchTypeDetails, DSL.name("btchtypdt_batchworkflowid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypeDetails.BatchTypeDetails.BATCH_WORKFLOW }, KeyRegistry.WORKFLOWS_PK, new TableField[] { com.echothree.model.jooq.server.tables.workflow.Workflows.Workflows.WORKFLOW }, true, ForeignKeyRule.CASCADE, null); 051 public static final ForeignKey<BatchTypeDetails, BatchTypes> BATCH_TYPE_DETAILS_BATCH_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchTypeDetails.BatchTypeDetails, DSL.name("btchtypdt_btchtyp_batchtypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypeDetails.BatchTypeDetails.BATCH_TYPE }, KeyRegistry.BATCH_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypes.BatchTypes.BATCH_TYPE }, true, ForeignKeyRule.CASCADE, null); 052 public static final ForeignKey<BatchTypeDetails, BatchTypes> BATCH_TYPE_DETAILS_PARENT_BATCH_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchTypeDetails.BatchTypeDetails, DSL.name("btchtypdt_parentbatchtypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypeDetails.BatchTypeDetails.PARENT_BATCH_TYPE }, KeyRegistry.BATCH_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypes.BatchTypes.BATCH_TYPE }, true, ForeignKeyRule.CASCADE, null); 053 public static final ForeignKey<BatchTypeEntityTypes, BatchTypes> BATCH_TYPE_ENTITY_TYPES_BATCH_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchTypeEntityTypes.BatchTypeEntityTypes, DSL.name("btchtypent_btchtyp_batchtypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypeEntityTypes.BatchTypeEntityTypes.BATCH_TYPE }, KeyRegistry.BATCH_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypes.BatchTypes.BATCH_TYPE }, true, ForeignKeyRule.CASCADE, null); 054 public static final ForeignKey<BatchTypeEntityTypes, EntityTypes> BATCH_TYPE_ENTITY_TYPES_ENTITY_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchTypeEntityTypes.BatchTypeEntityTypes, DSL.name("btchtypent_ent_entitytypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypeEntityTypes.BatchTypeEntityTypes.ENTITY_TYPE }, KeyRegistry.ENTITY_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.core.EntityTypes.EntityTypes.ENTITY_TYPE }, true, ForeignKeyRule.CASCADE, null); 055 public static final ForeignKey<BatchTypes, BatchTypeDetails> BATCH_TYPES_ACTIVE_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchTypes.BatchTypes, DSL.name("btchtyp_activedetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypes.BatchTypes.ACTIVE_DETAIL }, KeyRegistry.BATCH_TYPE_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypeDetails.BatchTypeDetails.BATCH_TYPE_DETAIL }, true, ForeignKeyRule.CASCADE, null); 056 public static final ForeignKey<BatchTypes, BatchTypeDetails> BATCH_TYPES_LAST_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.batch.BatchTypes.BatchTypes, DSL.name("btchtyp_lastdetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypes.BatchTypes.LAST_DETAIL }, KeyRegistry.BATCH_TYPE_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.batch.BatchTypeDetails.BatchTypeDetails.BATCH_TYPE_DETAIL }, true, ForeignKeyRule.CASCADE, null); 057}