This article needs additional citations for verification. (May 2024) |
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:
- The invocation of an operation.
- A step in a business process.
- An entire business process.
Activities can be decomposed into subactivities, until at the bottom we find atomic actions.[2]
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
edit- Conrad Bock: UML 2 Activity and Action Models, in Journal of Object Technology, vol. 2, no. 4, July-August 2003, pp. 43-53
- Conrad Bock: UML 2 Activity and Action Models Part 2: Actions, in Journal of Object Technology, vol. 2, no. 5, pp. 41-56
- Conrad Bock: UML 2 Activity and Action Models Part 3: Control Nodes, in Journal of Object Technology, vol. 2, no. 6, pp. 7-23
- Conrad Bock: UML 2 Activity and Action Models Part 4: Object Nodes, in Journal of Object Technology, vol. 3, no. 1, pp. 27-41
References
edit- ^ Britton, Carol; Doake, Jill (21 August 2004). A Student Guide to Object-Oriented Development. Elsevier. p. 15. ISBN 978-0-08-054204-1.
- ^ a b Miles, Russell; Hamilton, Kim (2006). McLaughlin, Brett; O'Brien, Mary T. (eds.). Learning UML 2.0: a pragmatic introduction to UML (1. ed.). Beijing Köln: O'Reilly. pp. 46–47. ISBN 978-0-596-00982-3.