001package com.echothree.model.jooq.server.keys.shipping; 002 003import com.echothree.model.jooq.server.KeyRegistry; 004import com.echothree.model.jooq.server.records.carrier.CarrierServices; 005import com.echothree.model.jooq.server.records.party.Languages; 006import com.echothree.model.jooq.server.records.selector.Selectors; 007import com.echothree.model.jooq.server.records.shipping.ShippingMethodCarrierServices; 008import com.echothree.model.jooq.server.records.shipping.ShippingMethodDescriptions; 009import com.echothree.model.jooq.server.records.shipping.ShippingMethodDetails; 010import com.echothree.model.jooq.server.records.shipping.ShippingMethods; 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 ShippingForeign component. 020 */ 021public interface ShippingForeignKeys { 022 public static final ForeignKey<ShippingMethodCarrierServices, CarrierServices> SHIPPING_METHOD_CARRIER_SERVICES_CARRIER_SERVICE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.shipping.ShippingMethodCarrierServices.ShippingMethodCarrierServices, DSL.name("shmcrrsrv_crrsrv_carrierserviceid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.shipping.ShippingMethodCarrierServices.ShippingMethodCarrierServices.CARRIER_SERVICE }, KeyRegistry.CARRIER_SERVICES_PK, new TableField[] { com.echothree.model.jooq.server.tables.carrier.CarrierServices.CarrierServices.CARRIER_SERVICE }, true, ForeignKeyRule.CASCADE, null); 023 public static final ForeignKey<ShippingMethodCarrierServices, ShippingMethods> SHIPPING_METHOD_CARRIER_SERVICES_SHIPPING_METHOD_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.shipping.ShippingMethodCarrierServices.ShippingMethodCarrierServices, DSL.name("shmcrrsrv_shm_shippingmethodid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.shipping.ShippingMethodCarrierServices.ShippingMethodCarrierServices.SHIPPING_METHOD }, KeyRegistry.SHIPPING_METHODS_PK, new TableField[] { com.echothree.model.jooq.server.tables.shipping.ShippingMethods.ShippingMethods.SHIPPING_METHOD }, true, ForeignKeyRule.CASCADE, null); 024 public static final ForeignKey<ShippingMethodDescriptions, Languages> SHIPPING_METHOD_DESCRIPTIONS_LANGUAGE_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.shipping.ShippingMethodDescriptions.ShippingMethodDescriptions, DSL.name("shmd_lang_languageid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.shipping.ShippingMethodDescriptions.ShippingMethodDescriptions.LANGUAGE }, KeyRegistry.LANGUAGES_PK, new TableField[] { com.echothree.model.jooq.server.tables.party.Languages.Languages.LANGUAGE }, true, ForeignKeyRule.CASCADE, null); 025 public static final ForeignKey<ShippingMethodDescriptions, ShippingMethods> SHIPPING_METHOD_DESCRIPTIONS_SHIPPING_METHOD_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.shipping.ShippingMethodDescriptions.ShippingMethodDescriptions, DSL.name("shmd_shm_shippingmethodid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.shipping.ShippingMethodDescriptions.ShippingMethodDescriptions.SHIPPING_METHOD }, KeyRegistry.SHIPPING_METHODS_PK, new TableField[] { com.echothree.model.jooq.server.tables.shipping.ShippingMethods.ShippingMethods.SHIPPING_METHOD }, true, ForeignKeyRule.CASCADE, null); 026 public static final ForeignKey<ShippingMethodDetails, Selectors> SHIPPING_METHOD_DETAILS_GEO_CODE_SELECTOR_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.shipping.ShippingMethodDetails.ShippingMethodDetails, DSL.name("shmdt_geocodeselectorid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.shipping.ShippingMethodDetails.ShippingMethodDetails.GEO_CODE_SELECTOR }, KeyRegistry.SELECTORS_PK, new TableField[] { com.echothree.model.jooq.server.tables.selector.Selectors.Selectors.SELECTOR }, true, ForeignKeyRule.CASCADE, null); 027 public static final ForeignKey<ShippingMethodDetails, Selectors> SHIPPING_METHOD_DETAILS_ITEM_SELECTOR_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.shipping.ShippingMethodDetails.ShippingMethodDetails, DSL.name("shmdt_itemselectorid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.shipping.ShippingMethodDetails.ShippingMethodDetails.ITEM_SELECTOR }, KeyRegistry.SELECTORS_PK, new TableField[] { com.echothree.model.jooq.server.tables.selector.Selectors.Selectors.SELECTOR }, true, ForeignKeyRule.CASCADE, null); 028 public static final ForeignKey<ShippingMethodDetails, ShippingMethods> SHIPPING_METHOD_DETAILS_SHIPPING_METHOD_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.shipping.ShippingMethodDetails.ShippingMethodDetails, DSL.name("shmdt_shm_shippingmethodid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.shipping.ShippingMethodDetails.ShippingMethodDetails.SHIPPING_METHOD }, KeyRegistry.SHIPPING_METHODS_PK, new TableField[] { com.echothree.model.jooq.server.tables.shipping.ShippingMethods.ShippingMethods.SHIPPING_METHOD }, true, ForeignKeyRule.CASCADE, null); 029 public static final ForeignKey<ShippingMethods, ShippingMethodDetails> SHIPPING_METHODS_ACTIVE_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.shipping.ShippingMethods.ShippingMethods, DSL.name("shm_activedetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.shipping.ShippingMethods.ShippingMethods.ACTIVE_DETAIL }, KeyRegistry.SHIPPING_METHOD_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.shipping.ShippingMethodDetails.ShippingMethodDetails.SHIPPING_METHOD_DETAIL }, true, ForeignKeyRule.CASCADE, null); 030 public static final ForeignKey<ShippingMethods, ShippingMethodDetails> SHIPPING_METHODS_LAST_DETAIL_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.shipping.ShippingMethods.ShippingMethods, DSL.name("shm_lastdetailid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.shipping.ShippingMethods.ShippingMethods.LAST_DETAIL }, KeyRegistry.SHIPPING_METHOD_DETAILS_PK, new TableField[] { com.echothree.model.jooq.server.tables.shipping.ShippingMethodDetails.ShippingMethodDetails.SHIPPING_METHOD_DETAIL }, true, ForeignKeyRule.CASCADE, null); 031}