UML 1.4 MAILINGLIST Avatar
  1. OMG Issue

UML14 — Super and Infra / Kernel-Classifiers / incorrect hasVisibilityOf definition

  • Key: UML14-512
  • Legacy Issue Number: 7056
  • Status: closed  
  • Source: Malina Software Corp. ( Bran Selic)
  • Summary:

    It seems that there is an issue with the hasVisibilityOf(NamedElement) operation on Classifier. In particular, it doesn't consider visibilities when determining if a member is visible:

    Classifier::hasVisibilityOf(n: NamedElement) : Boolean;
    pre: self.allParents()>collect(c | c.member)>includes
    hasVisibilityOf =true

    One might logically expect the operation to exclude, for example, members with private visibility.

  • Reported: XMI 2.0 — Sun, 29 Feb 2004 05:00 GMT
  • Disposition: Resolved — UML 1.4.2
  • Disposition Summary:

    see above

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