You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2009/10/03 21:54:56 UTC

svn commit: r821404 - /ofbiz/trunk/framework/example/entitydef/entitymodel.xml

Author: doogie
Date: Sat Oct  3 19:54:55 2009
New Revision: 821404

URL: http://svn.apache.org/viewvc?rev=821404&view=rev
Log:
Make use of feature from last commit, moving default-resource-name to
the top-level.

Modified:
    ofbiz/trunk/framework/example/entitydef/entitymodel.xml

Modified: ofbiz/trunk/framework/example/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/entitydef/entitymodel.xml?rev=821404&r1=821403&r2=821404&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/framework/example/entitydef/entitymodel.xml Sat Oct  3 19:54:55 2009
@@ -28,6 +28,7 @@
     <copyright>Copyright 2001-2009 The Apache Software Foundation</copyright>
     <author>None</author>
     <version>1.0</version>
+    <default-resource-name>ExampleEntityLabels</default-resource-name>
 
     <!-- ========================================================= -->
     <!-- ======================== Data Model ===================== -->
@@ -42,7 +43,6 @@
 
     <entity entity-name="Example"
             package-name="org.ofbiz.example.example"
-            default-resource-name="ExampleEntityLabels"
             title="Example Entity">
         <field name="exampleId" type="id-ne"><description>primary sequenced ID</description></field>
         <field name="exampleTypeId" type="id-ne"></field>
@@ -63,7 +63,7 @@
             <key-map field-name="statusId"/>
         </relation>
     </entity>
-    <entity entity-name="ExampleItem" package-name="org.ofbiz.example.example" title="Example Item Entity" default-resource-name="ExampleEntityLabels">
+    <entity entity-name="ExampleItem" package-name="org.ofbiz.example.example" title="Example Item Entity">
         <field name="exampleId" type="id-ne"></field>
         <field name="exampleItemSeqId" type="id-ne"><description>secondary sequenced ID</description></field>
         <field name="description" type="description"></field>
@@ -78,7 +78,7 @@
             <key-map field-name="exampleId"/>
         </relation>
     </entity>
-    <entity entity-name="ExampleStatus" package-name="org.ofbiz.example.example" title="Example Status Entity" default-resource-name="ExampleEntityLabels">
+    <entity entity-name="ExampleStatus" package-name="org.ofbiz.example.example" title="Example Status Entity">
         <field name="exampleId" type="id-ne"></field>
         <field name="statusDate" type="date-time"></field>
         <field name="statusEndDate" type="date-time"></field>
@@ -94,7 +94,6 @@
     </entity>
     <entity entity-name="ExampleType"
             package-name="org.ofbiz.example.example"
-            default-resource-name="ExampleEntityLabels"
             title="Example Type Entity">
         <field name="exampleTypeId" type="id-ne"></field>
         <field name="parentTypeId" type="id"></field>
@@ -111,7 +110,7 @@
 
     <entity entity-name="ExampleFeature"
         package-name="org.ofbiz.example.feature"
-        title="Example Feature Entity" default-resource-name="ExampleEntityLabels">
+        title="Example Feature Entity">
         <field name="exampleFeatureId" type="id-ne"><description>primary sequenced ID</description></field>
         <field name="featureSourceEnumId" type="id-ne"></field>
         <field name="description" type="description"></field>
@@ -122,7 +121,7 @@
     </entity>
     <entity entity-name="ExampleFeatureAppl"
         package-name="org.ofbiz.example.feature"
-        title="Example Feature Application Entity" default-resource-name="ExampleEntityLabels">
+        title="Example Feature Application Entity">
         <field name="exampleId" type="id-ne"></field>
         <field name="exampleFeatureId" type="id-ne"></field>
         <field name="fromDate" type="date-time"></field>
@@ -144,7 +143,6 @@
     </entity>
     <entity entity-name="ExampleFeatureApplType"
         package-name="org.ofbiz.example.feature"
-        default-resource-name="ExampleEntityLabels"
         title="Example Feature Application Type Entity">
         <field name="exampleFeatureApplTypeId" type="id-ne"></field>
         <field name="parentTypeId" type="id"></field>