UML 2.6 RTF Avatar
  1. OMG Issue

UMLR — Need notation option to show type stereotype on typed element

  • Key: UMLR-181
  • Legacy Issue Number: 14183
  • Status: open  
  • Source: International Business Machines ( Mr. Jim Amsden)
  • Summary:

    A part (property, port, etc.) of a class is a TypedElement and can of course have applied stereotypes of its own. However, it is often useful to know not only the Type of a TypedElement, but how that type is stereotyped. This would provide more complete information about the type that helps communicate the meaning of the model.

    Some tools by default show the stereotypes of a type on parts typed by that type. For example, if Interface Purchasing is stereotyped as <<Provider>>, a port typed by that Interface might be displayed as <<Provider>>purchaser: Purchasing. But this is actually incorrect because it shows <<Provider>> extending a Port while the stereotype is defined to extend Inteface, not Property.

    UML2 should provide a notation option to allow Type stereotype names to be displayed in TypedElements. The example above could be more correctly shown as purchaser: <<Provider>> Purchasing - the stereotype for the interface is next to the interface, on the other side of the colon. If the Port is a <<Service>> port, then that would be shown as <<Service>>purchaser: <<Provider>>Purchasing.

  • Reported: UML 2.5 — Thu, 6 Aug 2009 04:00 GMT
  • Updated: Fri, 6 Mar 2015 20:57 GMT