Professional Documents
Culture Documents
d li
What is UML?
Class Diagram
Collaboration Diagram
g
Deployment Diagram
State Diagram
employer
employee
client
li
7
Actors
Human
Peripheral device (hardware)
External system or subsystem
Ti
Time
or time-based
i
b d event
Borrow
Reserve
B
Boundary
d
Actor
Library System
Borrow
Employee
Client
Order Title
Fine Remittance
Supervisor
Finding Actors
11
12
Use Cases
Here is a scenario for a medical clinic.
checkup.
h k
The
Th receptionist
i i finds
fi d the
h nearest empty time
i
slot
l in
i
the appointment book and schedules the appointment for that
time slot. "
Use Cases
Student
View grades
Teacher
Distribute
Report cards
Create report
cards
Printing administrator
16
system
user
del member
add subject
academic
del subject
assg subject
unass subject
enrol subject
unenrol subject
student
17
system name
ATM System
system boundary
1
Withd
Withdraw
Money
Bank
Customer
2
Deposit
Money
3
Transfer
Money
association
use case
4
Ch k
Check
Balance
Customer
Accounts
Database
Sub-use
Sub
use Case Diagram
ag a
<<extend>>
(1a)
Withd
Withdraw
from
f
Current
1
Withdraw
Money
Bank
Customer
<<extend>>
(1b)
Withdraw from
Savings
Customer
Accounts
D b
Database
Sub-use
Sub
use Case Diagram
ag a
1a
Withd
Withdraw
from
f
Current
1
Withdraw
Money
Bank
Customer
1b
Withdraw from
Savings
generalization
Customer
Accounts
D b
Database
20
Sub-use
Sub
use Case Diagram
ag a
<<include>>
(3a)
S l t
Select
Accounts
3
Transfer
Money
Bank
Customer
<<include>>
(3b)
Update Account
Balances
Customer
Accounts
D b
Database
21
Inclusion
Extension
Generalization
22
actor
Syntax
UseCaseName
ActorName
system
boundary
Description
Syntax
association
<<extend>>
Description
include
Syntax
<<include>>
From
o Use
U Case
a to
o Classes
a
26