Professional Documents
Culture Documents
Use Case Diagram: Pertemuan 12 - APS
Use Case Diagram: Pertemuan 12 - APS
Pertemuan 12 - APS
Sumber :
Romi Satria Wahono
romi@romisatriawahono.net
Bangkit Indarmawan N
STMIK YMI TEGAL
Use Case Diagrams
• Summarized into a single picture
• All of the use cases for the part of the
system being modeled
• Use case represents the discrete activities
performed by the user
• Use Case Diagram tells what the system
will do
• Good for communicating with users
2
Syntax for an Use Case Diagram
• Actor
– person or system that derives benefit
from and is external to the subject
• Use Case
– Represents a major piece of system
functionality
• Association Relationship
• Include Relationship <<includes>>
• Extend Relationship
<<extends>>
• Generalization Relationship
3
Use Case
• A major piece of
system functionality Use Case
• Can extend other
Use Cases
• Placed inside system boundary
• Labeled with descriptive
verb - noun phrase
4
System Boundary
• Includes the name Boundary
of the system
inside or on top
• Represents the
scope of the system
• Actors are outside the scope of the system
5
Actor
• A person or another
system that interacts
with the current system
• A role, not a specific user
actor
• Provides input, Actor/Role
receives output, or both
6
Association Relationship
• Links actor and the Use Case
• Shows two-way communication
– If one-way, arrows are used
• * is for "multiplicity of the Association"
* *
7
Extends Relationship
• Extends Use Case to include Optional
behavior
• Arrow points from the extension Use Case to
the base Use Case
extend
8
Include Relationship
• Include one Use Case from within
another
• Arrow points from base Use Case to the
included Use Case
include
11
Use Case Diagram with Specialized Actor
12
Extend and Include Relationships
13
STUDI KASUS: ATM SYSTEM
14
ATM System
15
ATM System
Layar
Kotak Kuitansi
16
Masukkan PIN:
Kotak Kuitansi
17
Menu Utama
1. Melihat Saldo
2. Mentransfer Uang
3. Mengambil Uang
4. Logout
Kotak Kuitansi
18
Menu Melihat Saldo
Kotak Kuitansi
19
Menu Mentransfer Uang
1. No Account Penerima:
Kotak Kuitansi
20
Menu Mentransfer Uang
Kotak Kuitansi
21
Menu Mentransfer Uang
Kotak Kuitansi
22
Menu Mengambil Uang
Kotak Kuitansi
23
Menu Mengambil Uang
Kotak Kuitansi
24
uc UCD - Sistem ATM
Use Case Diagram Sistem AT M
Mengecek Saldo
Pengguna
Mentransfer Uang
25
Use Case Diagram (Alternatif)
uc Sistem ATM
Sistem ATM
Melihat Saldo
«extend»
Mengirim Uang
«extend»
Mengambil Uang
Mengganti Kotak
Melakukan Logout Deposit
26