ibm Rational Rhapsody 7.5 — Interaction operator types

Sequence diagrams Adding an interaction operand separator to an interaction operator For certain types of interaction types, you might want to create two subgroups of elements, for example, if you have two paths that are supposed to be carried out in parallel, or you want to define two possible paths and a condition that determines which will be followed. To create an interaction operand separator: 1. Select the Interaction Operand Separator button on the Diagram Tools . 2. Click inside the interaction operator where you would like the division to be. If necessary, more than one separator can be added to a single interaction operator.

Note Interaction operators (and interaction operand separators) only appear in the diagram itself. They do not appear as independent model elements in the browser, nor do they influence code generation. For this reason, when you display the context menu for an interaction operator, there is an option to Delete From View but no option for removing from the model. Interaction operator types These are some of the common types of interaction operators:

Љ Alt for (Alternative) multiple fragments; only the one whose condition is true will execute Љ Opt for (Optional) fragment executes only if the specified condition is true Љ Par for (Parallel) each of the contained fragments is run in parallel Љ Loop for the fragment might execute multiple times; guard indicates the basis for iteration 702 User Guide