You are on page 1of 14

Lect#8

UML Behavioral Modeling


Use Case Diagram
Instructor: Sidra Zubair
Date: 3/3/2020
Behavioral Modeling
• Behavioral diagrams model and specify the
dynamic aspects and evaluate the quality
attributes related to the system behavior
Use Case Diagrams
• Use case diagrams are behavioral diagrams
used to capture, specify, and visualize
required
system behavior.
Elements of Use Case Diagram
• The main elements of use-case diagram are:
• Actors
• Use Cases
• Relationships
Actors
• Actors are entities used to model users or
other systems that interact with the system
being modeled. i-e;
• Operators using the system
• Sensors providing information
• A client computer in a client-server system
• Actors are modeled as stick figures
Use Case
• Use cases are entities used in use-case
diagrams to specify the required behavior of
system.
• They provide the means necessary to capture,
model and visualize the requirements of a
system
• Use-Cases are modeled as named ellipsis
Relationships
Sample Use Case Diagram
Include Relationsip
Extend Relationship
Generalization in Use Case
• The use case generalization refers to
the relationship which can exist between
two use cases and which shows that one use
case (child) inherits the structure, behavior,
and relationships of another actor (parent).
Importance of Use-Case Diagram
• Use Case Diagrams provide valuable means
for establishing a framework for eliciting
requirements, identifying major system
functions, and specifying the context of the
subject being modeled.

You might also like