UML 2.6 RTF Avatar
  1. OMG Issue

UMLR — All associations ends in the UML2 metamodel itself should be navigable

  • Key: UMLR-81
  • Legacy Issue Number: 9371
  • Status: open  
  • Source: Adaptive ( Mr. Pete Rivett)
  • Summary:

    A) All associations ends in the UML2 metamodel itself should be navigable
    The top of section 6.5.2 states that "An association with one end marked by a navigability arrow means that:
    • the association is navigable in the direction of that end,"

    This does not make sense now that navigability has nothing to do with property ownership and is used in effect to indicate a requirement for efficient access.
    However there is no justification for non-navigability in the context of the UML metamodel itself (which is in effect an application model/specification of a UML tool). Given that most users of UML tools would reasonably expect to do 'where used' navigations/queries with reasonable efficiency then there seems to be no reason for having ends owned by Associations being non-navigable. Furthermore OCL and QVT engines would also expect efficient traversal.
    An important case in point is that currently the association end from an Element to its applied Stereotypes is marked 'non-navigable' using the old notation. While there is an argument for not having a property on the Element itself, navigating the association from Element to its applied Stereotypes is an important access that any tool would require to be very efficient (e.g. to allow the tool to display the stereotype name/icon on diagrams where the element appears).
    When UML2 was designed, the arrows were used to mean property ownership only. We should honor that design intent.

    Proposed resolution:
    At top of section 6.5.2 replace:
    "An association with one end marked by a navigability arrow means that:
    • the association is navigable in the direction of that end,
    • the marked association end is owned by the classifier, and
    • the opposite (unmarked) association end is owned by the association.
    With:
    "An association with one end marked by a navigability arrow means that:
    • the marked association end is owned by the classifier, and
    • the opposite (unmarked) association end is an owned navigable end of the association.

    Alternative resolution:
    Redraw all diagrams to not show the deprecated notation of using navigability arrows to indicate ownership.

  • Reported: UML 2.5 — Thu, 23 Feb 2006 05:00 GMT
  • Updated: Fri, 6 Mar 2015 20:57 GMT