Anda di halaman 1dari 18

USE-CASE DIAGRAM

Use Case Diagram


Use Case Description

24

Pengantar Use Case Diagram

y Sebuah use Case menggambarkan kegiatan yang


dilakukan oleh pengguna sistem A use case illustrates the
activities that are performed by users of a system.
y Use case adalah model logis - menggambarkan

kegiatan dari suatu sistem tanpa menentukan


bagaimana kegiatan dilaksanakan /
diimplementasikan. Use cases are logical models -- they
describe the activities of a system without specifying how the
activities are implemented.

25

26

1. Actor

y Actor / Aktor merupakan user yang memainkan peran sambil

berinteraksi dengan sistem An actor is not a specific user, but a role that a user
can play while interacting with the system

y Aktor dapat berupa sistem lain yang dapat berinteraksi dengan

sistem saat ini / current system An actor can also represent another system in
which the current system interacts

y Pada dasarnya, aktor mewakili unsur-unsur utama dalam lingkungan

dimana sistem beroperasi. Basically, actors represent the principal elements in the
environment in which the system operates.

y Aktor dapat memberikan masukan ke sistem, menerima output dari


sistem, atau keduanya. Actors can provide input to the system, receive
output from the system, or both.
y Kadang kadang seorang aktor memainkan peran khusus dari jenis yang

lebih umum dari aktor, yang disebut spesialisasi Sometimes an actor plays a
specialized role of a more general type of actor.
27

28

29

2. Association

y Use cases dihubungkan dengan aktor melalui hubungan asosiasi /

association, yang menunjukkan interaksi antara use case dengan


aktor Use cases are connected to actors through association relationships, which
show with which use cases the actors interact

y Sebuah garis yang ditarik dari aktor ke use case menggambarkan

asosiasi A line drawn from an actor to a use case depicts an association


y Asosiasi biasanya menggambarkan hubungan dua arah antara use
case dengan actor The association typically represents two-way communication
between the use case and the actor

y Jika komunikasi hanya satu arah, maka mata anak panah yang solid

dapat digunakan untuk menunjuk ke arah arus informasi If the


communication is only one way, then a solid arrowhead can be used to designate the direction of
the flow of information.

y Jika tidak ada mata anak panah yang solid, maka melambangkan

komunikasi 2 arah, dapat juga menggunakan lambang *


30

3. Use Case

y Use cases merupakan proses utama yang dapat dilakukan sistem

untuk memberikan manfaat kepada aktor, dan diberi nama dengan


menggunakan kalimat kata kerja-kata benda deskriptif Use
case is a major process that the system will perform that benefits an actor(s) in some way,
and it is labeled using a descriptive verb-noun phrase

y Ada saat ketika use case menggunakan includes, extends, atau

generalizes fungsional dari use case lainnya dalam diagram There


are times when a use case includes, extends, or generalizes the functionality of another
use case on the diagram

y Includes, ketika sebuah use case memerlukan fungsi tambahan

31

(additional functionality)
y Extends, ketika sebuah use case merupakan use case yang melakukan
tugas rutin (common functions) yang diperlukan oleh use case yang
lain /sebuah use case perlu di share ke beberapa use case lainnya
y Generalization, untuk menyederhanakan penggunaan use case
lainnya. Disajikan dengan garis yang mempunyai anak panah dari use
case yang khusus menuju ke use case yang umum

32

4. Subject Boundary

y Use cases berada dalam sebuah subject boundary, merupakan

kotak yang menentukan ruang lingkup / cakupan sistem dan


melukiskan dengan jelas bagian internal dan eksternal dari diagram
The use cases are enclosed within a subject boundary, which is a box that defines the
scope of the system and clearly delineates what parts of the diagram are external or
internal to it

y Sebuah subject boundary dapat digunakan untuk memisahkan

sistem dari lingkungannya, atau sebuah subsistem dari subsistem


lainnya dalam sistem software, atau proses individu dalam sistem
software A subject boundary can be used to separate a software system from its
environment, a subsystem from other subsystems within the software system, or an
individual process in a software system

y Nama subject boundary dapat dimunculkan baik di dalam atau di

atas kotak The name of the subject can appear either inside or on top of the box
33

Use Cases

Actors
Account
owner

Creditor

Payment

Cash Withdrawal

Money transfer

Account information

Credit Information

Administrator

X
X

Registration

Monitoring

Fault processing

34

Liquidity
Monitor

CREATING USE-CASE DESCRIPTIONS

35

36

Selecting the Appropriate Techniques


Interviews

37

JAD

Questionnaires

Document
Analysis

Observation

Type of
Information

As-Is
Improve.
To-Be

As-Is
As-Is
Improve. Improve.
To-Be

As-Is

As-Is

Depth of
Information

High

High

Medium

Low

Low

Breadth of
Information

Low

Medium

High

High

Low

Integration
of Info.

Low

High

Low

Low

Low

User
Medium
Involvement

High

Low

Low

Low

Cost

LowMedium

Medium

Low

Low

LowMedium

Membuat Use Case Description

38

What are Use-Case Descriptions?

y Menjelaskan fungsi dasar dari sistem Describe basic functions of the


system

y What the user can do

y How the system responds

y Terdapat 2 proses utama dalam mengembangkan Use


Case Diagram:
y Write text-based case descriptions
y Translate descriptions into use case diagram

y Pada saat membuat Use Case, tim proyek harus bekerja

keras dengan user untuk mengumpulkan requirement


yang dibutuhkan dalam use case
39

Elements of a Use-Case Description


Use Case Name:

ID:

Primary Actor:

Use Case Type:

Importance Level:

Stakeholders and Interests:


Brief Description:
Trigger:
Relationships: (Association, Include, Extend, Generalization)
Normal Flow of Events:
Subflows:
Alternate/Exceptional Flows:

40

41

Anda mungkin juga menyukai