SlideShare une entreprise Scribd logo
1  sur  56
Presented to Mr. Syed Ali Imran
Presented By
UML
 What is UML
 History of UML
 Importance of software model
 Various diagram of UML
 Use of UML Diagram
What is UML
 Unified modeling language (UML) for visualizing,







specifying, constructing, documenting of artifact of a
software system
The blueprint of a system is written in it
UML is also used for modeling non-software system
It is standard for building object oriented and
component based software system
UML is a notation system though which we can
visualize a model of a system
It describe only design or structure of system
History of UML
 In early stages of model driven development there was

a great need for some universal approach for
modeling a software system
 As deferent people understand the notation in
different way if there is no universal model approach
 At that time brooch, rumba, Jacobson gave there
theories and universally accepted
 All of three decided to build a notation language by
merging all of three language and out product of that
was UML (unified modeling language )
History of UML
 In 1997 OMG (Object management group) a non profit

organization standardized the UML
 Since then they are making improvement in UML
 Released versions of UML
Versions of UML











2.2 February 2009 http://www.omg.org/spec/UML/2.2
2.1.2 November 2007 http://www.omg.org/spec/UML/2.1.2
2.1.1 August 2007
http://www.omg.org/spec/UML/2.1.1
2.0 July 2005
http://www.omg.org/spec/UML/2.0
1.5 March 2003
http://www.omg.org/spec/UML/1.5
1.4.2 July 2004
ISO/IEC 19501
1.4 September 2001 http://www.omg.org/spec/UML/1.4
1.3 March 2000
http://www.omg.org/spec/UML/1.3
1.2 July 1998
1.1 November 1997
UML 1.1
 Use case diagrams (fulfill purposed functionality)
 Class diagrams (depict static view and relationship)
 Object diagrams (depict view of instance of class )
 Sequence diagrams (depict messages over time line)
 Collaboration diagrams (like sequence diagram but define






object roles)
State chart diagrams (depicts states of the object)
Activity diagrams (dynamic view like flow chart )
Component diagrams (depict components )
Deployment diagrams (depict physical layout of system )
New in UML2.0
 Changes in activity diagram
 The first noticeable change is that the nodes in activity

diagrams are no longer called activities. They are
called actions
 These constraints are shown as notes attached to the
action with the appropriate stereotype symbol
 In UML 2.0, an action will not fire until each of the
incoming flows triggers
 new to UML 2.0, is the time signal. A time signal is
received because a certain amount of time has passed
New in UML 2.0
 The final addition to the basic activity diagram is the

connector.
 The connector indicates that a flow moves from one
activity diagram to another.
 UML 2.0 contains three new ways to group and
decompose actions
 UML 2.0 introduces activity partitions to handle
problems
New to UML 2.0
 Changes in Class diagram
 Visibility is a single character representing whether the








attribute is visible to the
public (+),
private (-),
protected (#),
or package (~).
The slash (/)
Indicates whether the attribute is derived
Use Case diagram
 Changes in use case diagram
 The exact extension point that is used between the two

use cases
Importance of Software Model
 If software is complex need of model
 If a system is developed by the hundreds of People






there is also need of model for smooth communication
and understanding the software system
mange complexity in design
build and design architecture
Visualize the implementation
Design secure , scalable, robust and extendable system
UML 2.0 Diagrams
 UML is divided in to two General set of Diagrams
 Structured modeling diagrams

It depicts the static view of the model
 Behavioral modeling diagram
Behavior diagrams depicts the varieties of interaction
within a model as it 'executes' over time
Structural Modeling Diagram
 Class Diagram
 Object Diagram
 Component Diagram

 Package Diagram
 Composite Structure
 Deployment Diagram
Behavioral Modeling Diagram
 Use Case Diagram
 Activity Diagram
 State Machine Diagram

 Communication Diagram
 Sequence Diagram
 Timing Diagram

 Interaction Over view Diagram
Class diagram






It depicts the static view of a model
It is the basic building block of the object oriented system
It illustrate the relation ship between classes in the system
Class diagram consist of:
Class diagram
It consist of rectangle with three compartments

Class name is added in this this compartment (teacher)
Class attribute is added in this department (name )
Class methods are placed in this compartments (teach)
Class diagram
 + sign with attributes or methods shows class member are

public
 - sign with attribute or methods shows class members are
private

Class name is added in this this compartment (teacher)
Class attribute is added in this department (-name)
Class methods are placed in this compartments (+teach)
Class diagram
 Class diagram show relationship between class
 Generalizations

A generalization is used to indicate inheritance.
 Aggregations
Aggregations are used to depict elements which are
made up of smaller components
Example composite-Aggregation
Address book and contact group and contacts
Class diagram
Association Relationship
Composition
Generalization
Object diagram
 An object diagram may be considered a special case of





a class diagram
Object diagrams emphasize the relationship between
instances of classes at some point in time
Object is shown by a rectangular with classifier name
in the center f rectangular and under line
Object diagram shows complex relationship between
classes
It is useful if we feel classes as more abstract abstract
Object diagram
Package diagram
 Package diagram are used to divide the model into logical







containers and their interaction
Package diagram is used to show the high level view of the
system
As software system have a lot of class (building block in
object oriented system) to organize those in a package to
show higher level view of the system
Package is used to structure your classes
Package diagram is used divide the complex system in to
modules
And In large system to show the large elements and their
communication
It is used in large and complex systems
Package diagram (merge)
Package diagram
 A «merge» connector between two packages defines

an implicit generalization between elements in the
source package
Component diagram
 Component diagram shows the system in term





modules
Components can be represented as encapsulated,
reusable, replaceable
Component can be used as building block of the
system
Component communicate with each other through
interfaces
Component can do the same thing as class
Component diagram
Component diagram
 Component diagram are shown same as class instead

of sign in the component diagram
component

required interface

port

provided interface
Component diagram
 Ball represented provided interfaces
 Provided interfaces that’s a component implements
 Required interfaces that a component required to

provide its functionality
 Port is door way through communication pass
 Component is useful to show the system in term of
module
Deployment diagram
 Deployment diagram model the physical layout of the

system mapping software artifact to hardware in
which they execute and their communication
 Deployment diagram is used to show the physical
deployment of the system
 Deployment diagram has node which may be a hard
ware or any device that host the software and my be a
software that host another software (example
operating system)
 Artifacts shows the software that is implemented on
the hardware
Deployment diagram
All Behavioral Diagrams
Behavioral Modeling Diagram
 Use Case Diagram
 Activity Diagram
 State Machine Diagram

 Communication Diagram
 Sequence Diagram
 Timing Diagram

 Interaction Over view Diagram
Use Case Diagram
 A USE CASE is an interaction between a system and external










stimulate, that could a human and may be an external system
A USE CASE diagram is an purposed functionality of the system
USE CASE diagram is used to show a discrete unit of work
It is used at early stages of model
It is the simplest diagram
Example of USE CASE for a Stock trading system
Open an account
Close an account
Deposit funds
Draw funds
Use Case diagram
 This diagram consist of:
 Actor

It is represented by a human, either the actor is a human
Or and external system.
Actor is role
 Use case
It is represented by an oval shape with title in it
Use Case diagram
 USE CASE diagram have relationship
 Include

It is relationship between a use case to another use case
In which a include use case in necessary to perform
other use case, for example in place order use case
every time the check funds use case is included to
complete the place order use case
place order(use case)

<include >

(check funds) use case
Use Case diagram
 USE CASE diagram have relationship
 Extends

It is relationship between a use case to another use case
In which a extends use case in exceptionally called for
example, if before modifying a particular type of customer
order, a user must get approval from some higher authority
then the <Get Approval> use case may optionally extend
the regular <Modify Order> use case.

Modify order(use case)

<extends>

(Get Approved) use case
State diagram
 It shows the dynamic view of the system
 It is also called state chart or state machine diagram
 It shows the behavior of the system in response to

some external stimulate
 State diagram is consist of:
States
super states
pseudo state
Transition
State diagram
 State and super states are represented as a rounded

box and sub states are in super state




Pseudo
State



Super State

Psedu state
Trantion

Sub State 1

Transient

sub state 2
State diagram
Activity diagram
 Activity diagram is also dynamic view of the system
 Activity diagram similar to flow charts
 Each activity consist of series of actions

 Actions are represented by oval shapes
 Actions are connected by arrows
 Arrow shows the flow of the activity diagram

 Activity diagram also shows decision points called

decision node
Activity diagram
portions line
starting point

Actions

Decision node
action

actions

End point
Activity diagram
 Activity diagram is used to describe the individual use

case
 Use case is used to describe the user goal
 Activity diagram can be used where we can use flow
charts
Timing diagram
 Timing diagrams are used to display the change in state or value of one

or more elements over time.
 A state lifeline shows the change of state of an item over time
 The X-axis displays elapsed time in whatever units are chosen
 The Y-axis is label with a given list of states
Communication diagrams
 A communication diagram, formerly called a







collaboration diagram
It shows similar information to sequence diagrams
Communication diagram shows the objects
relationship
Objects are shown with association connectors
between them
Messages are added to the associations and show as
short arrows pointing in the direction of the message
flow
Communication diagram
Interaction Overview diagram
 Interaction diagram is the combination of activity and sequence







diagrams
It allow interaction fragments to be easily combined with
decision points and flows
An interaction overview diagram is a form of activity diagram in
which the nodes represent interaction diagrams.
Interaction diagrams can include sequence, communication,
interaction overview and timing diagrams.
Most of the notation for interaction overview diagrams is the
same for activity diagrams. For example, initial, final, decision,
and join nodes are all the same.
Interaction overview diagrams introduce two new elements:
interaction occurrences and interaction elements.
Interaction Overview diagram
 Interaction occurrences are references to existing

interaction diagrams.
 An interaction occurrence is shown as a reference
frame; that is, a frame with "ref" in the top-left corner
 Interaction elements are similar to interaction
occurrences, in that they display a representation of
existing interaction diagrams within a rectangular
frame
Interaction Overview Diagram
Interaction Overview
 All the same controls from activity diagrams (fork,

join, merge, etc.)
 Controls can be used on interaction overview diagrams
to put the control logic around the lower level
diagrams.
 The above example depicts a sample sale process
Sequence diagram
 Sequence diagrams provide a graphical representation

of object interactions over time
 One sequence diagram typically represents a single
Use Case 'scenario' or flow of events.
 The diagrams show the flow of messages from one
object to another, and as such correspond to the
methods and events supported by a class/object.
UML

Contenu connexe

Tendances

Uml with detail
Uml with detailUml with detail
Uml with detailHamza Khan
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSAshita Agrawal
 
Object oriented methodologies
Object oriented methodologiesObject oriented methodologies
Object oriented methodologiesnaina-rani
 
Unified modeling language diagrams
Unified modeling language diagramsUnified modeling language diagrams
Unified modeling language diagramsAlaa Ahmed
 
The Object Model
The Object Model  The Object Model
The Object Model yndaravind
 
CS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT IICS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT IIpkaviya
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram Rahul Pola
 
UML Diagrams- Unified Modeling Language Introduction
UML Diagrams- Unified Modeling Language IntroductionUML Diagrams- Unified Modeling Language Introduction
UML Diagrams- Unified Modeling Language IntroductionRamakant Soni
 
Architectural structures and views
Architectural structures and viewsArchitectural structures and views
Architectural structures and viewsDr Reeja S R
 
Object Oriented Approach for Software Development
Object Oriented Approach for Software DevelopmentObject Oriented Approach for Software Development
Object Oriented Approach for Software DevelopmentRishabh Soni
 
Object-Oriented Analysis and Design
Object-Oriented Analysis and DesignObject-Oriented Analysis and Design
Object-Oriented Analysis and DesignRiazAhmad786
 
Unit 2(advanced class modeling & state diagram)
Unit  2(advanced class modeling & state diagram)Unit  2(advanced class modeling & state diagram)
Unit 2(advanced class modeling & state diagram)Manoj Reddy
 
SE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context ModelSE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context ModelAmr E. Mohamed
 
Software architecture Unit 1 notes
Software architecture Unit 1 notesSoftware architecture Unit 1 notes
Software architecture Unit 1 notesSudarshan Dhondaley
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentationanasz3z3
 
Object oriented and function oriented design
Object oriented and function oriented designObject oriented and function oriented design
Object oriented and function oriented designNaveen Sagayaselvaraj
 

Tendances (20)

Uml with detail
Uml with detailUml with detail
Uml with detail
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
 
Uml
UmlUml
Uml
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
Object oriented methodologies
Object oriented methodologiesObject oriented methodologies
Object oriented methodologies
 
Unified modeling language diagrams
Unified modeling language diagramsUnified modeling language diagrams
Unified modeling language diagrams
 
Uml - An Overview
Uml - An OverviewUml - An Overview
Uml - An Overview
 
The Object Model
The Object Model  The Object Model
The Object Model
 
CS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT IICS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT II
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram
 
UML Diagrams- Unified Modeling Language Introduction
UML Diagrams- Unified Modeling Language IntroductionUML Diagrams- Unified Modeling Language Introduction
UML Diagrams- Unified Modeling Language Introduction
 
Architectural structures and views
Architectural structures and viewsArchitectural structures and views
Architectural structures and views
 
Object Oriented Approach for Software Development
Object Oriented Approach for Software DevelopmentObject Oriented Approach for Software Development
Object Oriented Approach for Software Development
 
Object-Oriented Analysis and Design
Object-Oriented Analysis and DesignObject-Oriented Analysis and Design
Object-Oriented Analysis and Design
 
Unit 2(advanced class modeling & state diagram)
Unit  2(advanced class modeling & state diagram)Unit  2(advanced class modeling & state diagram)
Unit 2(advanced class modeling & state diagram)
 
SE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context ModelSE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context Model
 
Software architecture Unit 1 notes
Software architecture Unit 1 notesSoftware architecture Unit 1 notes
Software architecture Unit 1 notes
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Object oriented and function oriented design
Object oriented and function oriented designObject oriented and function oriented design
Object oriented and function oriented design
 
Ch 6
Ch 6Ch 6
Ch 6
 

Similaire à UML (20)

UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)
 
432
432432
432
 
Uml introduction
Uml introductionUml introduction
Uml introduction
 
Uml
UmlUml
Uml
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptx
 
Uml introduciton
Uml introducitonUml introduciton
Uml introduciton
 
ooAD
ooADooAD
ooAD
 
Uml.pptx
Uml.pptxUml.pptx
Uml.pptx
 
Module 2 17CS45
Module 2 17CS45Module 2 17CS45
Module 2 17CS45
 
Unit III Dynamic and Implementation UML Diagrams.pptx
Unit III Dynamic and Implementation UML Diagrams.pptxUnit III Dynamic and Implementation UML Diagrams.pptx
Unit III Dynamic and Implementation UML Diagrams.pptx
 
Uml
UmlUml
Uml
 
Course NumberCourse SectionCourse Name.docx
Course NumberCourse SectionCourse Name.docxCourse NumberCourse SectionCourse Name.docx
Course NumberCourse SectionCourse Name.docx
 
Ch 2.1
Ch 2.1Ch 2.1
Ch 2.1
 
Uml(unified modeling language) Homework Help
Uml(unified modeling language) Homework HelpUml(unified modeling language) Homework Help
Uml(unified modeling language) Homework Help
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2
 
Uml
UmlUml
Uml
 
Experiment no
Experiment noExperiment no
Experiment no
 
Uml
UmlUml
Uml
 
Introduction.pptx
Introduction.pptxIntroduction.pptx
Introduction.pptx
 
Modeling software architecture with uml
Modeling software architecture with umlModeling software architecture with uml
Modeling software architecture with uml
 

Dernier

Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Dernier (20)

Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

UML

  • 1. Presented to Mr. Syed Ali Imran
  • 3. UML  What is UML  History of UML  Importance of software model  Various diagram of UML  Use of UML Diagram
  • 4. What is UML  Unified modeling language (UML) for visualizing,      specifying, constructing, documenting of artifact of a software system The blueprint of a system is written in it UML is also used for modeling non-software system It is standard for building object oriented and component based software system UML is a notation system though which we can visualize a model of a system It describe only design or structure of system
  • 5. History of UML  In early stages of model driven development there was a great need for some universal approach for modeling a software system  As deferent people understand the notation in different way if there is no universal model approach  At that time brooch, rumba, Jacobson gave there theories and universally accepted  All of three decided to build a notation language by merging all of three language and out product of that was UML (unified modeling language )
  • 6. History of UML  In 1997 OMG (Object management group) a non profit organization standardized the UML  Since then they are making improvement in UML  Released versions of UML
  • 7. Versions of UML           2.2 February 2009 http://www.omg.org/spec/UML/2.2 2.1.2 November 2007 http://www.omg.org/spec/UML/2.1.2 2.1.1 August 2007 http://www.omg.org/spec/UML/2.1.1 2.0 July 2005 http://www.omg.org/spec/UML/2.0 1.5 March 2003 http://www.omg.org/spec/UML/1.5 1.4.2 July 2004 ISO/IEC 19501 1.4 September 2001 http://www.omg.org/spec/UML/1.4 1.3 March 2000 http://www.omg.org/spec/UML/1.3 1.2 July 1998 1.1 November 1997
  • 8. UML 1.1  Use case diagrams (fulfill purposed functionality)  Class diagrams (depict static view and relationship)  Object diagrams (depict view of instance of class )  Sequence diagrams (depict messages over time line)  Collaboration diagrams (like sequence diagram but define     object roles) State chart diagrams (depicts states of the object) Activity diagrams (dynamic view like flow chart ) Component diagrams (depict components ) Deployment diagrams (depict physical layout of system )
  • 9. New in UML2.0  Changes in activity diagram  The first noticeable change is that the nodes in activity diagrams are no longer called activities. They are called actions  These constraints are shown as notes attached to the action with the appropriate stereotype symbol  In UML 2.0, an action will not fire until each of the incoming flows triggers  new to UML 2.0, is the time signal. A time signal is received because a certain amount of time has passed
  • 10. New in UML 2.0  The final addition to the basic activity diagram is the connector.  The connector indicates that a flow moves from one activity diagram to another.  UML 2.0 contains three new ways to group and decompose actions  UML 2.0 introduces activity partitions to handle problems
  • 11. New to UML 2.0  Changes in Class diagram  Visibility is a single character representing whether the       attribute is visible to the public (+), private (-), protected (#), or package (~). The slash (/) Indicates whether the attribute is derived
  • 12. Use Case diagram  Changes in use case diagram  The exact extension point that is used between the two use cases
  • 13. Importance of Software Model  If software is complex need of model  If a system is developed by the hundreds of People     there is also need of model for smooth communication and understanding the software system mange complexity in design build and design architecture Visualize the implementation Design secure , scalable, robust and extendable system
  • 14. UML 2.0 Diagrams  UML is divided in to two General set of Diagrams  Structured modeling diagrams It depicts the static view of the model  Behavioral modeling diagram Behavior diagrams depicts the varieties of interaction within a model as it 'executes' over time
  • 15. Structural Modeling Diagram  Class Diagram  Object Diagram  Component Diagram  Package Diagram  Composite Structure  Deployment Diagram
  • 16. Behavioral Modeling Diagram  Use Case Diagram  Activity Diagram  State Machine Diagram  Communication Diagram  Sequence Diagram  Timing Diagram  Interaction Over view Diagram
  • 17. Class diagram      It depicts the static view of a model It is the basic building block of the object oriented system It illustrate the relation ship between classes in the system Class diagram consist of: Class diagram It consist of rectangle with three compartments Class name is added in this this compartment (teacher) Class attribute is added in this department (name ) Class methods are placed in this compartments (teach)
  • 18. Class diagram  + sign with attributes or methods shows class member are public  - sign with attribute or methods shows class members are private Class name is added in this this compartment (teacher) Class attribute is added in this department (-name) Class methods are placed in this compartments (+teach)
  • 19. Class diagram  Class diagram show relationship between class  Generalizations A generalization is used to indicate inheritance.  Aggregations Aggregations are used to depict elements which are made up of smaller components Example composite-Aggregation Address book and contact group and contacts
  • 24. Object diagram  An object diagram may be considered a special case of     a class diagram Object diagrams emphasize the relationship between instances of classes at some point in time Object is shown by a rectangular with classifier name in the center f rectangular and under line Object diagram shows complex relationship between classes It is useful if we feel classes as more abstract abstract
  • 26. Package diagram  Package diagram are used to divide the model into logical       containers and their interaction Package diagram is used to show the high level view of the system As software system have a lot of class (building block in object oriented system) to organize those in a package to show higher level view of the system Package is used to structure your classes Package diagram is used divide the complex system in to modules And In large system to show the large elements and their communication It is used in large and complex systems
  • 28. Package diagram  A «merge» connector between two packages defines an implicit generalization between elements in the source package
  • 29. Component diagram  Component diagram shows the system in term     modules Components can be represented as encapsulated, reusable, replaceable Component can be used as building block of the system Component communicate with each other through interfaces Component can do the same thing as class
  • 31. Component diagram  Component diagram are shown same as class instead of sign in the component diagram component required interface port provided interface
  • 32. Component diagram  Ball represented provided interfaces  Provided interfaces that’s a component implements  Required interfaces that a component required to provide its functionality  Port is door way through communication pass  Component is useful to show the system in term of module
  • 33. Deployment diagram  Deployment diagram model the physical layout of the system mapping software artifact to hardware in which they execute and their communication  Deployment diagram is used to show the physical deployment of the system  Deployment diagram has node which may be a hard ware or any device that host the software and my be a software that host another software (example operating system)  Artifacts shows the software that is implemented on the hardware
  • 36. Behavioral Modeling Diagram  Use Case Diagram  Activity Diagram  State Machine Diagram  Communication Diagram  Sequence Diagram  Timing Diagram  Interaction Over view Diagram
  • 37. Use Case Diagram  A USE CASE is an interaction between a system and external          stimulate, that could a human and may be an external system A USE CASE diagram is an purposed functionality of the system USE CASE diagram is used to show a discrete unit of work It is used at early stages of model It is the simplest diagram Example of USE CASE for a Stock trading system Open an account Close an account Deposit funds Draw funds
  • 38. Use Case diagram  This diagram consist of:  Actor It is represented by a human, either the actor is a human Or and external system. Actor is role  Use case It is represented by an oval shape with title in it
  • 39. Use Case diagram  USE CASE diagram have relationship  Include It is relationship between a use case to another use case In which a include use case in necessary to perform other use case, for example in place order use case every time the check funds use case is included to complete the place order use case place order(use case) <include > (check funds) use case
  • 40. Use Case diagram  USE CASE diagram have relationship  Extends It is relationship between a use case to another use case In which a extends use case in exceptionally called for example, if before modifying a particular type of customer order, a user must get approval from some higher authority then the <Get Approval> use case may optionally extend the regular <Modify Order> use case. Modify order(use case) <extends> (Get Approved) use case
  • 41. State diagram  It shows the dynamic view of the system  It is also called state chart or state machine diagram  It shows the behavior of the system in response to some external stimulate  State diagram is consist of: States super states pseudo state Transition
  • 42. State diagram  State and super states are represented as a rounded box and sub states are in super state   Pseudo State  Super State Psedu state Trantion Sub State 1 Transient sub state 2
  • 44. Activity diagram  Activity diagram is also dynamic view of the system  Activity diagram similar to flow charts  Each activity consist of series of actions  Actions are represented by oval shapes  Actions are connected by arrows  Arrow shows the flow of the activity diagram  Activity diagram also shows decision points called decision node
  • 45. Activity diagram portions line starting point Actions Decision node action actions End point
  • 46. Activity diagram  Activity diagram is used to describe the individual use case  Use case is used to describe the user goal  Activity diagram can be used where we can use flow charts
  • 47. Timing diagram  Timing diagrams are used to display the change in state or value of one or more elements over time.  A state lifeline shows the change of state of an item over time  The X-axis displays elapsed time in whatever units are chosen  The Y-axis is label with a given list of states
  • 48. Communication diagrams  A communication diagram, formerly called a     collaboration diagram It shows similar information to sequence diagrams Communication diagram shows the objects relationship Objects are shown with association connectors between them Messages are added to the associations and show as short arrows pointing in the direction of the message flow
  • 50. Interaction Overview diagram  Interaction diagram is the combination of activity and sequence      diagrams It allow interaction fragments to be easily combined with decision points and flows An interaction overview diagram is a form of activity diagram in which the nodes represent interaction diagrams. Interaction diagrams can include sequence, communication, interaction overview and timing diagrams. Most of the notation for interaction overview diagrams is the same for activity diagrams. For example, initial, final, decision, and join nodes are all the same. Interaction overview diagrams introduce two new elements: interaction occurrences and interaction elements.
  • 51. Interaction Overview diagram  Interaction occurrences are references to existing interaction diagrams.  An interaction occurrence is shown as a reference frame; that is, a frame with "ref" in the top-left corner  Interaction elements are similar to interaction occurrences, in that they display a representation of existing interaction diagrams within a rectangular frame
  • 52.
  • 54. Interaction Overview  All the same controls from activity diagrams (fork, join, merge, etc.)  Controls can be used on interaction overview diagrams to put the control logic around the lower level diagrams.  The above example depicts a sample sale process
  • 55. Sequence diagram  Sequence diagrams provide a graphical representation of object interactions over time  One sequence diagram typically represents a single Use Case 'scenario' or flow of events.  The diagrams show the flow of messages from one object to another, and as such correspond to the methods and events supported by a class/object.