I have an entity for storing type data.  Would this data be better
placed in the EnumerationType entity?

   <entity entity-name="RiskType" package-name="org.ofbiz" title="Risk
Type Entity">
        <field name="riskTypeId" type="id-ne"></field>
        <field name="description" type="description"></field>
        <prim-key field="riskTypeId"/>
    </entity>  

<RiskType riskTypeId="PROJECT" description="Project" parentTypeId=""/>
<RiskType riskTypeId="BAU" description="Business As Usual"
parentTypeId=""/>
<RiskType riskTypeId="CORPORATE" description="Corporate"
parentTypeId=""/>
<RiskType riskTypeId="FINANCE" description="Finance" parentTypeId=""/>
<RiskType riskTypeId="LEGAL" description="Legal" parentTypeId=""/>
...


Many thanks,

Chris

Reply via email to