UML 2.5 FTF Avatar
  1. OMG Issue

UML25 — Redefinition does not allow for overloading

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

    Feature redefinitions may either be explicitly notated with the use of a

    {redefines <x>}

    property string on the Feature or implicitly by having a Feature with the same name as another Feature in one of the owning Classifier’s more general Classifiers. In both cases, the redefined Feature shall conform to the compatibility constraint on the redefinitions.

    By allowing reuse of the name to cause redefinition, you prevent overloading. A class should be allowed to more than one operation with the same name with different argument lists.

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

    We should be more precise and require a compatible signature as well as the same name

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