| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <entitymodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entitymodel.xsd"> |
| |
| <!-- ========================================================= --> |
| <!-- ======================== Defaults ======================= --> |
| <!-- ========================================================= --> |
| <title>Entity of an Apache OFBiz Component</title> |
| <description>None</description> |
| <version>1.0</version> |
| |
| <!-- ========================================================= --> |
| <!-- ======================== Data Model ===================== --> |
| <!-- The modules in this file are as follows: --> |
| <!-- - org.apache.ofbiz.ebay.config --> |
| <!-- ========================================================= --> |
| |
| <!-- ========================================================= --> |
| <!-- org.apache.ofbiz.ebay.config --> |
| <!-- ========================================================= --> |
| |
| <entity entity-name="EbayConfig" |
| package-name="org.apache.ofbiz.ebay.config" |
| title="eBay Configuration"> |
| <field name="productStoreId" type="id-ne"></field> |
| <field name="devId" type="value"></field> |
| <field name="appId" type="value"></field> |
| <field name="certId" type="value"></field> |
| <field name="token" type="very-long"></field> |
| <field name="compatibilityLevel" type="id"></field> |
| <field name="siteId" type="id"></field> |
| <field name="xmlGatewayUri" type="value"></field> |
| <field name="customXml" type="very-long"></field> |
| <field name="webSiteId" type="id-ne"></field> |
| <prim-key field="productStoreId"/> |
| <relation type="one" fk-name="EBY_PROD_STORE" rel-entity-name="ProductStore"> |
| <key-map field-name="productStoreId"/> |
| </relation> |
| <relation type="one" fk-name="EBY_WEBSITE" rel-entity-name="WebSite"> |
| <key-map field-name="webSiteId"/> |
| </relation> |
| </entity> |
| |
| <entity entity-name="EbayShippingMethod" |
| package-name="org.apache.ofbiz.ebay.shipping" |
| title="Ebay Shipping Method Config"> |
| <field name="shipmentMethodName" type="id-long-ne"></field> |
| <field name="productStoreId" type="id-ne"></field> |
| <field name="amount" type="currency-amount"></field> |
| <field name="additionalAmount" type="currency-amount"></field> |
| <field name="additionalPercent" type="fixed-point"></field> |
| <field name="methodTypeEnumId" type="id-ne"></field> |
| <field name="carrierPartyId" type="id-ne"></field> |
| <field name="shipmentMethodTypeId" type="id-ne"></field> |
| <prim-key field="shipmentMethodName"/> |
| <prim-key field="productStoreId"/> |
| <relation type="one" fk-name="EBYSM_PRD_STRE" rel-entity-name="ProductStore"> |
| <key-map field-name="productStoreId"/> |
| </relation> |
| <relation type="one" fk-name="EBYSM_TPE_ENUM" rel-entity-name="Enumeration"> |
| <key-map field-name="methodTypeEnumId" rel-field-name="enumId"/> |
| </relation> |
| <relation type="one" fk-name="EBYSM_CRIER_PRTY" rel-entity-name="Party"> |
| <key-map field-name="carrierPartyId" rel-field-name="partyId"/> |
| </relation> |
| <relation type="one" fk-name="EBYSM_SHMETH_TPE" rel-entity-name="ShipmentMethodType"> |
| <key-map field-name="shipmentMethodTypeId"/> |
| </relation> |
| </entity> |
| </entitymodel> |
| |