Professional Documents
Culture Documents
Using Use Case Diagrams
Using Use Case Diagrams
1
Use Case name
2
Specifying the Behavior of a Use Case
3
Actors name
5
Example of Use Case Diagram
registration
updating
grades
student faculty
ניתוח מערכות מידע
output
generating
6
Relationships between Use Cases
7
1. Generalization
8
More about Generalization
registration
non-graduate graduate
registration registration
ניתוח מערכות מידע
9
2. Include
10
More about Include
student id
output <<include>>
generating
11
3. Extend
12
More about Extend
<<extend>> Exam-grade
Exam copy
appeal
ניתוח מערכות מידע
request
13
Relationships between Actors
Generalization.
student
ניתוח מערכות מידע
graduate non-graduate
student student
14
Relationships between Use Cases
and Actors
updating
grades
faculty
15
Example
place
place <<extend>>
conference
phone call
call
cellular
network receive
receive <<extend>>
additional
phone call
call
ניתוח מערכות מידע
use
user scheduler
Cellular Telephone
16
A More Complicate Example
Update Items
Bookshop
Worker
Ship Order
Register Details
<<include>>
System Login
<<extend>>
Handle Order
<<include>>
<<include>> Update Customer Details
17
Make Order Add Items to ShoppingCart
Use Case Description
:Each use case may include all or part of the following
Title or Reference Name - meaningful name of the UC
Author/Date - the author and creation date
Modification/Date - last modification and its date
Purpose - specifies the goal to be achieved
Overview - short description of the processes
Cross References - requirements references
Actors - agents participating
Pre Conditions - must be true to allow execution
ניתוח מערכות מידע
19
Example- Money Withdraw (cont.)
Actors: Customer
Pre Condition:
– The ATM must be in a state ready to accept transactions
– The ATM must have at least some cash on hand that it can
dispense
– The ATM must have enough paper to print a receipt for at least
one transaction
Post Condition:
ניתוח מערכות מידע
20
Example- Money Withdraw (cont.)
Typical Course of events:
System Actions Actor Actions
1. Begins when a Customer arrives at ATM
3. System verifies the customer ID and status 2. Customer inserts a Credit card into ATM
21
Example- Money Withdraw (cont.)
22
Example- Money Withdraw (cont.)
- What use cases will create, store, change, remove, or read this information ?
- Will any actor need to inform the system about sudden, external changes ?
- Does any actor need to be informed about certain occurrences in the system ?
- Can all functional requirements be performed by the use cases ?
23
Moving on
24