Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362489 - KDMEntity.groupedElement does not return all union children
Summary: KDMEntity.groupedElement does not return all union children
Status: NEW
Alias: None
Product: MoDisco
Classification: Modeling
Component: Technologies (show other bugs)
Version: 0.9.1   Edit
Hardware: PC Windows 7
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-31 09:52 EDT by Christian Wulf CLA
Modified: 2012-12-19 08:55 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Wulf CLA 2011-10-31 09:52:03 EDT
Concerning your KDM Ecore model:

For example, Namespace.groupedElement() should return the children of all list attributes of Namespace and super types. Here, Namespace and super types have only one list attribute: Namespace.groupedCode.
Thus, Namespace.groupedElement() should return the elements from Namespace.groupedCode() as well.

If there are more list attributes in one class including its super types, then, as the union annotation says, the children of the list attributes must be merged and returned by groupedElement().