OCL 2.5 RTF Avatar
  1. OMG Issue

OCL25 — OCL 2.1 11.7 Missing OrderedSet::excluding and including

  • Key: OCL25-93
  • Legacy Issue Number: 14983
  • Status: open  
  • Source: Model Driven Solutions ( Dr. Edward Willink)
  • Summary:

    excluding and including are defined for Bag, Sequence and Set but not OrderedSet or Collection.

    The Collections would be more consistent with an OrderedSet::excluding and an OrderedSet::including.

    With all concrete Collection types defining excluding and including, the abstract Collection could also
    define Collection ::excluding and an Collection ::including supporting fully polymorphic addition and
    querying of collections.

  • Reported: OCL 2.1 — Sun, 17 Jan 2010 05:00 GMT
  • Updated: Thu, 8 Oct 2015 14:12 GMT