A Use Case is a set of operations performed by the system being modeled whose purpose is to provide a piece of functionality of value to an Actor. A Use Case can represent a requirement of the system.
On Sequence Diagrams, instances of Use Cases are represented by Probes. A Probe represents the extend or include relationships between Use Cases in Sequence Diagrams and indicate the places where an extend or include Use Case is called.
A uses relationship is used to extract a common course of action. A used Use Case is not aware of what is using it.
An extend relationship models optional parts of use cases and provides additional functionality. An extend use case knows how to insert itself into a basic use case.
You can create a Use Case through the context menu of a Package: right-click the Package, point to New, point to UML, point to Use Case, and then click Use Case. You can also create a Use Case through a Class Diagram, Use Case Diagram or Sequence Diagram.
When used on a Class Diagram or Use Case Diagram, a Use Case's notation is as follows:
In the Modeler panes, a short-cut symbol on the Use Case's icon indicates that the item is a
stub.
If you select the UML\Use Cases folder in the Dictionary pane, the Contents pane displays the following information about each Use Case in the model: Name, Initial Event, Visibility, Package, Changed By and Changed On.
The following sections provide information about how a Use Case is used in the model. For more information about a property, item, model part or diagram, click it.
Dependency — The Dependency is owned jointly by the Use Case and the other associated item. The access permissions you have to a Dependency are determined by the access permissions of the dependent item.
Generalization — The Generalization is owned jointly by the Use Cases it links. The access permissions you have to a Generalization are determined by the access permissions you have to the child Use Case.
In addition to the owning
Package or
Model, a Use Case can be linked to the following items.
Activity — The linked Activity specifies the behavior that is invoked when you create an instance of the Use Case, that is, classifier behavior. The linked Activity must be owned by the Use Case, either directly or indirectly through inheritance. This link can be made through the Classifier Behaviors association on the Items tab of the Use Case's Property Pages.
Actor — The linked Actor performs or exchanges information with the Use Case. This link can be made by linking the items on a Use Case Diagram.
State Machine — The linked State Machine specifies the behavior that is invoked when you create an instance of the Use Case, that is, classifier behavior. The linked State Machine must be owned by the Use Case, either directly or indirectly through inheritance. This link can be made through the Classifier Behaviors association on the Items tab of the Use Case's Property Pages.