UML 2.5 FTF Avatar
  1. OMG Issue

UML25 — Location: 9.6.4 Notation p 128 Is return a reserved parameter name?

  • Key: UML25-326
  • Legacy Issue Number: 17908
  • Status: closed  
  • Source: Change Vision ( Michael Chonoles)
  • Summary:

    The return result of the Operation may be expressed as a return parameter, or as the type of the Operation. For example:

    toString(return : String)

    means the same thing as

    toString() : String

    Why is this true. The 1st example, could be interpreted as an operation with a parameter named “return”.

  • Reported: UML 2.4.1 — Wed, 26 Sep 2012 04:00 GMT
  • Disposition: Resolved — UML 2.5
  • Disposition Summary:

    This paragraph is inconsistent with the BNF, ambiguous, misleading, and unnecessary. Delete it.

  • Updated: Fri, 6 Mar 2015 20:59 GMT