Author: jonesde
Date: Thu Jan 22 00:33:17 2009 New Revision: 736588 URL: http://svn.apache.org/viewvc?rev=736588&view=rev Log: Moved GeoPoint to be in alpha order, changed from 2 to 4 spaces, added title attribute to Uom relationship for consistency with the field name 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=736588&r1=736587&r2=736588&view=diff ============================================================================== --- ofbiz/trunk/framework/common/entitydef/entitymodel.xml (original) +++ ofbiz/trunk/framework/common/entitydef/entitymodel.xml Thu Jan 22 00:33:17 2009 @@ -195,6 +195,23 @@ <field name="description" type="description"></field> <prim-key field="geoAssocTypeId"/> </entity> + <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="dataSourceId" type="id"></field> + <field name="latitude" type="floating-point" not-null="true"></field> + <field name="longitude" type="floating-point" not-null="true"></field> + <field name="elevation" type="floating-point"></field> + <field name="elevationUomId" type="id"><description>We need an UOM for elevation (feet, meters, etc.)</description></field> + <field name="information" type="comment"><description>To enter any related information</description></field> + <prim-key field="geoPointId"/> + <relation type="one" fk-name="GEOPOINT_DTSRC" rel-entity-name="DataSource"> + <key-map field-name="dataSourceId"/> + </relation> + <relation type="one" fk-name="GPT_TYPE_UOM" title="Elevation" rel-entity-name="Uom"> + <key-map field-name="elevationUomId" rel-field-name="uomId"/> + </relation> + </entity> <entity entity-name="GeoType" package-name="org.ofbiz.common.geo" default-resource-name="CommonEntityLabels" title="Geographic Boundary Type Entity"> <field name="geoTypeId" type="id-ne"></field> @@ -206,23 +223,6 @@ <key-map field-name="parentTypeId" rel-field-name="geoTypeId"/> </relation> </entity> - <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="dataSourceId" type="id"></field> - <field name="latitude" type="floating-point" not-null="true"></field> - <field name="longitude" type="floating-point" not-null="true"></field> - <field name="elevation" type="floating-point"></field> - <field name="elevationUomId" type="id"><description>We need an UOM for elevation (feet, meters, etc.)</description></field> - <field name="information" type="comment"><description>To enter any related information</description></field> - <prim-key field="geoPointId"/> - <relation type="one" fk-name="GEOPOINT_DTSRC" rel-entity-name="DataSource"> - <key-map field-name="dataSourceId"/> - </relation> - <relation type="one" fk-name="GPT_TYPE_UOM" rel-entity-name="Uom"> - <key-map field-name="elevationUomId" rel-field-name="uomId"/> - </relation> - </entity> <!-- ========================================================= --> <!-- org.ofbiz.common.keyword --> |
Free forum by Nabble | Edit this page |