Issue 9246: Element and Comment in Basic (uml2-rtf) Source: Capgemini (drs. Anneke Kleppe, anneke.kleppe(at)capgemini.com) Nature: Uncategorized Issue Severity: Summary: The definition of the classes Element and Comment in the Basic package is ambiguous. The Basic package imports Abstractions::Elements::Element and Abstractions::Comments::Comment. An inheritance relationship and an Association called ownedComment is introduced between Element and Comment in the package Basic. However, these relationships were already defined for these classes in the package Abstractions (see the top two diagrams in Figure 4). Therefore, the complete model of Element and Comment in the Basic package is the model shown in Figure 4, clearly showing a redundant association called ownedComment, and a redundant inheritance relationship between Abstractions::Elements::Element and Comment. Abstractions Element (from Elements) Element (from Comments) Comment (from Comments) Element (from Ownerships) +owningElement 0..1 {subsets owner} ownedComment * {subsets ownedElement} annotatedElement * Basic (after import abstractions) Element (from Comments) Element (from Ownerships) Element (from Elements) Comment (from Comments) +owningElement 0..1 {subsets owner} annotatedElement * 0..1 ownedComment * {subsets ownedElement} +ownedComment 0..n Basic Comment (from Comments) Element (from Elements) +ownedComment 0..n 0..1 <<import>> <<import>> Figure 4 Resolution: Revised Text: Actions taken: January 18, 2006: received issue Discussion: End of Annotations:===== s is issue # 9246 Element and Comment in Basic The definition of the classes Element and Comment in the Basic package is ambiguous. The Basic package imports Abstractions::Elements::Element and Abstractions::Comments::Comment. An inheritance relationship and an Association called ownedComment is introduced between Element and Comment in the package Basic. However, these relationships were already defined for these classes in the package Abstractions (see the top two diagrams in Figure 4). Therefore, the complete model of Element and Comment in the Basic package is the model shown in Figure 4, clearly showing a redundant association called ownedComment, and a redundant inheritance relationship between Abstractions::Elements::Element and Comment. Abstractions Element (from Elements) Element (from Comments) Comment (from Comments) Element (from Ownerships) +owningElement 0..1 {subsets owner} ownedComment * {subsets ownedElement} annotatedElement * Basic (after import abstractions) Element (from Comments) Element (from Ownerships) Element (from Elements) Comment (from Comments) +owningElement 0..1 {subsets owner} annotatedElement * 0..1 ownedComment * {subsets ownedElement} +ownedComment 0..n Basic Comment (from Comments) Element (from Elements) +ownedComment 0..n 0..1 <> <> Figure 4 Issues - UML InfrastructureLibrary.pdf ================================= Jürgen Boldt Director, Member Services Object Management Group, Inc. 140 Kendrick Street Building A, Suite 300 Needham, MA 02494 Tel. +1 781 444 0404 ext. 132 Fax: +1 781 444 0320 email: juergen@omg.org www www.omg.org ================================