What Are Use Cases?

use cases and use case diagrams

Use Cases are an initial step in the system development process to help define the behavior of a system or program. This is generally accomplished by eliciting stakeholders about their needs with a Use Case diagram.

Use Case Diagram Primary Elements

The primary elements utilized on a Use Case Diagram are Actors, Blocks, or Use Case Objects. Understanding when and where to use each of these elements is key for developing comprehensive use case diagrams.

use cases actor

An actor represents someone or something that has an external interface with a system. The name of an actor conveys a role played by a person, an organization, or another system when it interacts with a system.

A Block is a modular unit that describes the structure of a system or element. It may include both structural and behavioral features, such as properties and operations.

use cases block
use case

A Use Case object describes the expected functionality of a system.

Relationships for Use Cases

On a Use Case Diagram, Actors may interact directly or indirectly with the system of interest. The relationships created between actors and use cases represent the communication that occur. The four relationships that are primarily used on Use Case Diagrams are Communication, Include, Extend and Generalization.

A communication path represents an association between two Deployment Targets. It connects actors to use cases.

use cases communication
include

An include relationship identifies a common functionality that is shared among multiple use cases and always performed as part of the base use case.

An extend relationship provides an optional functionality, which extends the base use case at defined extension points under specified conditions.

extend
generalization

A generalization relationship provides a way to specify variants of the base use case.

Actor Roles

There are two different roles for an actor, primary and secondary. Primary Actors are actors using the system to achieve a goal. Secondary Actors are actors that the system needs assistance from to achieve the primary actor’s goal.

Secondary actors are optional but using them provides more meaning to a use case diagram.


2 thoughts on “What Are Use Cases?

  1. Pingback: Actor - Beyond MBSE

  2. Pingback: Implementing Use Cases - Beyond MBSE

Leave a Reply

Your email address will not be published. Required fields are marked *