1
Use Case Diagram Examples
Created by using Visual Paradigm 10.2
2
Use Cases Management
●Rank Use Cases● The rank of a Use Case is determined by looking at its
business value
● Ranking Levels: High, Medium, Low
3
Use Cases Management
●Prioritize Use Cases● Is to determine which Use Case(s) to work on first
● The priority of a Use Case is determined by factors following:● Business Value of Use Case● Availability of developers● Dependency between Use Case● List of risk
4
Use Cases Management
●Setting Use Cases’ status● The status of a Use Case is about how much the use
case is completed
5
Use Case Specification
●Flow of Events● Describe the scenarios of Use Case
● Example:● Use Case: Buy Book
1. loop
1.1 Browse book details
1.2 Add the book to shopping cart
until finish shopping
2. Member call check out
3. List out books in shopping cart
extension 3.1 Change quantity of books
3.2 Confirm books to buy
4. Request shipping details …
6
Use Case Specification
● Keywords for defining flow of events
extension: Enter extension for the selected step.if: Enter conditional situation for the selected step.else if: Insert another situation under If.else: Insert it to control If and Else if.
clear control, go to previous condition and go to end.while: Perform some actions as long as the condition stated in the while clause is valid.for each: Perform some actions by walking through each item as stated by the for each clause.loop until: Perform some actions until condition stated in loop remaining valid.exit: Exit in the middle of loop.jump: Insert jump to manipulate the sub-step after the variable situation happened
7
UML Diagram
Diagram III
Sequence Diagram
● What is Lifeline? Messages? Combine Fragments?
● Sequence Diagram elements
8
Sequence Diagram
●A Sequence Diagram models the collaboration of objects based on a time sequence. It shows how the objects interact with others in a particular scenario of a use case.
9
Sequence Diagram
● Elements
● Lifeline ● A lifeline represents an individual participant in the
interaction. ● A lifeline may represent an Actor, an Object, an
Entity, a Control, a Boundary● Notation:
10
Sequence Diagram
●Elements● Message
● A message defines a particular communication between Lifelines of an Interaction.
● Types of messages: Send message, Self message, Return message, Call message, etc.
● Notation:
11
Sequence Diagram
● Elements
● Alternative Combined Fragment ● An alternative combined fragment represents a
choice of behavior. At most one of the operands will be chosen.
● Notation:
12
Sequence Diagram
● Elements
● Loop Combined Fragment ● A loop combined fragment represents a loop. The
loop operand will be repeated a number of times.● Notation:
13
Sequence Diagram
Top Related