Professional Documents
Culture Documents
UML Based Software Analysis and Design
UML Based Software Analysis and Design
5
UML based Software Analysis and Design
(Wahono, 2009)
1. Systems
2. Systems Design
Analysis
1.1 Identifikasi Proses Bisnis 2.1 Pemodelan Class Diagram
dengan Use Case Diagram
2.2 Pemodelan User Interface
1.2 Pemodelan Proses Bisnis Design
dengan Activity Diagram
atau BPMN
2.3 Pemodelan Data Model
1.3 Realisasi Proses Bisnis
dengan Sequence Diagram 2.4 Pemodelan Deployment
(Boundary - Control - Entity) Diagram
6
7
Studi Kasus: ATM System
8
ATM System
Layar
Kotak Kuitansi
9
Menu PIN
Masukkan PIN:
Kotak Kuitansi
10
Menu Utama
1. Mengecek Saldo
2. Mentransfer Uang
3. Mengambil Uang
4. Logout
Kotak Kuitansi
11
Menu Pengecekan Saldo
Kotak Kuitansi
12
Menu Pengiriman Uang
1. No Account Penerima:
Kotak Kuitansi
13
Menu Pengiriman Uang
Kotak Kuitansi
14
Menu Pengiriman Uang
Kotak Kuitansi
15
Menu Pengambilan Uang
Kotak Kuitansi
16
Menu Pengambilan Uang
Kotak Kuitansi
17
2.2 Identifikasi Proses Bisnis dengan Use Case
Diagram
18
UML based Software Analysis and Design
(Wahono, 2009)
1. Systems
2. Systems Design
Analysis
1.1 Identifikasi Proses Bisnis 2.1 Pemodelan Class Diagram
dengan Use Case Diagram
2.2 Pemodelan User Interface
1.2 Pemodelan Proses Bisnis Design
dengan Activity Diagram
atau BPMN
2.3 Pemodelan Data Model
1.3 Realisasi Proses Bisnis
dengan Sequence Diagram 2.4 Pemodelan Deployment
(Boundary - Control - Entity) Diagram
19
Use Case Diagram
20
Use Case Diagram Syntax
• 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>>
• Generalization Relationship
21
Use Case
• A major piece of
system functionality
• Can extend other Use Case
Use Cases
• Placed inside system boundary
• Labeled with descriptive
verb - noun phrase
22
System Boundary
• Includes the name
of the system Boundary
inside or on top
• Represents the
scope of the system
• Actors are outside the scope of the system
23
Actor
• A person or another
system that interacts
with the current system
• A role, not a specific user
• Provides input, actor
receives output, or both Actor/Role
24
Association Relationship
25
Extends Relationship
• Extends Use Case to include Optional
behavior
• Arrow points from the extension Use Case to
the base Use Case
extend
26
Include Relationship
• Include one Use Case from within another
• Arrow points from base Use Case to the
included Use Case
include
27
Generalization Relationship
28
Use Case Diagram for Appointment System
29
Use Case Diagram with Specialized Actor
30
Extend and Include Relationships
31
Sistem Konsultasi Dokter Rumah Sakit
uc UCD Appointment System
Mengupdate Data
Membuat Kartu Pasien
Pasien Lama
«include»
Mengelola Jadw al
Praktek Mempublikasikan
«include» Jadw al Praktek
Administrator
Pasien Baru
32
Studi Kasus: Use Case Diagram Sistem
ATM
33
Use Case Diagram Sistem ATM
(versi Sederhana)
Sistem ATM
Memasukan PIN
Mengecek Saldo
Mengambil Uang
Melakukan Logout
34
Use Case Diagram Sistem ATM
(Versi Include dan Extends)
uc UCD Sistem ATM Kompleks
Sistem ATM
Mengupdate Informasi
Kotak Deposit
Mengecek Saldo
Petugas
«extend»
Melakukan Logout
Mengirim Uang
35
Use Case Diagram ERP Perbankan
(Sistem Lebih Kompleks)
uc ERP Perbankan
ERP Perbakan
uc ATM Module
ATM Module
Mengecek Saldo
Mengirim Uang
Nasabah
Mengambil Uang
36
Use Case Diagram Sistem ATM
(Versi Normal)
Sistem ATM
Mengecek Saldo
Mengupdate Informasi
Kotak Deposit
Petugas
Nasabah
Mengambil Uang
Keluar Sistem
37
38
39
40
41
42
43
44
Contoh Use Case Diagram MusicPedia
45
Use Case Diagram MusicPedia
• Contoh lain:
https://www.uml-diagrams.org/use-case-diagrams-examples.html
46
Exercise: Business Process Identification
1. Buat project baru di Sparx EA, dengan
nama file adalah nama project sesuai
System Request
2. Lihat kembali dan rapikan System Request
yang sudah anda buat
3. Lakukan business process identification
dengan membuatkan Use Case Diagram
untuk System Request tersebut
47
Exercise: Systems Analysis and Design
• Pilih salah satu aplikasi di bawah (boleh yang lain):
48