001package com.echothree.model.jooq.server.keys.tax; 002 003import com.echothree.model.jooq.server.KeyRegistry; 004import com.echothree.model.jooq.server.records.accounting.GlAccounts; 005import com.echothree.model.jooq.server.records.contact.ContactMechanismPurposes; 006import com.echothree.model.jooq.server.records.core.MimeTypes; 007import com.echothree.model.jooq.server.records.geo.GeoCodes; 008import com.echothree.model.jooq.server.records.item.Items; 009import com.echothree.model.jooq.server.records.party.Languages; 010import com.echothree.model.jooq.server.records.tax.GeoCodeTaxes; 011import com.echothree.model.jooq.server.records.tax.ItemTaxClassificationDetails; 012import com.echothree.model.jooq.server.records.tax.ItemTaxClassifications; 013import com.echothree.model.jooq.server.records.tax.TaxClassificationDetails; 014import com.echothree.model.jooq.server.records.tax.TaxClassificationTranslations; 015import com.echothree.model.jooq.server.records.tax.TaxClassifications; 016import com.echothree.model.jooq.server.records.tax.TaxDescriptions; 017import com.echothree.model.jooq.server.records.tax.TaxDetails; 018import com.echothree.model.jooq.server.records.tax.Taxes; 019 020import org.jooq.ForeignKey; 021import org.jooq.TableField; 022import org.jooq.impl.DSL; 023import org.jooq.impl.Internal; 024import org.jooq.impl.QOM.ForeignKeyRule; 025 026/** 027 * Key definitions for the TaxForeign component. 028 */ 029public interface TaxForeignKeys { 030 public static final ForeignKey<GeoCodeTaxes, GeoCodes> GEO_CODE_TAXES_GEO_CODE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.GeoCodeTaxes.GeoCodeTaxes, DSL.name("geotx_geo_geocodeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.GeoCodeTaxes.GeoCodeTaxes.GEO_CODE }, KeyRegistry.GEO_CODES_PK, new TableField[] { com.echothree.model.jooq.server.tables.geo.GeoCodes.GeoCodes.GEO_CODE }, true, ForeignKeyRule.CASCADE, null); 031 public static final ForeignKey<GeoCodeTaxes, Taxes> GEO_CODE_TAXES_TAX_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.GeoCodeTaxes.GeoCodeTaxes, DSL.name("geotx_tx_taxid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.GeoCodeTaxes.GeoCodeTaxes.TAX }, KeyRegistry.TAXES_PK, new TableField[] { com.echothree.model.jooq.server.tables.tax.Taxes.Taxes.TAX }, true, ForeignKeyRule.CASCADE, null); 032 public static final ForeignKey<ItemTaxClassificationDetails, GeoCodes> ITEM_TAX_CLASSIFICATION_DETAILS_COUNTRY_GEO_CODE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.ItemTaxClassificationDetails.ItemTaxClassificationDetails, DSL.name("itmtxclsfndt_countrygeocodeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.ItemTaxClassificationDetails.ItemTaxClassificationDetails.COUNTRY_GEO_CODE }, KeyRegistry.GEO_CODES_PK, new TableField[] { com.echothree.model.jooq.server.tables.geo.GeoCodes.GeoCodes.GEO_CODE }, true, ForeignKeyRule.CASCADE, null); 033 public static final ForeignKey<ItemTaxClassificationDetails, Items> ITEM_TAX_CLASSIFICATION_DETAILS_ITEM_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.ItemTaxClassificationDetails.ItemTaxClassificationDetails, DSL.name("itmtxclsfndt_itm_itemid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.ItemTaxClassificationDetails.ItemTaxClassificationDetails.ITEM }, KeyRegistry.ITEMS_PK, new TableField[] { com.echothree.model.jooq.server.tables.item.Items.Items.ITEM }, true, ForeignKeyRule.CASCADE, null); 034 public static final ForeignKey<ItemTaxClassificationDetails, ItemTaxClassifications> ITEM_TAX_CLASSIFICATION_DETAILS_ITEM_TAX_CLASSIFICATION_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.ItemTaxClassificationDetails.ItemTaxClassificationDetails, DSL.name("itmtxclsfndt_itmtxclsfn_itemtaxclassificationid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.ItemTaxClassificationDetails.ItemTaxClassificationDetails.ITEM_TAX_CLASSIFICATION }, KeyRegistry.ITEM_TAX_CLASSIFICATIONS_PK, new TableField[] { com.echothree.model.jooq.server.tables.tax.ItemTaxClassifications.ItemTaxClassifications.ITEM_TAX_CLASSIFICATION }, true, ForeignKeyRule.CASCADE, null); 035 public static final ForeignKey<ItemTaxClassificationDetails, TaxClassifications> ITEM_TAX_CLASSIFICATION_DETAILS_TAX_CLASSIFICATION_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.ItemTaxClassificationDetails.ItemTaxClassificationDetails, DSL.name("itmtxclsfndt_txclsfn_taxclassificationid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.ItemTaxClassificationDetails.ItemTaxClassificationDetails.TAX_CLASSIFICATION }, KeyRegistry.TAX_CLASSIFICATIONS_PK, new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxClassifications.TaxClassifications.TAX_CLASSIFICATION }, true, ForeignKeyRule.CASCADE, null); 036 public static final ForeignKey<ItemTaxClassifications, ItemTaxClassificationDetails> ITEM_TAX_CLASSIFICATIONS_ACTIVE_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.ItemTaxClassifications.ItemTaxClassifications, DSL.name("itmtxclsfn_activedetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.ItemTaxClassifications.ItemTaxClassifications.ACTIVE_DETAIL }, KeyRegistry.ITEM_TAX_CLASSIFICATION_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.tax.ItemTaxClassificationDetails.ItemTaxClassificationDetails.ITEM_TAX_CLASSIFICATION_DETAIL }, true, ForeignKeyRule.CASCADE, null); 037 public static final ForeignKey<ItemTaxClassifications, ItemTaxClassificationDetails> ITEM_TAX_CLASSIFICATIONS_LAST_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.ItemTaxClassifications.ItemTaxClassifications, DSL.name("itmtxclsfn_lastdetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.ItemTaxClassifications.ItemTaxClassifications.LAST_DETAIL }, KeyRegistry.ITEM_TAX_CLASSIFICATION_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.tax.ItemTaxClassificationDetails.ItemTaxClassificationDetails.ITEM_TAX_CLASSIFICATION_DETAIL }, true, ForeignKeyRule.CASCADE, null); 038 public static final ForeignKey<TaxClassificationDetails, GeoCodes> TAX_CLASSIFICATION_DETAILS_COUNTRY_GEO_CODE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.TaxClassificationDetails.TaxClassificationDetails, DSL.name("txclsfndt_countrygeocodeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxClassificationDetails.TaxClassificationDetails.COUNTRY_GEO_CODE }, KeyRegistry.GEO_CODES_PK, new TableField[] { com.echothree.model.jooq.server.tables.geo.GeoCodes.GeoCodes.GEO_CODE }, true, ForeignKeyRule.CASCADE, null); 039 public static final ForeignKey<TaxClassificationDetails, TaxClassifications> TAX_CLASSIFICATION_DETAILS_TAX_CLASSIFICATION_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.TaxClassificationDetails.TaxClassificationDetails, DSL.name("txclsfndt_txclsfn_taxclassificationid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxClassificationDetails.TaxClassificationDetails.TAX_CLASSIFICATION }, KeyRegistry.TAX_CLASSIFICATIONS_PK, new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxClassifications.TaxClassifications.TAX_CLASSIFICATION }, true, ForeignKeyRule.CASCADE, null); 040 public static final ForeignKey<TaxClassifications, TaxClassificationDetails> TAX_CLASSIFICATIONS_ACTIVE_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.TaxClassifications.TaxClassifications, DSL.name("txclsfn_activedetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxClassifications.TaxClassifications.ACTIVE_DETAIL }, KeyRegistry.TAX_CLASSIFICATION_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxClassificationDetails.TaxClassificationDetails.TAX_CLASSIFICATION_DETAIL }, true, ForeignKeyRule.CASCADE, null); 041 public static final ForeignKey<TaxClassifications, TaxClassificationDetails> TAX_CLASSIFICATIONS_LAST_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.TaxClassifications.TaxClassifications, DSL.name("txclsfn_lastdetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxClassifications.TaxClassifications.LAST_DETAIL }, KeyRegistry.TAX_CLASSIFICATION_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxClassificationDetails.TaxClassificationDetails.TAX_CLASSIFICATION_DETAIL }, true, ForeignKeyRule.CASCADE, null); 042 public static final ForeignKey<TaxClassificationTranslations, Languages> TAX_CLASSIFICATION_TRANSLATIONS_LANGUAGE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.TaxClassificationTranslations.TaxClassificationTranslations, DSL.name("txclsfntr_lang_languageid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxClassificationTranslations.TaxClassificationTranslations.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<TaxClassificationTranslations, MimeTypes> TAX_CLASSIFICATION_TRANSLATIONS_OVERVIEW_MIME_TYPE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.TaxClassificationTranslations.TaxClassificationTranslations, DSL.name("txclsfntr_overviewmimetypeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxClassificationTranslations.TaxClassificationTranslations.OVERVIEW_MIME_TYPE }, KeyRegistry.MIME_TYPES_PK, new TableField[] { com.echothree.model.jooq.server.tables.core.MimeTypes.MimeTypes.MIME_TYPE }, true, ForeignKeyRule.CASCADE, null); 044 public static final ForeignKey<TaxClassificationTranslations, TaxClassifications> TAX_CLASSIFICATION_TRANSLATIONS_TAX_CLASSIFICATION_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.TaxClassificationTranslations.TaxClassificationTranslations, DSL.name("txclsfntr_txclsfn_taxclassificationid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxClassificationTranslations.TaxClassificationTranslations.TAX_CLASSIFICATION }, KeyRegistry.TAX_CLASSIFICATIONS_PK, new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxClassifications.TaxClassifications.TAX_CLASSIFICATION }, true, ForeignKeyRule.CASCADE, null); 045 public static final ForeignKey<TaxDescriptions, Languages> TAX_DESCRIPTIONS_LANGUAGE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.TaxDescriptions.TaxDescriptions, DSL.name("txd_lang_languageid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxDescriptions.TaxDescriptions.LANGUAGE }, KeyRegistry.LANGUAGES_PK, new TableField[] { com.echothree.model.jooq.server.tables.party.Languages.Languages.LANGUAGE }, true, ForeignKeyRule.CASCADE, null); 046 public static final ForeignKey<TaxDescriptions, Taxes> TAX_DESCRIPTIONS_TAX_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.TaxDescriptions.TaxDescriptions, DSL.name("txd_tx_taxid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxDescriptions.TaxDescriptions.TAX }, KeyRegistry.TAXES_PK, new TableField[] { com.echothree.model.jooq.server.tables.tax.Taxes.Taxes.TAX }, true, ForeignKeyRule.CASCADE, null); 047 public static final ForeignKey<TaxDetails, ContactMechanismPurposes> TAX_DETAILS_CONTACT_MECHANISM_PURPOSE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.TaxDetails.TaxDetails, DSL.name("txdt_cmpr_contactmechanismpurposeid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxDetails.TaxDetails.CONTACT_MECHANISM_PURPOSE }, KeyRegistry.CONTACT_MECHANISM_PURPOSES_PK, new TableField[] { com.echothree.model.jooq.server.tables.contact.ContactMechanismPurposes.ContactMechanismPurposes.CONTACT_MECHANISM_PURPOSE }, true, ForeignKeyRule.CASCADE, null); 048 public static final ForeignKey<TaxDetails, GlAccounts> TAX_DETAILS_GL_ACCOUNT_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.TaxDetails.TaxDetails, DSL.name("txdt_gla_glaccountid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxDetails.TaxDetails.GL_ACCOUNT }, KeyRegistry.GL_ACCOUNTS_PK, new TableField[] { com.echothree.model.jooq.server.tables.accounting.GlAccounts.GlAccounts.GL_ACCOUNT }, true, ForeignKeyRule.CASCADE, null); 049 public static final ForeignKey<TaxDetails, Taxes> TAX_DETAILS_TAX_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.TaxDetails.TaxDetails, DSL.name("txdt_tx_taxid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxDetails.TaxDetails.TAX }, KeyRegistry.TAXES_PK, new TableField[] { com.echothree.model.jooq.server.tables.tax.Taxes.Taxes.TAX }, true, ForeignKeyRule.CASCADE, null); 050 public static final ForeignKey<Taxes, TaxDetails> TAXES_ACTIVE_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.Taxes.Taxes, DSL.name("tx_activedetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.Taxes.Taxes.ACTIVE_DETAIL }, KeyRegistry.TAX_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxDetails.TaxDetails.TAX_DETAIL }, true, ForeignKeyRule.CASCADE, null); 051 public static final ForeignKey<Taxes, TaxDetails> TAXES_LAST_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.tax.Taxes.Taxes, DSL.name("tx_lastdetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.tax.Taxes.Taxes.LAST_DETAIL }, KeyRegistry.TAX_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.tax.TaxDetails.TaxDetails.TAX_DETAIL }, true, ForeignKeyRule.CASCADE, null); 052}