UML 2.2 RTF Avatar
  1. OMG Issue

UML22 — UML 2 Infra/Metamodel::Constructs/invalid OCL constraint for "opposite"

  • Key: UML22-490
  • Legacy Issue Number: 6201
  • Status: closed  
  • Source: Simula Research Laboratory ( Dr. Bran Selic)
  • Summary:

    Is OCL for InfrastructureLibrary::Core::Constructs::Property::opposite() incorrect? Should it be:
    opposite =
    if owningAssociation->empty() and association.memberEnd->size() = 2 then
    let otherEnd = (association.memberEnd - self)->any() in
    if otherEnd.owningAssociation->empty() then otherEnd else Set{} endif
    else Set {}
    endif

  • Reported: UML 1.5 — Sun, 7 Sep 2003 04:00 GMT
  • Disposition: Resolved — UML 2.1
  • Disposition Summary:

    See issue 8451 for disposition

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