Chapter 5 Building Dynamic Diagrams


Decomposed activities and sub-activities

A decomposed activity is an activity that contains sub-activities. It is equivalent to a SubactivityState and an activity graph in UML.

The decomposed activity symbol has a special icon in its bottom right-hand corner.


There is no limitation on the number of decompositions. A sub-activity can itself be decomposed into further sub-activities, and so on.

The decomposed activity behaves like a specialized package or container, and always contains a sub-activity diagram.

Note   Including decomposed activities
To display all activities in the List of Activities, including those belonging to decomposed activities, click the Include Composite Activities tool.

You can create several sub-activity diagrams within a decomposed activity, but this is not recommended because being in a sub-activity diagram means being within the context of an activity. Unless you want to design some exception cases like error management for example, it would not be consistent to create too many sub-activity diagrams within a decomposed activity.

You cannot create a package or any other UML diagram type in a decomposed activity, but you can use shortcuts to packages.

 


Copyright (C) 2006. Sybase Inc. All rights reserved.