Issue 10825: ownership of association ends does not matter for traversal in OCL (ocl2-rtf) Source: International Business Machines (Mr. Andreas Maier, maiera@de.ibm.com) Nature: Clarification Severity: Minor Summary: during work on the definition of the UML Profile for CIM (an activity performed jointly between OMG and DMTF), we recently found the following issue with OCL 2. Please record this issue officially and let me know the issue number for it. Issue: No explicit statement that ownership of association ends does not matter for traversal in OCL Nature: Clarification Severity: Minor Summary: The UML Superstructure spec 2.1.1 defines in section 6.5.2 "Diagram Format" that any meta-association has two ends, regardless of whether the ends are owned by the association or the associated classifiers. However, the Superstructure spec only describes those association ends that are owned by the associated classifiers. Furthermore, a major OCL engine (from Eclipse) does not currently support meta-association traversal in OCL towards ends owned by the meta-association. This may leave the impression to some readers that OCL would only support meta-association traversal in the direction of ends owned by the associated classifiers. I understand that the intention is in OCL to support traversal of meta-associations in any direction, regardless of whether the target end is owned by the association or the associated classifier. It would be helpful to state that explicitly in the OCL specification. Resolution: Revised Text: Actions taken: March 17, 2007: received issue Discussion: End of Annotations:===== ubject: OCL 2: No explicit statement that ownership of association ends does not matter for traversal in OCL To: issues@omg.org Cc: Pete Rivett , Branislav Selic , Dusko Misic X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 From: Andreas Maier Date: Sat, 17 Mar 2007 21:22:36 . X-MIMETrack: Serialize by Router on D12ML066/12/M/IBM(Release 7.0.2HF71 | November 3, 2006) at 17/03/2007 21:23:06 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at omg.org Hi, during work on the definition of the UML Profile for CIM (an activity performed jointly between OMG and DMTF), we recently found the following issue with OCL 2. Please record this issue officially and let me know the issue number for it. Issue: No explicit statement that ownership of association ends does not matter for traversal in OCL Nature: Clarification Severity: Minor Summary: The UML Superstructure spec 2.1.1 defines in section 6.5.2 "Diagram Format" that any meta-association has two ends, regardless of whether the ends are owned by the association or the associated classifiers. However, the Superstructure spec only describes those association ends that are owned by the associated classifiers. Furthermore, a major OCL engine (from Eclipse) does not currently support meta-association traversal in OCL towards ends owned by the meta-association. This may leave the impression to some readers that OCL would only support meta-association traversal in the direction of ends owned by the associated classifiers. I understand that the intention is in OCL to support traversal of meta-associations in any direction, regardless of whether the target end is owned by the association or the associated classifier. It would be helpful to state that explicitly in the OCL specification. Andy Andreas Maier IBM Senior Technical Staff Member, Systems Management Architecture & Design IBM Development Laboratory Boeblingen, Germany maiera@de.ibm.com, 7031-16-3654 ________________________________________________________________________________________________ IBM Deutschland Entwicklung GmbH; Vorsitzender des Aufsichtsrats: Johann Weihen, Geschaeftsfuehrung: Herbert Kircher; Sitz der Gesellschaft: Boeblingen, Registergericht: Amtsgericht Stuttgart, HRB 243294