Issue 10635: Presentation option for return parameter for operation type are incomplete (uml2-rtf) Source: International Business Machines (Mr. Jim Amsden, jamsden(at)us.ibm.com) Nature: Uncategorized Issue Severity: Summary: Section 7.3.36 Operation, under Presentation Options explains notation options for expressing the return value of an Operation. The example is: toString(): String means the same thing as toString(return: String) This should also be the same as: toString(return result: String) That is, the default name of the return parameter is "result". This is to be consistent with OCL's reference to the result of an operation in a post condition, and to allow a behavior to be able to refer to a return parameter by name. Resolution: Revised Text: Actions taken: January 29, 2007: received issue Discussion: End of Annotations:===== ubject: UML2: Presentation option for return parameter for operation type are incomplete X-Mailer: Lotus Notes Release 7.0 August 18, 2005 From: Jim Amsden Date: Mon, 29 Jan 2007 08:08:58 -0500 X-MIMETrack: Serialize by Router on D03NM118/03/M/IBM(Release 7.0.2HF32 | October 17, 2006) at 01/29/2007 06:08:58, Serialize complete at 01/29/2007 06:08:58 Section 7.3.36 Operation, under Presentation Options explains notation options for expressing the return value of an Operation. The example is: toString(): String means the same thing as toString(return: String) This should also be the same as: toString(return result: String) That is, the default name of the return parameter is "result". This is to be consistent with OCL's reference to the result of an operation in a post condition, and to allow a behavior to be able to refer to a return parameter by name.