Making Use Case

Download Report

Transcript Making Use Case

06/10/2014
Course : Rekayasa Perangkat Lunak, Aetthea,
Elektro Unsoed, http://aetthea.blog.unsoed.ac.id,
2014
1






Visualisasi struktur kelas-kelas dari suatu sistem.
CD adalah blueprints dari sebuah sistem atau sub
sistem
CD memperlihatkan hubungan antarkelas dan
penjelasan detail tiap-tiap kelas di dalam model
desain dari suatu sistem.
Selama proses analisis, CD memperlihatkan aturanaturan dan tanggung jawab entitas yang menentukan
perilaku sistem.
Selama tahap desain, CD berperan menangkap
struktur dari semua kelas yang membentuk arsitektur
sistem yang dibuat
CD juga merupakan fondasi untuk component
diagram dan deployment diagram.
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
2





Finding Objects
Identifying Responsibilities
Specifying Static Behavior
Specifying Dynamic Behavior
Identifying Relationships
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
3

A set, collection, group, or configuration contai
ning members regarded as having certain attrib
utes or traits in common; a kind or category.
[http://www.thefreedictionary.com/class]

Biology A taxonomic category ranking below a
phylum or division and above an order.
See Table at taxonomy.
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
4



A class diagram is an illustration of the relationships
and source code dependencies among classes in the
Unified Modeling Language (UML).
In this context, a class defines
the methods and variables in an object,
which is a specific entity in a program or
the unit of code representing that entity.
Class diagrams are useful in all forms of objectoriented programming (OOP). The concept is several
years old but has been refined as OOP modeling
paradigms have evolved.
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
5


Be depicted as a Rectangle
There are three parts such as name of class
(A), attributes of class (B), methods of class
(C)
A
B
C
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
6

Using “noun” as a name of class
A
A
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
7

B
Identify attributes : Look at all the adjectives
and possesive phrases in the requirements
document
B
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
8

C
Identify services/methods: Look at all the
verbs in the requirements document
C
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
9

It has some relationship among class such as
inheritance (A), aggregation/composition (B),
Association (C).
B
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
10

It has some relationship among class such as
inheritance (A), aggregation/composition (B),
Association (C).
A
B
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
11

Drag and Drop a Rectangle Form
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
12

Reverse Code
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
13
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
14
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
15
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
16
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
17
Is this
a
Class
?
Is this
a
Class
?
Is this
a
Class
?
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
Is this
a
Class
?
Is this
a
Class
?
18
Course : Rekayasa Perangkat
Lunak, Aetthea, Elektro Unsoed,
http://aetthea.blog.unsoed.ac.id,
2014
19