UML 2.2 RTF Avatar
  1. OMG Issue

UML22 — Element and Comment in Basic

  • Key: UML22-182
  • Legacy Issue Number: 9246
  • Status: closed  
  • Source: Capgemini ( Anneke Kleppe)
  • 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

  • Reported: UML 2.0 — Wed, 18 Jan 2006 05:00 GMT
  • Disposition: Resolved — UML 2.2
  • Disposition Summary:

    Discussion
    This issue has already been resolved by, or no longer applies to, the UML 2.5 Beta 1 specification.
    Disposition: Closed - No Change

  • Updated: Fri, 6 Mar 2015 20:58 GMT