0% found this document useful (0 votes)
171 views20 pages

UML Presentation

The Unified Modeling Language (UML) is an industry-standard language used to visualize, specify, construct and document software systems. UML uses 9 types of diagrams including use case diagrams, class diagrams, sequence diagrams and state machine diagrams to model different views of a system. UML was created in the 1990s and updated in 2004 by combining the Object Modeling Technique and Booch Method. UML provides a common vocabulary for discussing software design across analysts, designers and programmers.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
171 views20 pages

UML Presentation

The Unified Modeling Language (UML) is an industry-standard language used to visualize, specify, construct and document software systems. UML uses 9 types of diagrams including use case diagrams, class diagrams, sequence diagrams and state machine diagrams to model different views of a system. UML was created in the 1990s and updated in 2004 by combining the Object Modeling Technique and Booch Method. UML provides a common vocabulary for discussing software design across analysts, designers and programmers.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 20

UML

Unified Modeling Language


Overview
 Introduction
 Brief history
 Diagrams
 Tools
Introduction to UML
The Unified Modeling Language (UML) is an industry-standard language for specifying, visualizing,
constructing, and documenting the artifacts of software systems

• The software blueprint language for analysts, designers,


and programmers alike.

• Gives everyone from business analyst to designer to


programmer a common vocabulary to talk about software
design.

• Just modeling language


 There are three strategies for using UML for developing C real-time and embedded application.
Object- oriented modeling
Object-based modeling
Functional- based modeling
Brief History
 1995 – OMT and Booch Method were combined to come
up with UML 0.8

 1996 – UML 0.9 and 0.9.1(until here .. Rational Corp)

 1997 – UML 1.0 by OMG (Object Management Group


www.omg.org)

 2004 – UML 2.0 (no test suit by OMG) (UML 2.0 


MDA and MDD) and latest is UML 2.2
Where Can the UML Be Used?

 Enterprise Information systems


 Banking and financial services
 Telecommunications
 Transportation
 Defense / Aerospace
 Retail
 Medical Electronics
 Scientific / Embedded Systems
 Distributed Web-based services
UML Diagrams
 At the center of the UML are its nine kinds of
modeling diagrams, which we describe here.

 Use case diagrams


 Class diagrams
 Object diagrams
 Sequence diagrams
 Collaboration diagrams
 State chart diagrams
 Activity diagrams
 Component diagrams
 Deployment diagrams
Diagrams
 Different views of software system
 Structural diagrams : static aspects
 Behavioral diagram : dynamic aspects

Structural diagram Behavioral diagram


Class Diagram Use Case Diagram
Component Diagram Sequence Diagram
Deployment Diagram Collaboration Diagram
Statechart Diagram
Activity Diagram

• Sequence diagram and Collaboration diagram are


semantically equivalent (isomorphic). - Can transform one
into the other without loss of information
UML Diagrams
Use Case Diagram
Describe what a system does from the standpoint of an external observer

 Actors
 Use cases
 Relationships
• Include
• Extend
• Generalization
Class Diagram
A Class diagram gives an overview of a system by showing its classes and the

relationships among them. Class diagrams are static


Class Diagram cont..
Relation ships
 Our Class diagram has 3 kinds of relationships.
- association : A relationship between instances of the
two classes

- aggregation :A special type of associations in


which the two participating classes don't have an equal
status, but make a “whole-part” relationship
Class Diagram cont..
Relation ships
- generalization: an inheritance link
indicating one class is a superclass of the
other. A generalization has a triangle
pointing to the superclass.

- Composition: Compositions are associations


that represent very strong aggregations the part exist
only inside the whole, and if the whole is destroyed the
parts die too.
Packages and object diagrams
Package digram: A package is a collection of logically
related UML elements, you can group classes into packages.
Object Diagrams
• Show a set of objects and their
relationships.
• Illustrate data structures, the static
snapshots of instances at a point in time
Sequence Diagram
sequence diagram is an interaction diagram that details
how operations are carried out -- what messages are sent and
when. Sequence diagrams are organized according to time.
Collaboration diagrams

Collaboration diagrams are also interaction diagrams. They
convey the same information as sequence diagrams, but they
focus on object roles

instead of the times that messages are sent.


State Chart diagram
 A state chart diagram shows the possible states of the object
and the transitions that cause a change in state.
Activity Diagram
 An activity diagram is essentially a fancy flowchart. Activity
diagrams and statechart diagrams are related. The activity
diagram shows how those activities depend on one another.
Component and Deployment diagrams
 Component diagrams are used to describe the physical artifacts
.
of a system. This artifact includes files, executables, libraries etc
 Deployment diagrams provide a picture of the physical
architecture of the hardware, software, and artifacts of the
system.
UML Modeling Tools

 Rational Rose
 GDpro 5.0
 UModel
 Enterprise Architect

You might also like