JIRA-3575 has been created that contains union support.  A couple of things I
would consider to enhance this capability ...

1) The ability to have a short-hand in the xml representation similar to
"alias-all" the idea here is you could define the union and the fields you
want, but then just take "all" for each field across all of the entity
members rather than having to define each of them (when the field name
matches the name).

2) This becomes much more powerful if you couple it with the ability to
create view-entities that can have member-entity references to other
view-entities / union-view-entities.  We have found this very powerful,
being able to create a view-entity that can collect all the data for a
specific presentment artifact like a form or a screen reducing the need for
multiple queries, etc.

If we feel this is desirable for the community/project I can gather up the
pieces that allow #2 and include that as a separate patch.
-- 
View this message in context: 
http://n4.nabble.com/entity-engine-union-support-tp1607240p1691129.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Reply via email to