Author: jleroux
Date: Tue Sep 2 13:57:50 2008
New Revision: 691380
URL:
http://svn.apache.org/viewvc?rev=691380&view=revLog:
Some changes related to GeoPoint have slipped in in r691362.
I kept the AgreementEmploymentAppl switch as it was not related to GeoPoint and is a good rewriting
Modified:
ofbiz/trunk/applications/party/entitydef/entitymodel.xml
Modified: ofbiz/trunk/applications/party/entitydef/entitymodel.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/entitydef/entitymodel.xml?rev=691380&r1=691379&r2=691380&view=diff==============================================================================
--- ofbiz/trunk/applications/party/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/party/entitydef/entitymodel.xml Tue Sep 2 13:57:50 2008
@@ -1150,7 +1150,6 @@
<field name="stateProvinceGeoId" type="id"></field>
<field name="countyGeoId" type="id"></field>
<field name="postalCodeGeoId" type="id"></field>
- <field name="geoPointId" type="id"></field>
<prim-key field="contactMechId"/>
<relation type="one" fk-name="POST_ADDR_CMECH" rel-entity-name="ContactMech">
<key-map field-name="contactMechId"/>
@@ -1167,9 +1166,6 @@
<relation type="one" fk-name="POST_ADDR_PCGEO" title="PostalCode" rel-entity-name="Geo">
<key-map field-name="postalCodeGeoId" rel-field-name="geoId"/>
</relation>
- <relation type="one" fk-name="POST_ADDR_GEOPT" title="Geo Point" rel-entity-name="GeoPoint">
- <key-map field-name="geoPointId"/>
- </relation>
<index name="ADDRESS1_IDX">
<index-field name="address1"/>
</index>
@@ -2626,19 +2622,4 @@
<key-map field-name="partyId"/>
</relation>
</extend-entity>
- <entity entity-name="PartyGeoPoint" package-name="org.ofbiz.party.party" title="Party Geo Location with history">
- <field name="partyId" type="id-ne"></field>
- <field name="geoPointId" type="id-ne"></field>
- <field name="fromDate" type="date-time"></field>
- <field name="thruDate" type="date-time"></field>
- <prim-key field="partyId"/>
- <prim-key field="geoPointId"/>
- <prim-key field="fromDate"/>
- <relation type="one" fk-name="PARTYGEOPT_PARTY" rel-entity-name="Party">
- <key-map field-name="partyId"/>
- </relation>
- <relation type="one" fk-name="PARTYGEOPT_GEOPT" rel-entity-name="GeoPoint">
- <key-map field-name="geoPointId"/>
- </relation>
- </entity>
</entitymodel>