Issue 19351: Incorrect OrderedSet returns (uml2-rtf) Source: Model Driven Solutions (Dr. Edward Willink, ed(at)willink.me.uk) Nature: Clarification Severity: Minor Summary: The OCL for StructuredClassifier::part() and Operation::results() retuirns a projection of an OrderedSet and so itself returns an OrderedSet. However the operations are declared to return Sets. Suggest adding ->asSet() to discard the ordering prior to return. Resolution: Revised Text: Actions taken: April 22, 2014: received issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 22 Apr 2014 09:15:40 -0400 To: Subject: Issue/Bug Report ******************************************************************************* Name: Edward Willink Employer: mailFrom: ed@willink.me.uk Terms_Agreement: I agree Specification: UML 2.5 Section: 11.8 FormalNumber: UML 2.5 Version: UML 2.5 Doc_Year: Year Doc_Month: Month Doc_Day: Day Page: 242 Title: Incorrect OrderedSet returns Nature: Clarification Severity: Minor CODE: 3TMw8 B1: Report Issue Remote Name: edwillink.plus.com Remote User: HTTP User Agent: Mozilla/5.0 (Windows NT 6.0; rv:28.0) Gecko/20100101 Firefox/28.0 Time: 09:15 AM Description: The OCL for StructuredClassifier::part() and Operation::results() retuirns a projection of an OrderedSet and so itself returns an OrderedSet. However the operations are declared to return Sets. Suggest adding ->asSet() to discard the ordering prior to return.