Previous UML Classes Table of Contents UML Packages Next


12.3.16 CentralBufferNode

IntermediateActivities


   A central buffer node is an object node for managing flows from multiple sources and destinations.

*Generalizations

   • ObjectNode (from BasicActivities , CompleteActivities ) on page 408

*Description

   A central buffer node accepts tokens from upstream object nodes and passes them along to downstream object nodes. They act as a buffer for multiple in flows and out flows from other object nodes. They do not connect directly to actions.

*Attributes

   No additional attributes

*Associations

   No additional associations

*Semantics

   See semantics at ObjectNode. All object nodes have buffer functionality, but central buffers differ in that they are not tied to an action as pins are, or to an activity as activity parameter nodes are. See example below.

*Notation

Issue 8233 -put in correct figure references

   See notation at ObjectNode. A central buffer may also have the keyword «centralBuffer» as shown below. This is useful when it needs to be distinguished from the standalone notation for pins shown on at the top of Figure 12.120 and Figure

    12.127 .

   «centralBuffer»

   Figure 12.68 - Optional central buffer notation

*Examples

   In the example below, the behaviors for making parts at two factories produce finished parts. The central buffer node collects the parts, and behaviors after it in the flow use them as needed. All the parts that are not used will be packed as spares, and vice versa, because each token can only be drawn from the object node by one outgoing edge. The choice in this example is non-deterministic.

   Part Part

Figure 12.69 - Central buffer node example

   [Finished]

   Part

   [Finished]

   Central buffer nodes give additional support for queuing and competition between flowing objects.

*Changes from previous UML

   CentralBufferNode is new in UML 2.0.