Jumat, 21 Januari 2011

Contoh UML

1. UML Activity Diagram .





2. UML Activity Diagram Dengan SwimLine Dan Dua Users.

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.

Pengertian UML

ENGLISH VERSION

The Unified Modeling Language (UML) is used to specify, visualize, modify, construct and document the artifacts of an object-oriented software-intensive System under development. UML offers a standard way to visualize a system's architectural blueprints, including elements such as:
UML combines techniques from data modeling (entity relationship diagrams), business modeling (work flows), object modeling, and component modeling. It can be used with all processes, throughout the software development life cycle, and across different implementation technologies. UML has synthesized the notations of the Booch method, the Object-modeling technique (OMT) and Object-oriented software engineering (OOSE) by fusing them into a single, common and widely usable modeling language.[citation needed] UML aims to be a standard modeling language which can model concurrent and distributed systems. UML is a de facto industry standard,[citation needed] and is evolving under the auspices of the Object Management Group (OMG).
UML models may be automatically transformed to other representations (e.g. Java) by means of QVT-like transformation languages. UML is extensible, with two mechanisms for customization: profiles and stereotypes.

 INDONESIAN VERSION

Unified Modeling Language (UML) adalah himpunan struktur dan teknik untuk pemodelan desain program berorientasi objek (OOP) serta aplikasinya. UML adalah metodologi untuk mengembangkan sistem OOP dan sekelompok perangkat tool untuk mendukung pengembangan sistem tersebut. UML mulai diperkenalkan oleh Object Management Group, sebuah organisasi yang telah mengembangkan model, teknologi, dan standar OOP sejak tahun 1980-an. Sekarang UML sudah mulai banyak digunakan oleh para praktisi OOP. UML merupakan dasar bagi perangkat (tool) desain berorientasi objek dari IBM.
UML adalah suatu bahasa yang digunakan untuk menentukan, memvisualisasikan, membangun, dan mendokumentasikan suatu sistem informasi. UML dikembangkan sebagai suatu alat untuk analisis dan desain berorientasi objek oleh Grady Booch, Jim Rumbaugh, dan Ivar Jacobson.
Namun demikian UML dapat digunakan untuk memahami dan mendokumentasikan setiap sistem informasi. Penggunaan UML dalam industri terus meningkat. Ini merupakan standar terbuka yang menjadikannya sebagai bahasa pemodelan yang umum dalam industri peranti lunak dan pengembangan sistem.