Issue 13165: There is no way to specify the behavior of operations which are members of data types (uml2-rtf) Source: (, ) Nature: Uncategorized Issue Severity: 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 [*]). Resolution: Revised Text: Actions taken: December 18, 2008: received issue Discussion: End of Annotations:===== iler: QUALCOMM Windows Eudora Version 6.2.1.2 Date: Thu, 18 Dec 2008 11:34:47 -0500 To: Juergen Boldt From: Linda Heaton Subject: Fwd: A small UML problem issue? To: linda@omg.org Subject: A small UML problem X-KeepSent: 2B6DB4DB:718BF072-C2257523:0054F372; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.0.1 February 07, 2008 From: Dolev Dotan Date: Thu, 18 Dec 2008 17:43:33 +0200 X-MIMETrack: Serialize by Router on D12ML102/12/M/IBM(Release 8.0.1|February 07, 2008) at 18/12/2008 17:43:32, Serialize complete at 18/12/2008 17:43:32 Hi Linda, 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 [*]). Regards, Dolev Dotan Model Driven Engineering Technologies IBM Haifa Research Laboratory