UNIFIED MODELLING LANGUAGE (UML)

Slides:



Advertisements
Presentasi serupa
UNIFIED MODELLING LANGUAGE
Advertisements

Ian Sommerville Software Engineering
CLASS DIAGRAM.
Architecture dan design
SE3414 RPL: Teknik Berorientasi Objek
06/10/2014 Course : Rekayasa Perangkat Lunak, Aetthea, Elektro Unsoed,
Activity Diagram Shinta P.. For Bussiness Modeling, Activity diagrams describe the activities of a class. It is used for the following purposes: (Bennet.
Presented By : Group 2. A solution of an equation in two variables of the form. Ax + By = C and Ax + By + C = 0 A and B are not both zero, is an ordered.
Oleh: SARIPUDIN Jurusan SISTEM INFORMASI
1 Pertemuan 09 Kebutuhan Sistem Matakuliah: T0234 / Sistem Informasi Geografis Tahun: 2005 Versi: 01/revisi 1.
Class Diagram.
CLASS DIAGRAM Materi Pertemuan 26
1 Pertemuan 21 Function Matakuliah: M0086/Analisis dan Perancangan Sistem Informasi Tahun: 2005 Versi: 5.
PERTEMUAN KE-6 UNIFIED MODELLING LANGUAGE (UML) (Part 2)
1 Pertemuan 23 Sequence Diagram Matakuliah: M0086/Analisis dan Perancangan Sistem Informasi Tahun: 2005 Versi: 5.
1 Pertemuan 11 Function dari System Matakuliah: M0446/Analisa dan Perancangan Sistem Informasi Tahun: 2005 Versi: 0/0.
UNIFIED MODELLING LANGUAGE
Bayu Priyambadha, S.Kom.  Classes, which are the "blueprints" for an object and are the actual code that defines the properties and methods.  Objects,
9.3 Geometric Sequences and Series. Objective To find specified terms and the common ratio in a geometric sequence. To find the partial sum of a geometric.
KONSEP DASAR PENDEKATAN OBJEK
Unified Modeling Language [UML]
UNIFIED MODELLING LANGUAGE
CLASS DIAGRAM.
Rekayasa Perangkat Lunak UML (Unified Modelling Language)
Visual Modelling Teguh Sutanto, S.Kom.,M.Kom.
Object-Oriented Design (OOD)
Object Oriented Design
KOMUNIKASI DATA Materi Pertemuan 3.
Pemodelan Perangkat Lunak
Pertemuan 23 Sequence Diagram
Notasi Object Oriented System
USE CASE DIAGRAM.
PEMODELAN SISTEM INFORMASI BERORIENTASI OBYEK
Rekayasa Perangkat Lunak Class Diagram
Object oriented analyst and design
Pertemuan #3 Data Modeling Using the Entity-Relationship Model
UML mendukung pengembangan aplikasi
PEMODELAN PROYEK (UML)
UNIFIED MODELLING LANGUAGE
CLASS DIAGRAM.
Analisa dan Desain Berbasis Objek UML (Unified Modelling Language]
OOAD – TI S1 Defri Kurniawan UDINUS
Unified Modeling Language User Guide
Pemrograman Berorientasi Objek
PEMODELAN OBJECT ORIENTED
Use Case Diagram.
Kk ilo Associative entity.
Statechart , Class, Component & Deployment Diagram
Statechart , Class, Component & Deployment Diagram
ANALISIS & DESAIN SISTEM
Unified Modelling Languange (UML)
UML- UNIFIED MODELING LANGUAGE
Pertemuan 4 CLASS DIAGRAM.
KONSEP DASAR PENDEKATAN OBJEK
Visualisasi Class dan Association Relationship
Pemodelan Perangkat Lunak. Unified Modelling Language Memvisualisasikan dan mendokumentasikan hasil analisa dan desain.  Unified karena …  Mengkombinasika.
How Can I Be A Driver of The Month as I Am Working for Uber?
Don’t Forget to Avail the Timely Offers with Uber
Business Modeling By: U. Abd. Rohim, MT
Pertemuan 9 UML Diagram Class & Diagram Objek
Perancangan Berorientasi Objek (UML)
Perancangan Berorientasi Objek (UML)
Rekayasa Perangkat Lunak
Pertemuan 14 Class Diagram.
If you are an user, then you know how spam affects your account. In this article, we tell you how you can control spam’s in your ZOHO.
TIM RPL Program Studi Teknik Informatika
Rank Your Ideas The next step is to rank and compare your three high- potential ideas. Rank each one on the three qualities of feasibility, persuasion,
Object oriented analyst and design
Draw a picture that shows where the knife, fork, spoon, and napkin are placed in a table setting.
2. Discussion TASK 1. WORK IN PAIRS Ask your partner. Then, in turn your friend asks you A. what kinds of product are there? B. why do people want to.
Transcript presentasi:

UNIFIED MODELLING LANGUAGE (UML) PERTEMUAN KE-5 UNIFIED MODELLING LANGUAGE (UML)

UNIFIED MODELLING LANGUAGE Unified Modelling Language (UML) adalah sebuah "bahasa" yg telah menjadi standar dalam industri untuk visualisasi, merancang dan mendokumentasikan sistem piranti lunak. UML menawarkan sebuah standar untuk merancang model sebuah sistem.

UNIFIED MODELLING LANGUAGE BASIC BUILDING BLOCKS OF UML The basic building blocks in UML are things and relationships; these are combined in different ways following different rules to create different types of diagrams. In UML there are nine types of diagrams, below is a list and brief description of them. The more in depth descriptions in the document, will focus on the first five diagrams in the list, which can be seen as the most general, sometimes also referred to as the UML core diagrams.

UNIFIED MODELLING LANGUAGE UML mendefinisikan diagram-diagram berikut ini : use case diagram class diagram sequence diagram statechart diagram activity diagram object diagram collaboration diagram component diagram deployment diagram

UNIFIED MODELLING LANGUAGE Use case diagrams; shows a set of use cases, and how actors can use them Class diagrams; describes the structure of the system, divided in classes with different connections and relationships Sequence diagrams; shows the interaction between a set of objects, through the messages that may be dispatched between them State chart diagrams; state machines, consisting of states, transitions, events and activities Activity diagrams; shows the flow through a program from an defined start point to an end point6 Object diagrams; a set of objects and their relationships, this is a snapshot of instances of the things found in the class diagrams Collaboration diagrams; collaboration diagram emphasize structural ordering of objects that send and receive messages. Component diagrams; shows organizations and dependencies among a set of components. These diagrams address static implementation view of the system. Deployment diagrams; show the configuration of run-time processing nodes and components that live on them.

UNIFIED MODELLING LANGUAGE Things & Relationship……

Use case diagram Use case diagram menggambarkan fungsionalitas yang diharapkan dari sebuah sistem. Yang ditekankan adalah “apa” yang diperbuat sistem, dan bukan “bagaimana”. Sebuah use case merepresentasikan sebuah interaksi antara aktor dengan sistem.

Use case diagram Use case diagrams are done in an early phase of a software development project. They express how it should be possible to use the final system. It is important to focus on specifying how an external user interacts with the system, not trying to specify how the system shall solve the tasks. Use cases are a good way to express the functional requirements of a software system. The participants in a UML use case diagram are use cases, one or several actors and relations, associations and generalizations between them.

Use case diagram Some small examples are given in figures 1 to 3. Figure 1 shows how a cash dispenser system can be used, an actor customer are associated to the use cases Withdraw Money and Get Account Balance. In general use case diagrams should be as simple as in figure 1.

Use case diagram In figure 2, some use cases of a web based fruit shop is shown, in this example the generalization symbols are used. There are generalizations between the actors Shop Assistant and User and Customer and User, meaning that both a Shop Assistant and a Customer is a user and shall both be able to browse fruits. But it is only a Shop Assistant that can use the system through the use case Add Fruits, likewise it is only a Customer that is associated with the use case Buy Fruits.

Use case diagram Stereotype Stereotype adalah sebuah model khusus yang terbatas untuk kondisi tertentu. Simbolnya “<<“ diawalnya dan “>>” diakhirnya. <<include>> digunakan untuk menggambarkan bahwa suatu use case seluruhnya merupakan fungsionalitas dari use case lainnya. Exm : The user which is the actor can use the system to access the internet through the Access Web use case, but that includes the Login use case

<<Extend>> Use case diagram <<extend>> atau <<extend>> digunakan untuk menunjukkan bahwa satu use case merupakan tambahan fungsionalitas dari use case yang lain jika kondisi atau syarat tertentu yang dipenuhi <<Extend>>

Class diagram Class adalah sebuah spesifikasi yang jika diinstansiasi akan menghasilkan sebuah objek dan merupakan inti dari pengembangan dan desain berorientasi objek. Class menggambarkan keadaan (atribut/properti) suatu sistem, sekaligus menawarkan layanan untuk memanipulasi keadaan tersebut (metoda/fungsi). Class diagram menggambarkan struktur dan deskripsi class, package dan objek beserta hubungan satu sama lain seperti containment, pewarisan, asosiasi, dan lain-lain.

Class diagram Class memiliki tiga area pokok : 1. Nama (dan stereotype) 2. Atribut 3. Metoda Bentuk : Atribut dan metoda dapat memiliki salah satu sifat berikut : Private, tidak dapat dipanggil dari luar class yang bersangkutan Protected, hanya dapat dipanggil oleh class yang bersangkutan dan anak-anak yang mewarisinya Public, dapat dipanggil oleh siapa saja Nama Class Atribut; Method;

Class diagram A class diagram consists of the parts classes, associations and generalizations, and can exist in several different levels. Below is an identification of three different useful levels, starting with the least detailed. Conceptual class diagrams (conceptual model), represent concepts of the problem domain High level class diagrams (type model), describe static views of a solution to a problem, through a precise model of the information that is relevant for the software system Detailed class diagrams (class model), include data types, operations and possibly advanced relations between classes

Class diagram In figure 4, the conceptual class diagram of the problem domain of vending machines is showed. The diagram shows that the problem domain is concerned with Coins, Vending Machines, Soda Cans, and Customers; it also shows how they are related to each others through un-directed associations. For instance, it shows that the Vending Machine is associated to all other conceptual classes in the diagram, whereas Coins are only associated to the Vending Machine class and the Customer class.

Class diagram In figure 5, The high level class diagram shows precisely what information the software system must handle and represents a solution to the problem, in form of attributes in some of the classes. The solution add two classes, one class Coin Handler for handling the current amount inserted and dealing with the coins, and another class Stock for handling the soda cans.

Class diagram The customer is no longer related to the Coins class or the Soda Can class, this is a point where there is an obvious difference between the physical relations in the conceptual diagram (figure 4). The customer class could for instance have been related to the Coins class, but they are not related in this particular problem solution. Furthermore, the Coins class has three specializations in the solution, representing coins with different values.

Class diagram Figure 6 is a detailed class diagram showing the concrete data type of attributes, and operations provided by the different classes for the same example. A detailed class diagram also refines the relations between different classes, often through aggregations or compositions with multiplicity defined. The difference between aggregation and composition, (filled or not filled diamond) is a little bit vague so a suggestion is to make practice to use one of them consequently.

Class diagram Starting from the Customer class, we can see that it is related to the Vending Machine class, which provide three operations. The Vending Machine class also has one instance of the Stock class, and one of the Coin Handler class. If we focus on the aggregation diamond between the Coin Handler class and the Coins class, it gives the information that one Coin Handler can have zero to many Coins. The relations between the Stock and the Soda Can classes are refined in a similar way, i.e., with aggregation and multiplicity.