UML Usecase
UML Usecase
UML Usecase
USE CASE
06/03/2023
What is use case diagram
use case diagram is the primary form of system/software requirements for a
new software program underdeveloped. Use cases specify the expected
behavior (what), and not the exact method of making it happen (how). Use
cases once specified can be denoted both textual and visual representation (i.e.
use case diagram). A key concept of use case modeling is that it helps us design
a system from the end user's perspective. It is an effective technique for
communicating system behavior in the user's terms by specifying all externally
visible system behavior.
A use case diagram is usually simple. It does not show the detail of the use
cases:
It only summarizes some of the relationships between use cases, actors, and
systems.
It does not show the order in which steps are performed to achieve the goals of
each use case.
Origin of Use Case
Visual Representation
System function (process - automated or manual)
Named by verb + Noun (or Noun Phrase).
i.e. Do something
Each Actor must be linked to a use case, while some
use cases may not be linked to actors.
• The participation of an actor in a use case is shown
by connecting an actor to a use case by a solid link.
• Actors may be connected to use cases by
associations, indicating that the actor and the use case
communicate with one another using messages.
Communication Link
• The system boundary is potentially the entire system as
defined in the requirements document.
• For large and complex systems, each module may be the
system boundary.
• For example, for an ERP system for an organization, each of
the modules such as personnel, payroll, accounting, etc.
• can form a system boundary for use cases specific to each of
these business functions.
• The entire system can span all of these modules depicting the
overall system boundary
Boundary of system
Structuring Use Case Diagram with Relationships
Extends
• When a use case is depicted as using the functionality of another use case,
the relationship between the use cases is named as include or uses
relationship.
• A use case includes the functionality described in another use case as a part
of its business process flow.
• A uses relationship from base use case to child use case indicates that an
instance of the base use case will include the behavior as specified in the
child use case.
• An include relationship is depicted with a directed arrow having a dotted
line. The tip of arrowhead points to the child use case and the parent use
case connected at the base of the arrow.
• The stereotype "<<include>>" identifies the relationship as an include
relationship.
• Generalization
• Now, check the tips below to see how to apply use case
effectively in your software project.