Chapter 4 Building Use Case Diagrams


Use Case Diagram Basics

A use case diagram is a high level UML diagram for analyzing requirements and system behavior. It is part of an Object-Oriented Model (OOM), and graphically models the functionality of the system in the form of use cases, and how outside users, called actors, interact with them.

With a use case diagram, you immediately see a snapshot of the system functionality. Further details can later be added to the diagram if you need to elucidate interesting points in the system behavior.

A use case diagram is well suited to the task of describing all of the things that can be done with a database system by all the people who might use it. However, it would be poorly suited to describing the TCP/IP network protocol because there are many exception cases, branching behaviors, and conditional functionality (what happens when the connection dies, what happens when a packet is lost?)

Example

This example shows the use case of a camera. The actor "photographer" does two things with the camera: take pictures and change the film. When he takes a picture, he has to switch the flash on, open the shutter, and then close the shutter but these activities are not of a high enough level to be represented in a use case.


 


Copyright (C) 2006. Sybase Inc. All rights reserved.