ibm Rational Rhapsody 7.5 — Message types

Sequence diagrams Triggered operations A triggered operation can trigger a state transition in a statechart, just like an event. The body of the triggered operation is executed as a result of the transition being taken. The browser icon for a triggered operation is a green operation box overlaid with a lightning bolt. Note If an argument of a triggered operation is of type *& (pointer reference), Rational Rhapsody will not generate code for that argument. Operations By default, operations are primitive operations. Primitive operations are those whose bodies you define yourself instead of letting Rational Rhapsody generate them for you from a statechart.

The browser icon for operations is a three-compartment class box with the bottom compartment filled in: The icon for the Operations category is black. The icon for an individual operation is green. The icon for a protected operation is overlaid with a key. The icon for a private operation is overlaid with a padlock. Deleting operations You delete an operation like any other model element in Rational Rhapsody. However, if you delete an operation that is realized by a message in a sequence diagram, the message becomes unspecified (in both design and analysis modes). If you delete an operation, class, or event, the corresponding message lines are not deleted automatically from the diagram.

To have Rational Rhapsody perform this cleanup automatically, set the SequenceDiagram::General::CleanupRealized property to Checked . 688 User Guide