SlideShare une entreprise Scribd logo
1  sur  40
Télécharger pour lire hors ligne
Lecture 1: Introduction
Duration : 3 HRS
Object Oriented Modeling with UML
by
Ramakant Soni
Assistant Professor
Dept. of Computer Science
B. K. Birla Institute of Engineering & Technology, Pilani
Ramakant Soni @ BKBIET Pilani 1
Objective of the module
Objective 1:
This course is to learn modeling and design programs
using the object approach. The language used is UML.
Objective 2:Objective 2:
To provide a software development methodology
starting the real world until the completion of the
program
Objective 3:
Learn how to design objects in view of reusability.
Ramakant Soni @ BKBIET Pilani 2
What is a Model?
Definition 1:
In (computers) Model is a simulation to reproduce
behavior of a system.
Definition 2:
Ramakant Soni @ BKBIET Pilani 3
Definition 2:
It’s the representation of entities and relationships
between them.
Definition 3:
A model serves as an abstraction - an approximate
representation of the real item that is being built.
What is modeling?
Definition 1:Definition 1:
Process of representing a real-world object or phenomenon as
a set of mathematical equations.
Definition 2:
Designing and analyzing a mathematical representation of an
economic system to study the effect of changes to system
variables.
Ramakant Soni @ BKBIET Pilani 4
Why to model?
• It is neither technically wise nor economically practical to
build certain kind of complex systems without first creating
a design, a blueprint or another abstract representation.
For example : Professional architect needs to first develop
an array of architectural plans before constructing a multi-
office building.office building.
• Modeling provides architects and others with the ability to
visualize entire systems, assess different options and
communicate designs more clearly before taking on the
risks- technical, financial or otherwise of actual
construction.
Ramakant Soni @ BKBIET Pilani 5
When do we model?
Some specific situations in which the modeling effort is
worthwhile include:
• To better understand the business or engineering
situation at hand ("as-is" model) and to craft a better
system ("to-be" model).
situation at hand ("as-is" model) and to craft a better
system ("to-be" model).
• To build and design a system architecture.
• To create visualizations of code and other forms of
implementation.
Ramakant Soni @ BKBIET Pilani 6
How do We model?
• A standard means for representing software models and related
artifacts.
Software architects, designers and developers use UML for specifying,
visualizing, constructing and documenting all aspects of a software
system.
Key leaders from IBM Rational led the original development of UML.
Today, UML is managed by the Object Management Group (OMG), which
ensure that the specification continues to meet the dynamic needs of the
software community.software community.
• UML is more than just a graphical notational standard -- it is a modeling
language.
As with all languages, UML defines syntax (both graphical and textual) and
semantics (the underlying meanings of the symbols and text). Having a
true modeling language rather than just a standard notation is essential
for standardizing the use of UML. UML -- a true modeling language -- has
helped it become the software industry's most recognized and widely
applicable modeling standard.
Ramakant Soni @ BKBIET Pilani 7
Objects
• Objects are key to understanding object-oriented
technology.
If we look around right now and we'll find many
examples of real-world objects: our book, desk, laptop,
or phones.
• Software objects are conceptually similar to real-world
objects: they too consist of state and related behavior.
An object stores its state in fields/ variables and
exposes its behavior through methods/ functions.
Ramakant Soni @ BKBIET Pilani 8
Object Responsibilities
Objects (classes) have responsibilities, which they
are expected to exhibit in an object-oriented
information:
• What they know about themselves -: (Attributes)• What they know about themselves -: (Attributes)
• What they do -: (Operations)
• What they know about other objects -:(Class and
object relationships )
Ramakant Soni @ BKBIET Pilani 9
Object Oriented Modeling
• Object-oriented modeling is an approach to modeling
an application that is used at the beginning of the
software life cycle when using an object-oriented
approach to software development.
• Object-oriented modeling is typically done via use
cases and abstract definitions of the most important
objects. The most common language used to do
object-oriented modeling is the Object Management
Group's Unified Modeling Language (UML).
Ramakant Soni @ BKBIET Pilani 10
Object Oriented Concept
Following are some fundamental concepts of object oriented world:
• Objects: Objects represent an entity and the basic building block.
• Class: Class is the blue print of an object.
• Abstraction: Abstraction represents the behavior of an real world entity.
• Encapsulation: Encapsulation is the mechanism of binding the data
together and hiding them from outside world.
• Inheritance: Inheritance is the mechanism of making new classes from
existing one.
• Polymorphism: It defines the mechanism to exists in different forms.
Ramakant Soni @ BKBIET Pilani 11
UML
• The key thing to remember about UML is that
it is designed to be universal, it is intended to
be independent of implementation platform.
Specifically it is a PIM, a platform-independentSpecifically it is a PIM, a platform-independent
model.
Ramakant Soni @ BKBIET Pilani 12
Unified Modeling Language (UML)
• UML is a general-purpose modeling language in the field of
software engineering, which is designed to provide a standard way
to visualize the design of a system.
• It was created and developed by Grady Booch, Ivar Jacobson and
James Rumbaugh at Rational Software during 1994–95 with further
development led by them through 1996.development led by them through 1996.
• In 1997 it was adopted as a standard by the Object Management
Group (OMG), and has been managed by this organization ever
since. In 2000 the Unified Modeling Language was also accepted by
the International Organization for Standardization (ISO) as an
approved ISO standard. Since then it has been periodically revised
to cover the latest revision of UML.
Ramakant Soni @ BKBIET Pilani 13
4 parts to the UML 2.x specification:
• The Superstructure that defines the notation and
semantics for diagrams and their model elements.
• The Infrastructure that defines the core meta-model on
which the Superstructure is based.which the Superstructure is based.
• The Object Constraint Language (OCL) for defining rules
for model elements.
• The UML Diagram Interchange that defines how UML 2
diagram layouts are exchanged.
Ramakant Soni @ BKBIET Pilani 14
Design/Usage
Software development methods
UML is not a development method by itself; however, it was
designed to be compatible with the leading object-oriented
software development methods of its time.
UML diagrams represent two different views of a system model:
• Static (or structural) view: emphasizes the static structure of the
system using objects, attributes, operations and relationships.
• Dynamic (or behavioral) view: emphasizes the dynamic behavior of
the system by showing collaborations among objects and changes
to the internal states of objects.
Ramakant Soni @ BKBIET Pilani 15
Applications of UML
• UML is very powerful modeling language. We can develop many diagrams
using UML and provide users with ready-to-use, expressive modeling
examples.
• UML can be applied in many areas like embedded systems, web
applications, commercial applications etc.
• Some UML tools generate program language code from UML.
• UML can be used for modeling the whole system independent of platform
language.
• UML gives us a standard way to write a system's view, covering conceptual
things such as business processes and system functions, as well as things
like classes written in a specific programming language, database
schemas, and reusable software components.
Ramakant Soni @ BKBIET Pilani 16
Areas where UML is effectively used
UML has been used effectively in following areas:
• Enterprise information systems.
• Banking and financial services.
• Telecommunications.
• Transportation.• Transportation.
• Defense.
• Retail.
• Medical electronics.
• Science and Research.
• Distributed Web-based services.
Ramakant Soni @ BKBIET Pilani 17
Why modeling with UML is used
• Modeling provides structure for problem solving.
• If we model a system, we may find multiple solutions.
• Modeling helps us manage the complexity of systems before
actually starting development work.
• With various diagrams from UML we can show clear views of• With various diagrams from UML we can show clear views of
system thus reducing time-to-market for business problem
solutions.
• If we model any problem before its development there are
fewer chances that our development plan will go wrong, thus
decreasing development costs.
• Modeling reduces the risk of mistakes.
Ramakant Soni @ BKBIET Pilani 18
Design examples:
Taxi service - Workflow diagram
"A taxicab, also known as a taxi or a cab, is a type of vehicle for hire with a driver, used by a
single passenger or small group of passengers often for a non-shared ride. A taxicab conveys
passengers between locations of their choice. In modes of public transport, the pick-up and
drop-off locations are determined by the service provider, not by the passenger, although
demand responsive transport and share taxis provide a hybrid bus/taxi mode. There are four
distinct forms of taxicab, which can be identified by slightly differing terms in different
countries:
(1) Hackney carriages also known as public hire, hailed or street taxis, licensed for hailing
throughout communities.
(2) Private hire vehicles, also known as minicabs or private hire taxis, licensed for pre-booking
only.
(3) Taxi buses, also known as Jitneys, operating on pre-set routes typified by multiple stops and
multiple independent passengers.
(4) Limousines, specialized vehicle licensed for operation by pre-booking. Although types of
vehicles and methods of regulation, hiring, dispatching, and negotiating payment differ
significantly from country to country, many common characteristics exist.“
Ramakant Soni @ BKBIET Pilani 19
Flow:
Ramakant Soni @ BKBIET Pilani 20
Is UML a Language?
• UML can be described as a general purpose visual
modeling language to visualize, specify, construct
and document software system. Although UML is
generally used to model software systems but it is
not limited within this boundary. It is also used tonot limited within this boundary. It is also used to
model non software systems as well like process flow
in a manufacturing unit etc.
• UML is not a programming language but tools can
be used to generate code in various languages
using UML diagrams.
Ramakant Soni @ BKBIET Pilani 21
Goal of UML
• Its goal is to define some general purpose
modeling language which all modelers can use
and also it needs to be made simple to
understand and use.
• UML diagrams are not only for developers but
also for business users, common people and
anybody interested to understand the system.
The system can be a software or non
software.
Ramakant Soni @ BKBIET Pilani 22
UML Diagrams
• UML has many types of diagrams which are
divided into two categories. Some types
represent structural information, and the rest
represent general types of behavior, includingrepresent general types of behavior, including
a few that represent different aspects of
interactions.
Ramakant Soni @ BKBIET Pilani 23
UML Diagram Hierarchy
Ramakant Soni @ BKBIET Pilani 24
Ramakant Soni @ BKBIET Pilani 25
UML Building Blocks
The building blocks of UML can be defined as:
1. Things
2. Relationships
3. Diagrams3. Diagrams
Ramakant Soni @ BKBIET Pilani 26
UML Building Blocks
Things can be defined as: Structural, Behavioral,
Grouping & An-notational.
Relationship shows how elements are associated
with each other and this association describes thewith each other and this association describes the
functionality of an application.
UML diagrams: All the elements, relationships are
used to make a complete UML diagram and the
diagram represents a system.
Ramakant Soni @ BKBIET Pilani 27
Structural things
The Structural things define the static part of the model. They represent
physical and conceptual elements.
Structural things constitutes:
• Class: Class represents set of objects having similar responsibilities.
Ramakant Soni @ BKBIET Pilani 28
Interface
Interface defines a set of operations which specify the
responsibility of a class.
Ramakant Soni @ BKBIET Pilani 29
I
Interface
Collaboration:
Collaboration defines interaction between elements.
Ramakant Soni @ BKBIET Pilani 30
Use case:
Use case represents a set of actions performed by a system for a specific goal.
Ramakant Soni @ BKBIET Pilani 31
Component
Component describes physical part of a system.
Ramakant Soni @ BKBIET Pilani 32
Node
A node can be defined as a physical element that exists at run time.
Ramakant Soni @ BKBIET Pilani 33
Behavioral things:
• A behavioral thing consists of the dynamic
parts of UML models.
Ramakant Soni @ BKBIET Pilani 34
Interaction:
• Interaction is defined as a behavior that
consists of a group of messages exchanged
among elements to accomplish a specific task.
Ramakant Soni @ BKBIET Pilani 35
Message
State machine:
• State machine is useful when the state of an object
in its life cycle is important. It defines the sequence
of states an object goes through in response to
events. Events are external factors responsible for
state change.
Ramakant Soni @ BKBIET Pilani 36
Package:
• Package is the only one grouping thing available for gathering
structural and behavioral things.
Ramakant Soni @ BKBIET Pilani 37
Annotational things:
• Annotational things can be defined as a mechanism to
capture remarks, descriptions, and comments of UML model
elements. Note is the only one Annotational thing available.
Ramakant Soni @ BKBIET Pilani 38
Notes
References :
• http://www.ibm.com/developerworks/rational/library/6007.h
tml
• http://en.wikipedia.org/wiki/Unified_Modeling_Language
• http://conferences.embarcadero.com/article/32200
• Tutorialspoint.com/ UML Tutorial• Tutorialspoint.com/ UML Tutorial
Ramakant Soni @ BKBIET Pilani 39
Thanks
Ramakant Soni @ BKBIET Pilani 40

Contenu connexe

Tendances

Introduction to Unified Modeling Language
Introduction to Unified Modeling LanguageIntroduction to Unified Modeling Language
Introduction to Unified Modeling LanguageAMITJain879
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentationanasz3z3
 
UML- Unified Modeling Language
UML- Unified Modeling LanguageUML- Unified Modeling Language
UML- Unified Modeling LanguageShahzad
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentationmewaseem
 
Activity diagram-UML diagram
Activity diagram-UML diagramActivity diagram-UML diagram
Activity diagram-UML diagramRamakant Soni
 
Aggregation v s composition
Aggregation v s compositionAggregation v s composition
Aggregation v s compositionSayedFarhan110
 
Uml with detail
Uml with detailUml with detail
Uml with detailHamza Khan
 
Object Modeling Techniques
Object Modeling TechniquesObject Modeling Techniques
Object Modeling TechniquesShilpa Wadhwani
 
Object oriented-systems-development-life-cycle ppt
Object oriented-systems-development-life-cycle pptObject oriented-systems-development-life-cycle ppt
Object oriented-systems-development-life-cycle pptKunal Kishor Nirala
 
1. introduction to uml
1. introduction to uml1. introduction to uml
1. introduction to umlPRABU M
 
Unified modeling language diagrams
Unified modeling language diagramsUnified modeling language diagrams
Unified modeling language diagramsAlaa Ahmed
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagramRahul Pola
 
Lecture11 use case sequence diagram
Lecture11 use case sequence diagramLecture11 use case sequence diagram
Lecture11 use case sequence diagramShahid Riaz
 

Tendances (20)

Introduction to Unified Modeling Language
Introduction to Unified Modeling LanguageIntroduction to Unified Modeling Language
Introduction to Unified Modeling Language
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Presentation on uml
Presentation on umlPresentation on uml
Presentation on uml
 
UML- Unified Modeling Language
UML- Unified Modeling LanguageUML- Unified Modeling Language
UML- Unified Modeling Language
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Activity diagram-UML diagram
Activity diagram-UML diagramActivity diagram-UML diagram
Activity diagram-UML diagram
 
Aggregation v s composition
Aggregation v s compositionAggregation v s composition
Aggregation v s composition
 
Introduction to UML
Introduction to UMLIntroduction to UML
Introduction to UML
 
Uml with detail
Uml with detailUml with detail
Uml with detail
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
 
Sequence diagrame
Sequence diagrameSequence diagrame
Sequence diagrame
 
Object Modeling Techniques
Object Modeling TechniquesObject Modeling Techniques
Object Modeling Techniques
 
Object oriented-systems-development-life-cycle ppt
Object oriented-systems-development-life-cycle pptObject oriented-systems-development-life-cycle ppt
Object oriented-systems-development-life-cycle ppt
 
1. introduction to uml
1. introduction to uml1. introduction to uml
1. introduction to uml
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 
Unified modeling language diagrams
Unified modeling language diagramsUnified modeling language diagrams
Unified modeling language diagrams
 
Diagrams
DiagramsDiagrams
Diagrams
 
CS8592-OOAD Lecture Notes Unit-2
CS8592-OOAD Lecture Notes Unit-2CS8592-OOAD Lecture Notes Unit-2
CS8592-OOAD Lecture Notes Unit-2
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
 
Lecture11 use case sequence diagram
Lecture11 use case sequence diagramLecture11 use case sequence diagram
Lecture11 use case sequence diagram
 

En vedette

OOAD UNIT I UML DIAGRAMS
OOAD UNIT I UML DIAGRAMSOOAD UNIT I UML DIAGRAMS
OOAD UNIT I UML DIAGRAMSMikel Raj
 
What is Algorithm - An Overview
What is Algorithm - An OverviewWhat is Algorithm - An Overview
What is Algorithm - An OverviewRamakant Soni
 
Unit 1- OOAD ppt
Unit 1- OOAD  pptUnit 1- OOAD  ppt
Unit 1- OOAD pptPRIANKA R
 
SE_Lec 02_Software Life Cycle Models
SE_Lec 02_Software Life Cycle ModelsSE_Lec 02_Software Life Cycle Models
SE_Lec 02_Software Life Cycle ModelsAmr E. Mohamed
 
SE_Lec 09_ UML Behaviour Diagrams
SE_Lec 09_ UML Behaviour DiagramsSE_Lec 09_ UML Behaviour Diagrams
SE_Lec 09_ UML Behaviour DiagramsAmr E. Mohamed
 
SE_Lec 01_ Introduction to Software Enginerring
SE_Lec 01_ Introduction to Software EnginerringSE_Lec 01_ Introduction to Software Enginerring
SE_Lec 01_ Introduction to Software EnginerringAmr E. Mohamed
 
SE_Lec 08_UML Use Cases
SE_Lec 08_UML Use CasesSE_Lec 08_UML Use Cases
SE_Lec 08_UML Use CasesAmr E. Mohamed
 
Class diagram- UML diagram
Class diagram- UML diagramClass diagram- UML diagram
Class diagram- UML diagramRamakant Soni
 
SE_Lec 03_Requirements Analysis and Specification
SE_Lec 03_Requirements Analysis and SpecificationSE_Lec 03_Requirements Analysis and Specification
SE_Lec 03_Requirements Analysis and SpecificationAmr E. Mohamed
 
SE_Lec 00_ Software Engineering 1
SE_Lec 00_ Software Engineering 1SE_Lec 00_ Software Engineering 1
SE_Lec 00_ Software Engineering 1Amr E. Mohamed
 
SE_Lec 04_Agile Software Development
SE_Lec 04_Agile Software DevelopmentSE_Lec 04_Agile Software Development
SE_Lec 04_Agile Software DevelopmentAmr E. Mohamed
 
SE_Lec 06_Object Oriented Analysis and Design
SE_Lec 06_Object Oriented Analysis and DesignSE_Lec 06_Object Oriented Analysis and Design
SE_Lec 06_Object Oriented Analysis and DesignAmr E. Mohamed
 
Use Case diagram-UML diagram-2
Use Case diagram-UML diagram-2Use Case diagram-UML diagram-2
Use Case diagram-UML diagram-2Ramakant Soni
 
11 ooad uml-14
11 ooad uml-1411 ooad uml-14
11 ooad uml-14Niit Care
 
Se2 lec 13 uml state machines
Se2 lec 13  uml state machinesSe2 lec 13  uml state machines
Se2 lec 13 uml state machinesAmr E. Mohamed
 
SE_Lec 11_ Project Management
SE_Lec 11_ Project ManagementSE_Lec 11_ Project Management
SE_Lec 11_ Project ManagementAmr E. Mohamed
 

En vedette (20)

OOAD UNIT I UML DIAGRAMS
OOAD UNIT I UML DIAGRAMSOOAD UNIT I UML DIAGRAMS
OOAD UNIT I UML DIAGRAMS
 
What is Algorithm - An Overview
What is Algorithm - An OverviewWhat is Algorithm - An Overview
What is Algorithm - An Overview
 
Ooadb
OoadbOoadb
Ooadb
 
(OOAD) UML Slides
(OOAD) UML Slides(OOAD) UML Slides
(OOAD) UML Slides
 
UML TUTORIALS
UML TUTORIALSUML TUTORIALS
UML TUTORIALS
 
Unit 1- OOAD ppt
Unit 1- OOAD  pptUnit 1- OOAD  ppt
Unit 1- OOAD ppt
 
SE_Lec 02_Software Life Cycle Models
SE_Lec 02_Software Life Cycle ModelsSE_Lec 02_Software Life Cycle Models
SE_Lec 02_Software Life Cycle Models
 
SE_Lec 09_ UML Behaviour Diagrams
SE_Lec 09_ UML Behaviour DiagramsSE_Lec 09_ UML Behaviour Diagrams
SE_Lec 09_ UML Behaviour Diagrams
 
SE_Lec 01_ Introduction to Software Enginerring
SE_Lec 01_ Introduction to Software EnginerringSE_Lec 01_ Introduction to Software Enginerring
SE_Lec 01_ Introduction to Software Enginerring
 
SE_Lec 08_UML Use Cases
SE_Lec 08_UML Use CasesSE_Lec 08_UML Use Cases
SE_Lec 08_UML Use Cases
 
Class diagram- UML diagram
Class diagram- UML diagramClass diagram- UML diagram
Class diagram- UML diagram
 
SE_Lec 03_Requirements Analysis and Specification
SE_Lec 03_Requirements Analysis and SpecificationSE_Lec 03_Requirements Analysis and Specification
SE_Lec 03_Requirements Analysis and Specification
 
SE_Lec 00_ Software Engineering 1
SE_Lec 00_ Software Engineering 1SE_Lec 00_ Software Engineering 1
SE_Lec 00_ Software Engineering 1
 
SE_Lec 04_Agile Software Development
SE_Lec 04_Agile Software DevelopmentSE_Lec 04_Agile Software Development
SE_Lec 04_Agile Software Development
 
Uml report
Uml reportUml report
Uml report
 
SE_Lec 06_Object Oriented Analysis and Design
SE_Lec 06_Object Oriented Analysis and DesignSE_Lec 06_Object Oriented Analysis and Design
SE_Lec 06_Object Oriented Analysis and Design
 
Use Case diagram-UML diagram-2
Use Case diagram-UML diagram-2Use Case diagram-UML diagram-2
Use Case diagram-UML diagram-2
 
11 ooad uml-14
11 ooad uml-1411 ooad uml-14
11 ooad uml-14
 
Se2 lec 13 uml state machines
Se2 lec 13  uml state machinesSe2 lec 13  uml state machines
Se2 lec 13 uml state machines
 
SE_Lec 11_ Project Management
SE_Lec 11_ Project ManagementSE_Lec 11_ Project Management
SE_Lec 11_ Project Management
 

Similaire à UML Diagrams- Unified Modeling Language Introduction

Object Oriented Database
Object Oriented DatabaseObject Oriented Database
Object Oriented DatabaseMegan Espinoza
 
Unit 1( modelling concepts & class modeling)
Unit  1( modelling concepts & class modeling)Unit  1( modelling concepts & class modeling)
Unit 1( modelling concepts & class modeling)Manoj Reddy
 
Various Approaches Of System Analysis
Various Approaches Of System AnalysisVarious Approaches Of System Analysis
Various Approaches Of System AnalysisLaura Torres
 
Cs 2401 Unit 1
Cs 2401 Unit 1Cs 2401 Unit 1
Cs 2401 Unit 1Susan Cox
 
_773d48108e2dda1c1a731bf69b06c3be_Software-Architecture_Course-Notes.pdf
_773d48108e2dda1c1a731bf69b06c3be_Software-Architecture_Course-Notes.pdf_773d48108e2dda1c1a731bf69b06c3be_Software-Architecture_Course-Notes.pdf
_773d48108e2dda1c1a731bf69b06c3be_Software-Architecture_Course-Notes.pdfdo_2013
 
_773d48108e2dda1c1a731bf69b06c3be_Software-Architecture_Course-Notes.pdf
_773d48108e2dda1c1a731bf69b06c3be_Software-Architecture_Course-Notes.pdf_773d48108e2dda1c1a731bf69b06c3be_Software-Architecture_Course-Notes.pdf
_773d48108e2dda1c1a731bf69b06c3be_Software-Architecture_Course-Notes.pdfdo_2013
 
Software-Architecture_Course-Notes.pdf
Software-Architecture_Course-Notes.pdfSoftware-Architecture_Course-Notes.pdf
Software-Architecture_Course-Notes.pdfdo_2013
 
Application Of Uml Using Uml Diagrams Used At Each Stage...
Application Of Uml Using Uml Diagrams Used At Each Stage...Application Of Uml Using Uml Diagrams Used At Each Stage...
Application Of Uml Using Uml Diagrams Used At Each Stage...Samantha Randall
 
an analysis and new methodology for reverse engineering of uml behavioral
an analysis and new methodology for reverse engineering of uml behavioralan analysis and new methodology for reverse engineering of uml behavioral
an analysis and new methodology for reverse engineering of uml behavioralINFOGAIN PUBLICATION
 
UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)Shamsunder Malgikar
 
MODEL-DRIVEN ENGINEERING OF BEHAVIORS FOR USER INTERFACES IN MULTIPLE CONTEXT...
MODEL-DRIVEN ENGINEERING OF BEHAVIORS FOR USER INTERFACES IN MULTIPLE CONTEXT...MODEL-DRIVEN ENGINEERING OF BEHAVIORS FOR USER INTERFACES IN MULTIPLE CONTEXT...
MODEL-DRIVEN ENGINEERING OF BEHAVIORS FOR USER INTERFACES IN MULTIPLE CONTEXT...Jean Vanderdonckt
 
SE - Lecture 3 - Software Tools n Environment.pptx
SE - Lecture 3 - Software Tools n Environment.pptxSE - Lecture 3 - Software Tools n Environment.pptx
SE - Lecture 3 - Software Tools n Environment.pptxTangZhiSiang
 
Uml tutorial
Uml tutorialUml tutorial
Uml tutorialMinh Pham
 

Similaire à UML Diagrams- Unified Modeling Language Introduction (20)

Object Oriented Database
Object Oriented DatabaseObject Oriented Database
Object Oriented Database
 
Unit 1( modelling concepts & class modeling)
Unit  1( modelling concepts & class modeling)Unit  1( modelling concepts & class modeling)
Unit 1( modelling concepts & class modeling)
 
Various Approaches Of System Analysis
Various Approaches Of System AnalysisVarious Approaches Of System Analysis
Various Approaches Of System Analysis
 
Cs 2401 Unit 1
Cs 2401 Unit 1Cs 2401 Unit 1
Cs 2401 Unit 1
 
OOSD_UNIT1 (1).pptx
OOSD_UNIT1 (1).pptxOOSD_UNIT1 (1).pptx
OOSD_UNIT1 (1).pptx
 
Object oriented analysis and design unit- iii
Object oriented analysis and design unit- iiiObject oriented analysis and design unit- iii
Object oriented analysis and design unit- iii
 
_773d48108e2dda1c1a731bf69b06c3be_Software-Architecture_Course-Notes.pdf
_773d48108e2dda1c1a731bf69b06c3be_Software-Architecture_Course-Notes.pdf_773d48108e2dda1c1a731bf69b06c3be_Software-Architecture_Course-Notes.pdf
_773d48108e2dda1c1a731bf69b06c3be_Software-Architecture_Course-Notes.pdf
 
_773d48108e2dda1c1a731bf69b06c3be_Software-Architecture_Course-Notes.pdf
_773d48108e2dda1c1a731bf69b06c3be_Software-Architecture_Course-Notes.pdf_773d48108e2dda1c1a731bf69b06c3be_Software-Architecture_Course-Notes.pdf
_773d48108e2dda1c1a731bf69b06c3be_Software-Architecture_Course-Notes.pdf
 
Software-Architecture_Course-Notes.pdf
Software-Architecture_Course-Notes.pdfSoftware-Architecture_Course-Notes.pdf
Software-Architecture_Course-Notes.pdf
 
Application Of Uml Using Uml Diagrams Used At Each Stage...
Application Of Uml Using Uml Diagrams Used At Each Stage...Application Of Uml Using Uml Diagrams Used At Each Stage...
Application Of Uml Using Uml Diagrams Used At Each Stage...
 
an analysis and new methodology for reverse engineering of uml behavioral
an analysis and new methodology for reverse engineering of uml behavioralan analysis and new methodology for reverse engineering of uml behavioral
an analysis and new methodology for reverse engineering of uml behavioral
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Jar chapter 1
Jar chapter 1Jar chapter 1
Jar chapter 1
 
UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)
 
MODEL-DRIVEN ENGINEERING OF BEHAVIORS FOR USER INTERFACES IN MULTIPLE CONTEXT...
MODEL-DRIVEN ENGINEERING OF BEHAVIORS FOR USER INTERFACES IN MULTIPLE CONTEXT...MODEL-DRIVEN ENGINEERING OF BEHAVIORS FOR USER INTERFACES IN MULTIPLE CONTEXT...
MODEL-DRIVEN ENGINEERING OF BEHAVIORS FOR USER INTERFACES IN MULTIPLE CONTEXT...
 
Uml Tutorial
Uml TutorialUml Tutorial
Uml Tutorial
 
UML Tutorial
UML TutorialUML Tutorial
UML Tutorial
 
SE - Lecture 3 - Software Tools n Environment.pptx
SE - Lecture 3 - Software Tools n Environment.pptxSE - Lecture 3 - Software Tools n Environment.pptx
SE - Lecture 3 - Software Tools n Environment.pptx
 
Introduction to OOAD
Introduction to OOADIntroduction to OOAD
Introduction to OOAD
 
Uml tutorial
Uml tutorialUml tutorial
Uml tutorial
 

Plus de Ramakant Soni

GATE 2021 Exam Information
GATE 2021 Exam InformationGATE 2021 Exam Information
GATE 2021 Exam InformationRamakant Soni
 
Role of Data Cleaning in Data Warehouse
Role of Data Cleaning in Data WarehouseRole of Data Cleaning in Data Warehouse
Role of Data Cleaning in Data WarehouseRamakant Soni
 
NOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLNOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLRamakant Soni
 
Huffman and Arithmetic coding - Performance analysis
Huffman and Arithmetic coding - Performance analysisHuffman and Arithmetic coding - Performance analysis
Huffman and Arithmetic coding - Performance analysisRamakant Soni
 
UML daigrams for Bank ATM system
UML daigrams for Bank ATM systemUML daigrams for Bank ATM system
UML daigrams for Bank ATM systemRamakant Soni
 
Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Ramakant Soni
 
Sequence diagram- UML diagram
Sequence diagram- UML diagramSequence diagram- UML diagram
Sequence diagram- UML diagramRamakant Soni
 
Use Case diagram-UML diagram-1
Use Case diagram-UML diagram-1Use Case diagram-UML diagram-1
Use Case diagram-UML diagram-1Ramakant Soni
 

Plus de Ramakant Soni (9)

GATE 2021 Exam Information
GATE 2021 Exam InformationGATE 2021 Exam Information
GATE 2021 Exam Information
 
Role of Data Cleaning in Data Warehouse
Role of Data Cleaning in Data WarehouseRole of Data Cleaning in Data Warehouse
Role of Data Cleaning in Data Warehouse
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
NOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLNOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQL
 
Huffman and Arithmetic coding - Performance analysis
Huffman and Arithmetic coding - Performance analysisHuffman and Arithmetic coding - Performance analysis
Huffman and Arithmetic coding - Performance analysis
 
UML daigrams for Bank ATM system
UML daigrams for Bank ATM systemUML daigrams for Bank ATM system
UML daigrams for Bank ATM system
 
Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Collaboration diagram- UML diagram
Collaboration diagram- UML diagram
 
Sequence diagram- UML diagram
Sequence diagram- UML diagramSequence diagram- UML diagram
Sequence diagram- UML diagram
 
Use Case diagram-UML diagram-1
Use Case diagram-UML diagram-1Use Case diagram-UML diagram-1
Use Case diagram-UML diagram-1
 

Dernier

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 

Dernier (20)

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 

UML Diagrams- Unified Modeling Language Introduction

  • 1. Lecture 1: Introduction Duration : 3 HRS Object Oriented Modeling with UML by Ramakant Soni Assistant Professor Dept. of Computer Science B. K. Birla Institute of Engineering & Technology, Pilani Ramakant Soni @ BKBIET Pilani 1
  • 2. Objective of the module Objective 1: This course is to learn modeling and design programs using the object approach. The language used is UML. Objective 2:Objective 2: To provide a software development methodology starting the real world until the completion of the program Objective 3: Learn how to design objects in view of reusability. Ramakant Soni @ BKBIET Pilani 2
  • 3. What is a Model? Definition 1: In (computers) Model is a simulation to reproduce behavior of a system. Definition 2: Ramakant Soni @ BKBIET Pilani 3 Definition 2: It’s the representation of entities and relationships between them. Definition 3: A model serves as an abstraction - an approximate representation of the real item that is being built.
  • 4. What is modeling? Definition 1:Definition 1: Process of representing a real-world object or phenomenon as a set of mathematical equations. Definition 2: Designing and analyzing a mathematical representation of an economic system to study the effect of changes to system variables. Ramakant Soni @ BKBIET Pilani 4
  • 5. Why to model? • It is neither technically wise nor economically practical to build certain kind of complex systems without first creating a design, a blueprint or another abstract representation. For example : Professional architect needs to first develop an array of architectural plans before constructing a multi- office building.office building. • Modeling provides architects and others with the ability to visualize entire systems, assess different options and communicate designs more clearly before taking on the risks- technical, financial or otherwise of actual construction. Ramakant Soni @ BKBIET Pilani 5
  • 6. When do we model? Some specific situations in which the modeling effort is worthwhile include: • To better understand the business or engineering situation at hand ("as-is" model) and to craft a better system ("to-be" model). situation at hand ("as-is" model) and to craft a better system ("to-be" model). • To build and design a system architecture. • To create visualizations of code and other forms of implementation. Ramakant Soni @ BKBIET Pilani 6
  • 7. How do We model? • A standard means for representing software models and related artifacts. Software architects, designers and developers use UML for specifying, visualizing, constructing and documenting all aspects of a software system. Key leaders from IBM Rational led the original development of UML. Today, UML is managed by the Object Management Group (OMG), which ensure that the specification continues to meet the dynamic needs of the software community.software community. • UML is more than just a graphical notational standard -- it is a modeling language. As with all languages, UML defines syntax (both graphical and textual) and semantics (the underlying meanings of the symbols and text). Having a true modeling language rather than just a standard notation is essential for standardizing the use of UML. UML -- a true modeling language -- has helped it become the software industry's most recognized and widely applicable modeling standard. Ramakant Soni @ BKBIET Pilani 7
  • 8. Objects • Objects are key to understanding object-oriented technology. If we look around right now and we'll find many examples of real-world objects: our book, desk, laptop, or phones. • Software objects are conceptually similar to real-world objects: they too consist of state and related behavior. An object stores its state in fields/ variables and exposes its behavior through methods/ functions. Ramakant Soni @ BKBIET Pilani 8
  • 9. Object Responsibilities Objects (classes) have responsibilities, which they are expected to exhibit in an object-oriented information: • What they know about themselves -: (Attributes)• What they know about themselves -: (Attributes) • What they do -: (Operations) • What they know about other objects -:(Class and object relationships ) Ramakant Soni @ BKBIET Pilani 9
  • 10. Object Oriented Modeling • Object-oriented modeling is an approach to modeling an application that is used at the beginning of the software life cycle when using an object-oriented approach to software development. • Object-oriented modeling is typically done via use cases and abstract definitions of the most important objects. The most common language used to do object-oriented modeling is the Object Management Group's Unified Modeling Language (UML). Ramakant Soni @ BKBIET Pilani 10
  • 11. Object Oriented Concept Following are some fundamental concepts of object oriented world: • Objects: Objects represent an entity and the basic building block. • Class: Class is the blue print of an object. • Abstraction: Abstraction represents the behavior of an real world entity. • Encapsulation: Encapsulation is the mechanism of binding the data together and hiding them from outside world. • Inheritance: Inheritance is the mechanism of making new classes from existing one. • Polymorphism: It defines the mechanism to exists in different forms. Ramakant Soni @ BKBIET Pilani 11
  • 12. UML • The key thing to remember about UML is that it is designed to be universal, it is intended to be independent of implementation platform. Specifically it is a PIM, a platform-independentSpecifically it is a PIM, a platform-independent model. Ramakant Soni @ BKBIET Pilani 12
  • 13. Unified Modeling Language (UML) • UML is a general-purpose modeling language in the field of software engineering, which is designed to provide a standard way to visualize the design of a system. • It was created and developed by Grady Booch, Ivar Jacobson and James Rumbaugh at Rational Software during 1994–95 with further development led by them through 1996.development led by them through 1996. • In 1997 it was adopted as a standard by the Object Management Group (OMG), and has been managed by this organization ever since. In 2000 the Unified Modeling Language was also accepted by the International Organization for Standardization (ISO) as an approved ISO standard. Since then it has been periodically revised to cover the latest revision of UML. Ramakant Soni @ BKBIET Pilani 13
  • 14. 4 parts to the UML 2.x specification: • The Superstructure that defines the notation and semantics for diagrams and their model elements. • The Infrastructure that defines the core meta-model on which the Superstructure is based.which the Superstructure is based. • The Object Constraint Language (OCL) for defining rules for model elements. • The UML Diagram Interchange that defines how UML 2 diagram layouts are exchanged. Ramakant Soni @ BKBIET Pilani 14
  • 15. Design/Usage Software development methods UML is not a development method by itself; however, it was designed to be compatible with the leading object-oriented software development methods of its time. UML diagrams represent two different views of a system model: • Static (or structural) view: emphasizes the static structure of the system using objects, attributes, operations and relationships. • Dynamic (or behavioral) view: emphasizes the dynamic behavior of the system by showing collaborations among objects and changes to the internal states of objects. Ramakant Soni @ BKBIET Pilani 15
  • 16. Applications of UML • UML is very powerful modeling language. We can develop many diagrams using UML and provide users with ready-to-use, expressive modeling examples. • UML can be applied in many areas like embedded systems, web applications, commercial applications etc. • Some UML tools generate program language code from UML. • UML can be used for modeling the whole system independent of platform language. • UML gives us a standard way to write a system's view, covering conceptual things such as business processes and system functions, as well as things like classes written in a specific programming language, database schemas, and reusable software components. Ramakant Soni @ BKBIET Pilani 16
  • 17. Areas where UML is effectively used UML has been used effectively in following areas: • Enterprise information systems. • Banking and financial services. • Telecommunications. • Transportation.• Transportation. • Defense. • Retail. • Medical electronics. • Science and Research. • Distributed Web-based services. Ramakant Soni @ BKBIET Pilani 17
  • 18. Why modeling with UML is used • Modeling provides structure for problem solving. • If we model a system, we may find multiple solutions. • Modeling helps us manage the complexity of systems before actually starting development work. • With various diagrams from UML we can show clear views of• With various diagrams from UML we can show clear views of system thus reducing time-to-market for business problem solutions. • If we model any problem before its development there are fewer chances that our development plan will go wrong, thus decreasing development costs. • Modeling reduces the risk of mistakes. Ramakant Soni @ BKBIET Pilani 18
  • 19. Design examples: Taxi service - Workflow diagram "A taxicab, also known as a taxi or a cab, is a type of vehicle for hire with a driver, used by a single passenger or small group of passengers often for a non-shared ride. A taxicab conveys passengers between locations of their choice. In modes of public transport, the pick-up and drop-off locations are determined by the service provider, not by the passenger, although demand responsive transport and share taxis provide a hybrid bus/taxi mode. There are four distinct forms of taxicab, which can be identified by slightly differing terms in different countries: (1) Hackney carriages also known as public hire, hailed or street taxis, licensed for hailing throughout communities. (2) Private hire vehicles, also known as minicabs or private hire taxis, licensed for pre-booking only. (3) Taxi buses, also known as Jitneys, operating on pre-set routes typified by multiple stops and multiple independent passengers. (4) Limousines, specialized vehicle licensed for operation by pre-booking. Although types of vehicles and methods of regulation, hiring, dispatching, and negotiating payment differ significantly from country to country, many common characteristics exist.“ Ramakant Soni @ BKBIET Pilani 19
  • 20. Flow: Ramakant Soni @ BKBIET Pilani 20
  • 21. Is UML a Language? • UML can be described as a general purpose visual modeling language to visualize, specify, construct and document software system. Although UML is generally used to model software systems but it is not limited within this boundary. It is also used tonot limited within this boundary. It is also used to model non software systems as well like process flow in a manufacturing unit etc. • UML is not a programming language but tools can be used to generate code in various languages using UML diagrams. Ramakant Soni @ BKBIET Pilani 21
  • 22. Goal of UML • Its goal is to define some general purpose modeling language which all modelers can use and also it needs to be made simple to understand and use. • UML diagrams are not only for developers but also for business users, common people and anybody interested to understand the system. The system can be a software or non software. Ramakant Soni @ BKBIET Pilani 22
  • 23. UML Diagrams • UML has many types of diagrams which are divided into two categories. Some types represent structural information, and the rest represent general types of behavior, includingrepresent general types of behavior, including a few that represent different aspects of interactions. Ramakant Soni @ BKBIET Pilani 23
  • 24. UML Diagram Hierarchy Ramakant Soni @ BKBIET Pilani 24
  • 25. Ramakant Soni @ BKBIET Pilani 25
  • 26. UML Building Blocks The building blocks of UML can be defined as: 1. Things 2. Relationships 3. Diagrams3. Diagrams Ramakant Soni @ BKBIET Pilani 26
  • 27. UML Building Blocks Things can be defined as: Structural, Behavioral, Grouping & An-notational. Relationship shows how elements are associated with each other and this association describes thewith each other and this association describes the functionality of an application. UML diagrams: All the elements, relationships are used to make a complete UML diagram and the diagram represents a system. Ramakant Soni @ BKBIET Pilani 27
  • 28. Structural things The Structural things define the static part of the model. They represent physical and conceptual elements. Structural things constitutes: • Class: Class represents set of objects having similar responsibilities. Ramakant Soni @ BKBIET Pilani 28
  • 29. Interface Interface defines a set of operations which specify the responsibility of a class. Ramakant Soni @ BKBIET Pilani 29 I Interface
  • 30. Collaboration: Collaboration defines interaction between elements. Ramakant Soni @ BKBIET Pilani 30
  • 31. Use case: Use case represents a set of actions performed by a system for a specific goal. Ramakant Soni @ BKBIET Pilani 31
  • 32. Component Component describes physical part of a system. Ramakant Soni @ BKBIET Pilani 32
  • 33. Node A node can be defined as a physical element that exists at run time. Ramakant Soni @ BKBIET Pilani 33
  • 34. Behavioral things: • A behavioral thing consists of the dynamic parts of UML models. Ramakant Soni @ BKBIET Pilani 34
  • 35. Interaction: • Interaction is defined as a behavior that consists of a group of messages exchanged among elements to accomplish a specific task. Ramakant Soni @ BKBIET Pilani 35 Message
  • 36. State machine: • State machine is useful when the state of an object in its life cycle is important. It defines the sequence of states an object goes through in response to events. Events are external factors responsible for state change. Ramakant Soni @ BKBIET Pilani 36
  • 37. Package: • Package is the only one grouping thing available for gathering structural and behavioral things. Ramakant Soni @ BKBIET Pilani 37
  • 38. Annotational things: • Annotational things can be defined as a mechanism to capture remarks, descriptions, and comments of UML model elements. Note is the only one Annotational thing available. Ramakant Soni @ BKBIET Pilani 38 Notes
  • 39. References : • http://www.ibm.com/developerworks/rational/library/6007.h tml • http://en.wikipedia.org/wiki/Unified_Modeling_Language • http://conferences.embarcadero.com/article/32200 • Tutorialspoint.com/ UML Tutorial• Tutorialspoint.com/ UML Tutorial Ramakant Soni @ BKBIET Pilani 39
  • 40. Thanks Ramakant Soni @ BKBIET Pilani 40