Re: svn commit: r1693799 - /ofbiz/trunk/framework/common/entitydef/entitymodel.xml

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

Re: svn commit: r1693799 - /ofbiz/trunk/framework/common/entitydef/entitymodel.xml

Gil Portenseigne
Hi Jacques !

Nothing important, but there is
one unnecessary space before geoPointTypeEnumId, that break the indent :).

Best Regards

On 02/08/2015 11:40, [hidden email] wrote:
Author: jleroux
Date: Sun Aug  2 09:40:02 2015
New Revision: 1693799

URL: http://svn.apache.org/r1693799
Log:
Based on recent Moqui addition, adds description and geoPointTypeEnumId to GeoPoint entity, see https://github.com/sssonline/moqui/commit/39a12eaedcc8e8d134457f6a38146737728bda24 for details

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

Modified: ofbiz/trunk/framework/common/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/entitydef/entitymodel.xml?rev=1693799&r1=1693798&r2=1693799&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/framework/common/entitydef/entitymodel.xml Sun Aug  2 09:40:02 2015
@@ -283,6 +283,8 @@ under the License.
     <entity entity-name="GeoPoint" package-name="org.ofbiz.common.geo" default-resource-name="CommonEntityLabels"
         title="Geographic Location">
         <field name="geoPointId" type="id-ne"></field>
+         <field name="geoPointTypeEnumId" type="id"/>
+        <field name="description" type="description"></field>
         <field name="dataSourceId" type="id"></field>
         <field name="latitude" type="short-varchar" not-null="true"></field>
         <field name="longitude" type="short-varchar" not-null="true"></field>
@@ -293,6 +295,9 @@ under the License.
         <relation type="one" fk-name="GEOPOINT_DTSRC" rel-entity-name="DataSource">
             <key-map field-name="dataSourceId"/>
         </relation>
+        <relation type="one" fk-name="GEOPOINT_TYPE" title="GeoPointType" rel-entity-name="Enumeration">
+            <key-map field-name="geoPointTypeEnumId" rel-field-name="enumId"/>
+        </relation>
         <relation type="one" fk-name="GPT_ELEV_UOM" title="Elevation" rel-entity-name="Uom">
             <key-map field-name="elevationUomId" rel-field-name="uomId"/>
         </relation>