O'Reilly logo

UML™ Bible by Tom Pender

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 13

Modeling Behavior Using an Activity Diagram

images

In This Chapter

  • Modeling the Activity diagram in UML 1.4
  • Modeling activities and transitions
  • Modeling split and merge of control
  • Modeling fork and join for concurrency
  • Modeling the Activity diagram in UML 2.0
  • Modeling activities, activity groups, actions, and pre- and post conditions
  • Modeling activity edges, object flow, object nodes, exceptions, and streaming
  • Modeling interruptible regions
  • Modeling central buffers and data stores

images

The Activity diagram is often seen as part of the functional view of a system because it describes logical processes, or functions. Each process describes a sequence of tasks and the decisions that govern when and how they are performed. You must understand a process in order to write or generate correct code for a behavior.

images Some authors lump functional and dynamic aspects of modeling together because they both express behavior. However, in teaching these concepts, I find it useful to distinguish logic from interaction. Interactions address net results of processes, that is, net input and output. Functional or logical models address the mechanics of transforming input to output.

Also, functional ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required