UML 2.6 RTF Avatar
  1. OMG Issue

UMLR — There is no way to specify the behavior of operations which are members of data types

  • Key: UMLR-152
  • Legacy Issue Number: 13165
  • Status: open  
  • Source: Anonymous
  • Summary:

    I would like to bring to your attention (as the contact person for the UML standard) a small bug we found with the UML specification: There is no way to specify the behavior of operations which are members of data types such as enumerations. Such operations can be modeled in UML, since each classifier can have operations, and this is useful to describe, e.g. Java enumeration operations. However, they cannot be assigned method behaviors, since nested behavior can only be added to classes.
    One solution to this would be allowing to nest classifiers in data types - i.e. to copy the association nestedClassifier: Classifier [*] to DataType (just as was done for case for ownedOperation : Operation [*]).

  • Reported: UML 2.5 — Thu, 18 Dec 2008 05:00 GMT
  • Updated: Fri, 6 Mar 2015 20:57 GMT