Académique Documents
Professionnel Documents
Culture Documents
Chapter 3
Name of System
Use-cases
a description of a set of sequence of actions, including
variants that the system performs to yield an observable
value to an actor
a set of scenarios
Actor
representing a role that someone might play, rather than
a particular individual
external entity that has interest in interacting with the
system
Interaction
a communication relation between an actor and a use
case
UseCase 3
User 2
Library User
Student Lecturer
Include Extends
specifies that the source use case specifies that the target use case
(A) explicitly incorporates the (B) extends the behaviour of the
behaviour of the target (B) source (A)
<<include>> <<extends>>
Extension points
A B A B
Check password
Place order <<uses>>
Extension points
set priority Vaildate user
Retinal scan
Library
Member <<extend>>
Borrow a
over limit Refuse
copy of book Librarian
loan
Reserve a book
Return a
e>>
copy of book <<includ
e>>
d
in clu
Member of <<
Staff Extend loan
<<
ude
>>
inc
<<
Give product
lud
nci
information
e>
lu
Customer
>
de
Cancel order <<i
>>
ncl
ude
>>
<< Update
in
cl account
Return ud Inventory
product e> system
<<i >
nclu
de>
> Update product
quantities
Get status
on order
Accounting
Sales Rep
system
Run sales
report
Select
Register for courses to
courses teach
Student
Request Lecturer
course roster
Billing system Create
course Maintain
catalogue course’s infor.
Maintain Maintain
information lecturer’s infor.
Registrar
Maintain
student’s infor
Actor 2 UseCase 3
Class 2 Class 1
Class State
diagram diagram
Class 3 Class 4
<<Actor>> state 1
User c2: object c3: object
Sequence
0: event state 2
diagram
1: operation 2: operation
Object-Oriented Software Systems Engineering – Chapter 3 Slide 17
UseCase 1
Actor 1
Use Case UseCase 2
diagram Manager
Actor 2 UseCase 3
Class 2 Class 1
Class
diagram State
Class 3 Class 4 diagram
<<Actor>> state 1
User c2: object c3: object
Sequence
0: event state 2
diagram
1: operation 2: operation
Object-Oriented Software Systems Engineering – Chapter 3 Slide 18
Use Case