UML 1.4 NO IDEA Avatar
  1. OMG Issue

UML14 — OCL specification 1.1, p. 10, 5.4.3, example 3

  • Key: UML14-732
  • Legacy Issue Number: 1103
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: Since both expressions start in the same object and one
    person can"t have both a wife and a husband, the expression will
    never give the result true, only false or undefined

    Here one could instead use the syntax of example 1:
    self.wife->nonempty implies self.wife.sex = #female and
    self.husband->nonempty implies self.husband.sex = #male

  • Reported: UML 1.1 — Thu, 26 Mar 1998 05:00 GMT
  • Disposition: Resolved — UML 1.2
  • Disposition Summary:

    Fixed in UML 1.3.

  • Updated: Fri, 6 Mar 2015 21:35 GMT