Sequence diagram interaction references (guarded messages)

In Rational® XDE, you can place guard conditions on sequence diagram messages, interaction references, and local actions. However, in UML 2.0, this construct has changed and is now called a combined fragment.

Interaction references before import

In the following figures, the before figures represent XDE, while the after figures represent the same diagram or construct in the Rational modeling products after import.

Note: Call actions and guard conditions on sequence (interaction) diagrams import as comments. By default, after import, call actions and guard conditions do not appear in the diagram editor.

For additional information, refer to the combined fragments help topic.

XDE diagram that contains interaction references (guarded messages).

Interaction references after import

There are several things to understand about the imported diagram below:
  • The diagram below was slightly manipulated after import to properly show the optional call to LocalAction1.
  • Constraints and text do not show up at precisely the same Y-coordinate as they did in XDE; however, their position should be close.
  • Note attachments (the dashed arrow) do not show after import if the attached shape resides in a nested scope (inside a combined fragment).
Imported diagram that contains combinded fragments as guard conditions.

Feedback