Files
ofbiz-framework/applications/product/entitydef/entitymodel_old.xml
T
Ashish Vijaywargiya 7e03bd1a5d Improvement based on David's Comment on my previous commit that were based on Migration of FacilityRole entity to FacilityParty entity.
Thanks David for your comment.It was my mistake that somehow I missed this thing in my last commit.Although the "Old" prefix was there in migration work that I did few days back :-)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@698477 13f79535-47bb-0310-9956-ffa450edef68
2008-09-24 09:28:47 +00:00

62 lines
2.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<entitymodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entitymodel.xsd">
<!-- ========================================================= -->
<!-- ======================== Defaults ======================= -->
<!-- ========================================================= -->
<title>Entity of an Open For Business Project Component</title>
<description>None</description>
<copyright>Copyright 2001-2008 The Apache Software Foundation</copyright>
<author>None</author>
<version>1.0</version>
<!-- ========================================================= -->
<!-- ======================== Data Model ===================== -->
<!-- The modules in this file are as follows: -->
<!-- - org.ofbiz.product.facility -->
<!-- ========================================================= -->
<!-- ========================================================= -->
<!-- org.ofbiz.product.facility -->
<!-- ========================================================= -->
<entity entity-name="OldFacilityRole" table-name="FACILITY_ROLE"
package-name="org.ofbiz.product.facility"
title="Facility Role Entity">
<field name="facilityId" type="id-ne"></field>
<field name="partyId" type="id-ne"></field>
<field name="roleTypeId" type="id-ne"></field>
<prim-key field="facilityId"/>
<prim-key field="partyId"/>
<prim-key field="roleTypeId"/>
<relation type="one" fk-name="FACILITY_RLE_FAC" rel-entity-name="Facility">
<key-map field-name="facilityId"/>
</relation>
<relation type="one" fk-name="FACILITY_RLE_PRTY" rel-entity-name="Party">
<key-map field-name="partyId"/>
</relation>
<relation type="one-nofk" fk-name="FACILITY_RLE_ROLE" rel-entity-name="RoleType">
<key-map field-name="roleTypeId"/>
</relation>
</entity>
</entitymodel>