ibm Rational Rhapsody 7.5 — Actions

Activity diagrams Љ Reference activities references an activity in another activity chart, or to the entire activity chart itself. Advanced features of activity diagrams You might also use these advanced features of the activity diagrams:

Љ Naming and renaming activity diagrams Љ Include an activity diagram, but not a statechart, with a package without creating a class Љ Support multiple activities in a package Љ Associate an object node with a class Љ Create Adding call behaviors in the activity diagram or by dropping an operation from the browser into the diagram Љ Swimlane association (representing field population) to a class (only) can be created by dragging the class from the browser to the Swimlane name compartment. For more information, see Swimlanes .

Љ Reference an alternate activity diagram within the main behavior activity diagram Actions Activity diagrams are flowcharts that decompose a system into activities that correspond to states. These diagrammatic elements, called actions , are member function calls within a given operation. In contrast to normal states (as in statecharts), actions in activity diagrams terminate on completion of the activity, rather than as a reaction to an externally generated event. Each action can have an entry action, and must have at least one outgoing activity flow. The implicit event trigger on the outgoing activity flow is the completion of the entry action.

If the action has several outgoing transitions, each must have its own guard condition. Actions have the following constraints: Љ Outgoing transitions from actions do not include an event signature. They can include guard conditions and actions. Љ Actions have non-empty entry actions. Љ Actions do not have internal transitions or exit actions, nor do activities. Љ Outgoing transitions on actions have no triggering events. 622 User Guide