Previous UML Classes Table of Contents UML Packages Next


12.3.29 FlowFinalNode

IntermediateActivities


   A flow final node is a final node that terminates a flow.

*Generalizations

   • FinalNode (from IntermediateActivities ) on page 387

*Description

   A flow final destroys all tokens that arrive at it. It has no effect on other flows in the activity.

*Attributes

   No additional attributes

*Associations

   No additional associations

*Constraints

   No additional constraints

*Semantics

   Flow final destroys tokens flowing into it.

*Notation

   The notation for flow final is illustrated below.


   Figure 12.92 - Flow final notation

*Examples

   In the example below, it is assumed that many components can be built and installed. Here, the Build Component behavior occurs iteratively for each component. When the last component is built, the end of the building iteration is indicated with a flow final. However, even though all component building has come to an end, other behaviors are still executing (such as Install Component).


   [more components componentsto be built] to be built]

   Figure 12.93 - Flow final example without merge edge

   Flow final nodes are introduced to model termination of a flow in an activity.

*Changes from previous UML

   Flow final is new in UML 2.0.