Jumat, 21 Januari 2011

Macam Macam UML

ENGLISH VERSION

UML Provide 10 kinds of UML diagrams for modeling object-oriented applications, namely :
  • Use Case Diagram for modeling business processes.
  • Conceptual Diagram to model the concepts that exist in the application.
  • Sequence Diagrams to model the sending of messages (messages) between objects.
  • Collaboration diagram for modeling the interaction between objects.
  • State Diagram for modeling the behavior of objects in the system.
  • Activity Diagram for Use Cases and modeling the behavior of objects in the system.
  • Class diagram for modeling the class structure.
  • Object diagram for modeling the object structure.
  • Component diagrams to model the object component.
  • Deployment diagrams to model the distribution of applications.


Here will be described four kinds of diagrams are most often used in object-oriented application development, namely use case diagrams, sequence diagrams, collaboration diagrams, and class diagrams.


1. Use Case Diagram

Use case diagrams are used to model business processes based on the perspective of users of the system.  Use case diagram consists of a diagram for use case and actor. Actor represent the people who will operate or people who interact with the system application.
Use case represents the operations performed by the actor.  use case depicted in the form of an ellipse with the operation name written in it. Actors who perform operations connected with straight lines to the use case.

2. Sequence Diagrams


Sequence diagrams describe in detail the sequence of processes performed within the system to achieve the goal of use case: interactions that occur between classes, operations are involved, the order between operations, and information needed by each operation. 

3. Collaboration Diagram


Collaboration diagrams are used to model the interaction between objects in the system.Unlike the sequence diagram that further highlight the chronological order of operations performed, collaboration diagrams focus more on understanding the overall operation performed by the object. 

4. Class Diagram


Class diagram is a diagram that always exist in modeling object-oriented system.  Class diagram showing the relationship between classes in the system that is being built and how they collaborate to achieve a goal.


INDONESIAN VERSION

UML menyediakan 10 macam diagram untuk memodelkan aplikasi berorientasi objek, yaitu:
  • Use Case Diagram untuk memodelkan proses bisnis.
  • Conceptual Diagram untuk memodelkan konsep-konsep yang ada di dalam aplikasi.
  • Sequence Diagram untuk memodelkan pengiriman pesan (message) antar objects.
  • Collaboration Diagram untuk memodelkan interaksi antar objects.
  • State Diagram untuk memodelkan perilaku objects di dalam sistem.
  • Activity Diagram untuk memodelkan perilaku Use Cases dan objects di dalam system.
  • Class Diagram untuk memodelkan struktur kelas.
  • Object Diagram untuk memodelkan struktur object.
  • Component Diagram untuk memodelkan komponen object.
  • Deployment Diagram untuk memodelkan distribusi aplikasi.
Berikut akan dijelaskan 4 macam diagram yang paling sering digunakan dalam pembangunan aplikasi berorientasi object, yaitu use case diagram, sequence diagram, collaboration diagram, dan class diagram.


1. Use Case Diagram

 

Use case diagram digunakan untuk memodelkan bisnis proses berdasarkan perspektif pengguna sistem. Use case diagram terdiri atas diagram untuk use case dan actor. Actor merepresentasikan orang yang akan mengoperasikan atau orang yang berinteraksi dengan sistem aplikasi.
Use case merepresentasikan operasi-operasi yang dilakukan oleh actor. Use case digambarkan berbentuk elips dengan nama operasi dituliskan di dalamnya. Actor yang melakukan operasi dihubungkan dengan garis lurus ke use case.

2. Sequence Diagram

 

Sequence diagram menjelaskan secara detil urutan proses yang dilakukan dalam sistem untuk mencapai tujuan dari use case: interaksi yang terjadi antar class, operasi apa saja yang terlibat, urutan antar operasi, dan informasi yang diperlukan oleh masing-masing operasi.

3. Collaboration Diagram

 

Collaboration diagram dipakai untuk memodelkan interaksi antar object di dalam sistem. Berbeda dengan sequence diagram yang lebih menonjolkan kronologis dari operasi-operasi yang dilakukan, collaboration diagram lebih fokus pada pemahaman atas keseluruhan operasi yang dilakukan oleh object.

4. Class Diagram

 

Class diagram merupakan diagram yang selalu ada di permodelan sistem berorientasi objek. Class diagram menunjukkan hubungan antar class dalam sistem yang sedang dibangun dan bagaimana mereka saling berkolaborasi untuk mencapai suatu tujuan.

1 komentar: