Activity (UML) explained

An activity in Unified Modeling Language (UML) is a major task that must take place in order to fulfill an operation contract. The Student Guide to Object-Oriented Development defines an activity as a "sequence of activities that make up a process."[1] Activities can be represented in activity diagrams. The word Activity is often confused with that of Action, which describes a step within an activity.[2]

An activity can represent:

Activities can be decomposed into subactivities, until at the bottom we find atomic actions.

The entire activity can be enclosed in a rounded rectangle called an "Activity Frame", with the name of the activity listed in the upper left corner, although it is often omitted.

The underlying conception of an activity has changed between UML 1.5 and UML 2.0. In UML 2.0 an activity is no longer based on the state-chart rather it is based on a Petri net like coordination mechanism. There the activity represents user-defined behavior coordinating actions. Actions in turn are pre-defined (UML offers a series of actions for this).

Literature

Notes and References

  1. Book: Britton . Carol . Doake . Jill . A Student Guide to Object-Oriented Development . 21 August 2004 . Elsevier . 978-0-08-054204-1 . 15 . en.
  2. Book: Miles . Russell . Hamilton . Kim . McLaughlin . Brett . O'Brien . Mary T. . Learning UML 2.0: a pragmatic introduction to UML . 2006 . O'Reilly . Beijing Köln . 978-0-596-00982-3 . 1..