Behavior : Activity Diagrams - Object Flows/Edges

8 important questions on Behavior : Activity Diagrams - Object Flows/Edges

Our previous examples have been concentrating on ...... Flows.
We need to explaint how to model ..... Flows to have the complete capability to describe or design software intensive systems.

Our previous examples have been concentrating on Control Flows.
We need to explaint how to model Data Flows to have the complete capability to describe or design software intensive systems.

Objects Flows have the capability to .... ?

To describe or design software intensive systems.


Normally, control tokens on edge can determine when a behavior can be allowed to start, but most software-oriented behavior requires data to be passed to the behaviors.

An object node is depicted by a ....

Rectangle
  • Higher grades + faster learning
  • Never study anything twice
  • 100% sure, 100% understanding
Discover Study Smart

There are two different notations to show object edges / flows.
Which one?

you can see two alternative approaches to showing object edges/flows, all utilizing a form of a rectangle.

Which format do we use in this diagram and when do you use this approach?

In the lower half of Fig. 16.23, we use the OBJECT PIN format.

This is also a type of object node best used to indicate the form and multiplicity for a PARAMETER.

What is the difference between control flows and object flows?

One of the differences between control flows and object flows is that UML has the ability to specify on object flows:

  • delays
  • multicast/copying of tokens
  • ordering (e.g., FIFO, LIFO)
  • selection of tokens by data value/conditions
  • and transformations.

What is a Join?

  • Control Node


  • When all the input flows (along with their tokens) arrive at the Join, an output flow is emitted (with its token) on the output edge

  • This eliminates all but one of the tokens arriving

  • If not all of the edges have tokens, processing cannot continue and hangs at the Join

What is a Flow Final?

  • Control Node

  • Any token reaching the Flow Final is destroyed (i.e., consumed); however, if there are more active tokens in the diagram, execution is continued until they are also consumed 

The question on the page originate from the summary of the following study material:

  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo