UML 2.2 RTF Avatar
  1. OMG Issue

UML22 — AssociationClass Constraint [1] should be reformulated

  • Key: UML22-1215
  • Legacy Issue Number: 7040
  • Status: closed  
  • Source: PostFinance ( Karl Guggisberg)
  • Summary:

    Constraint [1] should be reformulated as:

    self.endType->excludes(self) and self.endType->collect(c | c.allParents ())>excludes(self) and self.endType>collect(c | c.allChildren())->excludes(self)

    This uses the a query "allChildren" which is not yet defined on Classifier. The following to additional queries should be added to the section "Additional Operations" on page 62:

    [9] children gives the direct specialisations of this classifier

    context Classifier::children():Set(Classifier) result = generalization.specific

    [9] allChildren gives all the directly and indirectly specialized classifiers context Classifier::allChildren():Set(Classifier) result = children->union(children->collect(c | c.allChildren))

  • Reported: UML 2.0 — Mon, 1 Mar 2004 05:00 GMT
  • Disposition: Resolved — UML 2.1
  • Disposition Summary:

    see above

  • Updated: Fri, 6 Mar 2015 22:54 GMT