svn commit: r780283 - /ofbiz/trunk/specialpurpose/googlecheckout/entitydef/entitymodel.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r780283 - /ofbiz/trunk/specialpurpose/googlecheckout/entitydef/entitymodel.xml

jaz-3
Author: jaz
Date: Sat May 30 15:25:04 2009
New Revision: 780283

URL: http://svn.apache.org/viewvc?rev=780283&view=rev
Log:
fixed package name and description; added intial pass of db based configuration (commented out until its implemetned and tested)

Modified:
    ofbiz/trunk/specialpurpose/googlecheckout/entitydef/entitymodel.xml

Modified: ofbiz/trunk/specialpurpose/googlecheckout/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googlecheckout/entitydef/entitymodel.xml?rev=780283&r1=780282&r2=780283&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/googlecheckout/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/specialpurpose/googlecheckout/entitydef/entitymodel.xml Sat May 30 15:25:04 2009
@@ -33,16 +33,43 @@
     <!-- ========================================================= -->
     <!-- ======================== Data Model ===================== -->
     <!-- The modules in this file are as follows:                  -->
+    <!--  - org.ofbiz.googlecheckout.config -->  
     <!--  - org.ofbiz.googlecheckout.shipping -->  
     <!-- ========================================================= -->
     
     <!-- ========================================================= -->
+    <!-- org.ofbiz.googlecheckout.config -->
+    <!-- ========================================================= -->
+    <!--
+    <entity entity-name="GoogleConfiguration"
+            package-name="org.ofbiz.googlecheckout.config"
+            title="Google Checkout Configuration">
+      <field name="merchantId" type="id-ne"></field>
+      <field name="merchantKey" type="value"></field>
+      <field name="environment" type="name"></field>
+      <field name="productStoreId" type="id-ne"></field>
+      <field name="webSiteId" type="id"></field>
+      <field name="prodCatalogId" type="id"></field>        
+      <prim-key field="merchantId"/>      
+      <relation type="one" fk-name="GCC_PROD_STORE" rel-entity-name="ProductStore">
+        <key-map field-name="productStoreId"/>
+      </relation>
+      <relation type="one" fk-name="GCC_WEBSITE" rel-entity-name="WebSite">
+        <key-map field-name="webSiteId"/>
+      </relation>
+      <relation type="one" fk-name="GCC_PROD_CAT" rel-entity-name="ProdCatalog">
+        <key-map field-name="prodCatalogId"/>
+      </relation>      
+    </entity>
+    -->
+    
+    <!-- ========================================================= -->
     <!-- org.ofbiz.googlecheckout.shipping -->
     <!-- ========================================================= -->
     
     <entity entity-name="GoogleShippingMethods"
-            package-name="org.ofbiz.accounting.budget"
-            title="Budget Entity">
+            package-name="org.ofbiz.googlecheckout.shipping"
+            title="Google Shipping Method Config">
       <field name="shipmentMethodName" type="id-ne"></field>
       <field name="productStoreId" type="id-ne"></field>
       <field name="amount" type="currency-amount"></field>