Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362489

Summary: KDMEntity.groupedElement does not return all union children
Product: [Modeling] MoDisco Reporter: Christian Wulf <chwchw>
Component: TechnologiesAssignee: Project Inbox <modisco.web-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P5 CC: gdupe
Version: 0.9.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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().