Legacy Issue Number: 13653
Source: Model Driven Solutions ( Steve Cook)
Section 14.3. 18 says “An InteractionUse refers to an Interaction. The InteractionUse is a shorthand for copying the contents of the referred Interaction where the InteractionUse is.” What is the relationship of the Lifelines in the used interaction to those in the using interaction? Are they supposed to be the very same lifeline instances, or are they matched by name?
Reported: UML 2.2 — Mon, 2 Mar 2009 05:00 GMT
Disposition: Resolved — UML 2.3
UML 2.5 added constraints on covered lifelines of interactionUse stating “Lifelines are common if they have
the same selector and represents associationEnd values.” It also clarified that selector values are constrained
to be LiteralString or LiteralInteger
However, it is necessary to fix some Bugs in the new lifeline and interactionUse constraints. Fix constraint
interaction_uses_share_lifeline of lifeline and all_lifelines of interactionUse to ensure coverage of Literal-
Integer Selector value. Also Fix selector_int_or_string constraint to properly cover both LiteralInteger and
LiteralString options for Selector value.
This resolution also incorporates the change from Issue 18465, which proposes changing
: “x.oclIsKindOf(T)->notEmpty()” To: “x.oclIsKindOf(T)’’
Updated: Fri, 6 Mar 2015 20:58 GMT