Previous UML Classes Table of Contents UML Packages Next


12.4 Diagrams

   The focus of activity modeling is the sequence and conditions for coordinating lower-level behaviors, rather than which classifiers own those behaviors. These are commonly called control flow and object flow models. The behaviors coordinated by these models can be initiated because other behaviors finish executing, because objects and data become available, or because events occur external to the flow. See 12.3.4, Activity (from BasicActivities , CompleteActivities , FundamentalActivities , StructuredActivities), on page 328 for more introduction and semantic framework.

   The notation for activities is optional. A textual notation may be used instead.

   The following sections describe the graphic nodes and paths that may be shown in activity diagrams.

   Graphic Nodes

    The graphic nodes that can be included in activity diagrams are shown in Table 12.1 .

   Table 12.1 - Graphic nodes included in activity diagrams

Node Type

Notation

Reference

AcceptEventAction

See AcceptEventAction (as specialized) on page 321.
Action

See Action (from CompleteActivities , FundamentalActivities , StructuredActivities) on page 323.
ActivityFinal

See ActivityFinalNode (from BasicActivities , IntermediateActivities ) on page 343.

   Table 12.1 - Graphic nodes included in activity diagrams Table 12.1 - Graphic nodes included in activity diagrams

Node Type

Notation

Reference

ActivityNode See ExecutableNode , ControlNode , and ObjectNode. See ActivityNode (from BasicActivities , CompleteActivities , FundamentalActivities , IntermediateActivities , CompleteStructuredActivities ) on page 347.
ControlNode See DecisionNode , FinalNode, ForkNode , InitialNode , JoinNode , and MergeNode . See ControlNode (from BasicActivities ) on page 371.
DataStore <<datastore>> See DataStoreNode (from CompleteActivities ) on page 373.
DecisionNode . . . See DecisionNode (from IntermediateActivities ) on page 375.
FinalNode See ActivityFinal and FlowFinal. See FinalNode (from IntermediateActivities ) on page 387.
FlowFinal

See FlowFinalNode (from IntermediateActivities ) on page 389.
ForkNode . . . See ForkNode (from IntermediateActivities ) on page 390.
InitialNode

See InitialNode (from BasicActivities ) on page 392.
JoinNode . . . See JoinNode (from CompleteActivities , IntermediateActivities ) on page 396.
MergeNode . . . See MergeNode (from IntermediateActivities ) on page 402.

Node Type

Notation

Reference

ObjectNode

See ObjectNode (from BasicActivities , CompleteActivities ) on page 408 and its children.
SendSignalAction

See SendSignalAction (as specialized) on page 423.

   Graphic Paths

   The graphic paths that can be included in activity diagrams are shown in Table 12.2

   Table 12.2 - Graphic paths included in activity diagrams

Path Type

Reference

ActivityEdge See ControlFlow and ObjectFlow . See ActivityEdge (from BasicActivities , CompleteActivities , CompleteStructuredActivities , IntermediateActivities ) on page 338.
ControlFlow

See ControlFlow (from BasicActivities ) on page 370.
ObjectFlow

See ObjectFlow (from BasicActivities , CompleteActivities ) on page 403 and its children.

   Other Graphical Elements

    Activity diagrams have graphical elements for containment. These are included in Table 12.3.

   Table 12.3 - Graphic elements for containment in activity diagrams

Type

Notation

Reference

Activity Activity name ... ... ... Parameter name: type See Activity (from BasicActivities , CompleteActivities , FundamentalActivities , StructuredActivities) on page 328.
ActivityPartition P a r t i t i o n N a m e invocation (Partition Name) See ActivityPartition (from IntermediateActivities ) on page 353.
InterruptibleActivityRegion

See InterruptibleActivityRegion (from CompleteActivities ) on page 394.
ExceptionHandler

See ExceptionHandler (from ExtraStructuredActivities ) on page 377.
ExpansionRegion

ExpansionRegion (from ExtraStructuredActivities ) on page 382

   Table 12.3 - Graphic elements for containment in activity diagrams

Local pre- and postconditions. ParameterSet Type

Notation

«localPrecondition» constraint name «localPostcondition» constraint

See Action (from CompleteActivities , FundamentalActivities , StructuredActivities) on page 323. See ParameterSet (from CompleteActivities ) on page 414. Reference