SlideShare a Scribd company logo
1 of 38
WHAT IS UML ?WHAT IS UML ?
• Unified Modeling Language is a modeling
language for software blueprint.
• It is a standard language for specifying,
visualizing, constructing, and documenting the
artifacts of software systems.
• It was developed by Booch, Jacobson and
Rumbaugh.
WHAT UML IS NOT ?WHAT UML IS NOT ?
• It’s not an algorithm specification language..
• It’s not a development process.It’s not a development process.
• It’s not a programming language.It’s not a programming language.
• It’s not a caseIt’s not a case tool.tool.
GOALS OF UMLGOALS OF UML
• Provide users with a ready-to-use,
expressive visual modeling language
so they can develop meaningful model.
• Provide extensible and specialization
mechanisms to extend the core concept.
• Be independent of programming language and
development processes.
TYPES OF UML DIAGRAMSTYPES OF UML DIAGRAMS
Each UML diagram is designed to let
developers and customers view a software
system from a different perspective.
1. Use Case Diagram : Displays the
relationship among actors and use cases.
2. Class Diagram : Models class structure and
contents using design elements such as
classes, packages and objects. It displays
relationships such as inheritance and
associations etc.
3. Interaction Diagram :
 Sequence Diagram : Displays the time
sequence of the objects participating in the
interaction.
 Collaboration Diagram : Displays an
interaction organized around the objects
and their links to one another.
4. Statechart Diagram : Displays the sequences
of states that an object of an interaction goes
through during its life in response to received
stimuli/event.
5. Activity Diagram : Displays a special state
diagram where most of the states are action
states and most of the transitions are triggered
by completion of the actions in the source
states. In this diagram
Focus is on flows driven by processing.
6. Physical Diagrams :
 Component Diagram : Shows the
organization and dependencies among a set
of components. Involves the modeling of
physical things that reside on a node – such
as executables, libraries, tables, files and
documents.
 Deployment Diagram : Displays the
configuration of run-time processing
elements and the software components,
processes and objects that live on them.
ARCHITECTURE OF AARCHITECTURE OF A
SOFTWARE SYSTEMSOFTWARE SYSTEM
• Use Case View : It describes the behavior of
the system typically as seen by the end user.
• Design View : It encompasses the classes,
interfaces and collaborations that make up the
system. Shows how functional requirement
have been implemented.
• Process View : It encompasses the threads and
processes that make up the system.
• Implementation View : It encompasses the
components, files and packages that are used
to assemble the system.
• Deployment View : It encompasses nodes that
form the system and addresses the
distributivity and installation of system.
ELEMENTS OR THINGS OF UMLELEMENTS OR THINGS OF UML
Many elements or things that must be well
understood to draw UML diagrams are broken
down into following categories :
• Structural Elements
• Behavioral Elements
• Grouping Elements
• Annotations
• STRUCTURAL ELEMENTS :
They are the static parts of the model usually
represents the static concepts or physical
entities with system.
 Classes
 Interfaces
 Collaboration
 Use case
 Active classes
 Components
 Nodes
• BEHAVIORAL ELEMENT :
These are the dynamic parts of the model.
They represent the behaviour of the static
elements of the model.
 Messages : Represents messages
exchanged between objects and represents
flow of the system.
 States : Represents the state of an object at
a particular point in time. States allow
objects to make choices about how to
respond to an event.
• ANNOTATION ELEMENTS:
These are explanatory elements of the UML.
These are used to describe other things
represented by a single element.
 Note
RELATIONSHIPS IN UMLRELATIONSHIPS IN UML
There are 4 types of relationships :
1. Dependency
2. Association
3. Generalization
4. Realization
0..1 *
employer employee
• DEPENDENCY :
It is a semantic relationship between two things
that represents that a change to the independent
element will affect the dependent element.
-------
• ASSOCIATION :
It represents a structural relationship (usually
among the classes). It has name, multiplicity,
source and target, role names.
• GENERALIZATION :
It indicates specialized element is substitutable
For a generalized element. It represents is-a kind
Of relationship.
• REALIZATION :
It is a semantic relationship that specifies a
contract between a specifier and a provider. It
exist only between interfaces and classes or
components and use cases and collaboration.
----------|
COMMON MECHANISMSCOMMON MECHANISMS
1. NOTES : A note is a graphical symbol for
rendering constraints or comments attached to
a element.
2.STEREOTYPES : Allows to create new
kind of building blocks similar to existing
ones but specific to our problem
<<exception>
Underflow
3. TAGGED VALUES :Tagged value is
denoted by (name, value) pair that describes the
property of a model element.
Server
{Processor = 3}
4. CONSTRAINTS : Graphically, a
Constraint is rendered as a string enclosed by
Brackets and placed near the associated element.
Portfolio
Bank Account
{secure} Corporation
Person
Gender :{male , female}
{or}
USE CASE DIAGRAMUSE CASE DIAGRAM
• A use case diagram specifies the behavior of a
system or a part of a system and is a
description of a set of sequences of actions.
• Components of Use Case Model :
 Actor
 Use Case
• Relationships in Use Case Model :
 communicates Relationship :
<<communicates>> Use Case
 uses or includes Relationship :
Place order Validate Customer
 extends Relationship:
Base usecase
Place order
Overdraw amount<<uses>> <<extends>>
.
Get balance
Validate user
Withdraw money
Maintain ATM
Overdraw money
<<extends>>
<<extends>>
<<uses>>
<<Uses>>
Maintenance
person
Save transaction
Database
customer
CLASS DIAGRAMCLASS DIAGRAM
• A class diagram shows a set of classes,
interfaces, collaborations and their
relationships.
• Class diagram contains following things :
 Classes
 Interfaces
 Collaboration
 Dependency, Generalization and
Association relationships.
• It may contain notes and constraints.
.
Company
Department Office
name : Name Address : string
Person
Name : String
Eid : Integer
getPhoto(P:Photo)
getContactInfo()
getPersonalInfo()
Head Quarters
generalization
0..1
1
1..* 1..*
Personnel_Record
Contact_Info
dependency
member
role
Tax ID
Salary Isecure information
Interface
SEQUENCE DIAGRAMSEQUENCE DIAGRAM
• Sequence diagram shows, for a particular
scenario, the events that external actors
generate, their order, and inter-system events.
.
: System
: Cashier
Make a new sale
enterItem( itemID , quantity )
Description , total
[more items]
loop
end sale
total with taxes
make payment(amount)
receipt
Process Sale Scenario
COLLABORATION DIAGRAMCOLLABORATION DIAGRAM
• Collaboration diagrams model the interactions
between the object.
• It is the cross between an object diagram and
sequence diagram.
• Notations used :
 Object
 Actor
 Message
..
..
1. Find user
2. Update user WebApp : user
interface
User validator2.1 Validate user
User database
1.1 Lookup user
2.1 Look user
Collaboration Diagram
STATE CHART DIAGRAMSTATE CHART DIAGRAM
• A State Chart Diagram relates events and states.
When an event is received, the next state
depends on the current state as well as the event;
a change of state caused by an event is called as
transition.
• A State Diagram is a graph whose nodes are
states and whose directed arcs are transitions
states.
.
State Chart Diagram
ACTIVITY DIAGRAMACTIVITY DIAGRAM
• Activity diagram shows the flow from activity to
activity within a system.
• Activity diagram commonly contains:
 Activity State
 Action State
 Transitions
 Objects
 Forks and Join
 Branching
 Swimlanes
.
Customer Sales Warehouse
Swimlanes
•
Request Product
Process Order
O : order
[in progress]
Pull Material
Ship Order
Receive
order
Bill
customer
Pay Bill
b: bill
[paid]
b: bill
[unpaid]
O : order
[filled]
state
Close order
• Final state
COMPONENT DIAGRAMCOMPONENT DIAGRAM
• A component is a physical replaceable part of
a system that conforms to and provides the
realization of a set of interfaces.
• COMPONENTS AND CLASSES :
1. Class are logical abstraction; while
components represent physical thing.
2. Component represent physical packaging of
logical components.
3. Classes may have attributes and operations.
Component have only operations that are
reachable only through their interfaces.
THANK YOU…!!!THANK YOU…!!!

More Related Content

What's hot

Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
Haitham El-Ghareeb
 

What's hot (20)

Object oriented modeling and design
Object oriented modeling and designObject oriented modeling and design
Object oriented modeling and design
 
Object Oriented Approach for Software Development
Object Oriented Approach for Software DevelopmentObject Oriented Approach for Software Development
Object Oriented Approach for Software Development
 
Pawan111
Pawan111Pawan111
Pawan111
 
Object oriented analysis and design unit- i
Object oriented analysis and design unit- iObject oriented analysis and design unit- i
Object oriented analysis and design unit- i
 
Object Oriented Analysis (Coad-Yourdon)
Object Oriented Analysis (Coad-Yourdon)Object Oriented Analysis (Coad-Yourdon)
Object Oriented Analysis (Coad-Yourdon)
 
Object model
Object modelObject model
Object model
 
Structural modeling and analysis
Structural modeling and analysisStructural modeling and analysis
Structural modeling and analysis
 
Object Oriented Analysis and Design with UML2 part1
Object Oriented Analysis and Design with UML2 part1Object Oriented Analysis and Design with UML2 part1
Object Oriented Analysis and Design with UML2 part1
 
Chapter20 object oriented analysis and design
Chapter20 object oriented analysis and designChapter20 object oriented analysis and design
Chapter20 object oriented analysis and design
 
Oomd unit1
Oomd unit1Oomd unit1
Oomd unit1
 
Unit 1( modelling concepts & class modeling)
Unit  1( modelling concepts & class modeling)Unit  1( modelling concepts & class modeling)
Unit 1( modelling concepts & class modeling)
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
 
Shlaer mellor-method
Shlaer mellor-methodShlaer mellor-method
Shlaer mellor-method
 
Object Process Methodology
Object Process MethodologyObject Process Methodology
Object Process Methodology
 
Object Oriented Methodology in Java (Lecture-1)
Object Oriented Methodology in Java (Lecture-1)Object Oriented Methodology in Java (Lecture-1)
Object Oriented Methodology in Java (Lecture-1)
 
Chapter1
Chapter1Chapter1
Chapter1
 
Oo methodology
Oo methodologyOo methodology
Oo methodology
 
Object oriented analysis and design unit- ii
Object oriented analysis and design unit- iiObject oriented analysis and design unit- ii
Object oriented analysis and design unit- ii
 
Function Modeling Introduction
Function Modeling IntroductionFunction Modeling Introduction
Function Modeling Introduction
 
Unit 1- OOAD ppt
Unit 1- OOAD  pptUnit 1- OOAD  ppt
Unit 1- OOAD ppt
 

Viewers also liked

REAL TIME OPERATING SYSTEM
REAL TIME OPERATING SYSTEMREAL TIME OPERATING SYSTEM
REAL TIME OPERATING SYSTEM
prakrutijsh
 
Real Time Operating System
Real Time Operating SystemReal Time Operating System
Real Time Operating System
vivek223
 
Embedded System Tools ppt
Embedded System Tools  pptEmbedded System Tools  ppt
Embedded System Tools ppt
Halai Hansika
 

Viewers also liked (18)

Embedded Software Development
Embedded Software DevelopmentEmbedded Software Development
Embedded Software Development
 
Embedded software development using BDD
Embedded software development using BDDEmbedded software development using BDD
Embedded software development using BDD
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
 
Embedded systems ppt
Embedded systems pptEmbedded systems ppt
Embedded systems ppt
 
Real-Time Scheduling Algorithms
Real-Time Scheduling AlgorithmsReal-Time Scheduling Algorithms
Real-Time Scheduling Algorithms
 
REAL TIME OPERATING SYSTEM
REAL TIME OPERATING SYSTEMREAL TIME OPERATING SYSTEM
REAL TIME OPERATING SYSTEM
 
E.s unit 6
E.s unit 6E.s unit 6
E.s unit 6
 
Real Time Operating System
Real Time Operating SystemReal Time Operating System
Real Time Operating System
 
Rtos Concepts
Rtos ConceptsRtos Concepts
Rtos Concepts
 
Interrupts
InterruptsInterrupts
Interrupts
 
Structured Vs, Object Oriented Analysis and Design
Structured Vs, Object Oriented Analysis and DesignStructured Vs, Object Oriented Analysis and Design
Structured Vs, Object Oriented Analysis and Design
 
Is Your App Hackable for droidcon Berlin 2015
Is Your App Hackable for droidcon Berlin 2015Is Your App Hackable for droidcon Berlin 2015
Is Your App Hackable for droidcon Berlin 2015
 
25 Cars Worth Waiting For 2016–2019
25 Cars Worth Waiting For 2016–201925 Cars Worth Waiting For 2016–2019
25 Cars Worth Waiting For 2016–2019
 
Embedded system-Introduction to development cycle and development tool
Embedded system-Introduction to development cycle and development  toolEmbedded system-Introduction to development cycle and development  tool
Embedded system-Introduction to development cycle and development tool
 
RTOS Basic Concepts
RTOS Basic ConceptsRTOS Basic Concepts
RTOS Basic Concepts
 
Embedded System Tools ppt
Embedded System Tools  pptEmbedded System Tools  ppt
Embedded System Tools ppt
 
Sustainable transport - will it ever really count?
Sustainable transport - will it ever really count?Sustainable transport - will it ever really count?
Sustainable transport - will it ever really count?
 
Fuel Saving Tips
Fuel Saving TipsFuel Saving Tips
Fuel Saving Tips
 

Similar to Intoduction to uml

Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
MeagGhn
 
UNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptxUNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptx
viju001
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2
Sisir Ghosh
 
8.Unified Process Modelling.ppt of software engg
8.Unified Process Modelling.ppt  of software engg8.Unified Process Modelling.ppt  of software engg
8.Unified Process Modelling.ppt of software engg
SukhmanSingh91
 
Object-oriented modeling and design.pdf
Object-oriented modeling and  design.pdfObject-oriented modeling and  design.pdf
Object-oriented modeling and design.pdf
SHIVAM691605
 

Similar to Intoduction to uml (20)

CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
 
Uml
UmlUml
Uml
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Modeling software with UML
Modeling software with UMLModeling software with UML
Modeling software with UML
 
R1x g02 enterprise architecture i
R1x g02 enterprise architecture iR1x g02 enterprise architecture i
R1x g02 enterprise architecture i
 
analysis and design with uml
analysis and design with umlanalysis and design with uml
analysis and design with uml
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
 
Ch 2.1
Ch 2.1Ch 2.1
Ch 2.1
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptx
 
UNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptxUNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptx
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
 
8.Unified Process Modelling.ppt of software engg
8.Unified Process Modelling.ppt  of software engg8.Unified Process Modelling.ppt  of software engg
8.Unified Process Modelling.ppt of software engg
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling language
 
Object-oriented modeling and design.pdf
Object-oriented modeling and  design.pdfObject-oriented modeling and  design.pdf
Object-oriented modeling and design.pdf
 
Cs8592 ooad unit 1
Cs8592 ooad unit 1Cs8592 ooad unit 1
Cs8592 ooad unit 1
 
Cs8592 ooad unit 1
Cs8592 ooad unit 1Cs8592 ooad unit 1
Cs8592 ooad unit 1
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Recently uploaded (20)

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 

Intoduction to uml

  • 1.
  • 2. WHAT IS UML ?WHAT IS UML ? • Unified Modeling Language is a modeling language for software blueprint. • It is a standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems. • It was developed by Booch, Jacobson and Rumbaugh.
  • 3. WHAT UML IS NOT ?WHAT UML IS NOT ? • It’s not an algorithm specification language.. • It’s not a development process.It’s not a development process. • It’s not a programming language.It’s not a programming language. • It’s not a caseIt’s not a case tool.tool.
  • 4. GOALS OF UMLGOALS OF UML • Provide users with a ready-to-use, expressive visual modeling language so they can develop meaningful model. • Provide extensible and specialization mechanisms to extend the core concept. • Be independent of programming language and development processes.
  • 5. TYPES OF UML DIAGRAMSTYPES OF UML DIAGRAMS Each UML diagram is designed to let developers and customers view a software system from a different perspective. 1. Use Case Diagram : Displays the relationship among actors and use cases. 2. Class Diagram : Models class structure and contents using design elements such as classes, packages and objects. It displays relationships such as inheritance and associations etc.
  • 6. 3. Interaction Diagram :  Sequence Diagram : Displays the time sequence of the objects participating in the interaction.  Collaboration Diagram : Displays an interaction organized around the objects and their links to one another. 4. Statechart Diagram : Displays the sequences of states that an object of an interaction goes through during its life in response to received stimuli/event.
  • 7. 5. Activity Diagram : Displays a special state diagram where most of the states are action states and most of the transitions are triggered by completion of the actions in the source states. In this diagram Focus is on flows driven by processing. 6. Physical Diagrams :  Component Diagram : Shows the organization and dependencies among a set of components. Involves the modeling of physical things that reside on a node – such as executables, libraries, tables, files and documents.
  • 8.  Deployment Diagram : Displays the configuration of run-time processing elements and the software components, processes and objects that live on them.
  • 9. ARCHITECTURE OF AARCHITECTURE OF A SOFTWARE SYSTEMSOFTWARE SYSTEM
  • 10. • Use Case View : It describes the behavior of the system typically as seen by the end user. • Design View : It encompasses the classes, interfaces and collaborations that make up the system. Shows how functional requirement have been implemented. • Process View : It encompasses the threads and processes that make up the system.
  • 11. • Implementation View : It encompasses the components, files and packages that are used to assemble the system. • Deployment View : It encompasses nodes that form the system and addresses the distributivity and installation of system.
  • 12. ELEMENTS OR THINGS OF UMLELEMENTS OR THINGS OF UML Many elements or things that must be well understood to draw UML diagrams are broken down into following categories : • Structural Elements • Behavioral Elements • Grouping Elements • Annotations
  • 13. • STRUCTURAL ELEMENTS : They are the static parts of the model usually represents the static concepts or physical entities with system.  Classes  Interfaces  Collaboration  Use case  Active classes  Components  Nodes
  • 14. • BEHAVIORAL ELEMENT : These are the dynamic parts of the model. They represent the behaviour of the static elements of the model.  Messages : Represents messages exchanged between objects and represents flow of the system.  States : Represents the state of an object at a particular point in time. States allow objects to make choices about how to respond to an event.
  • 15. • ANNOTATION ELEMENTS: These are explanatory elements of the UML. These are used to describe other things represented by a single element.  Note
  • 16. RELATIONSHIPS IN UMLRELATIONSHIPS IN UML There are 4 types of relationships : 1. Dependency 2. Association 3. Generalization 4. Realization
  • 17. 0..1 * employer employee • DEPENDENCY : It is a semantic relationship between two things that represents that a change to the independent element will affect the dependent element. ------- • ASSOCIATION : It represents a structural relationship (usually among the classes). It has name, multiplicity, source and target, role names.
  • 18. • GENERALIZATION : It indicates specialized element is substitutable For a generalized element. It represents is-a kind Of relationship. • REALIZATION : It is a semantic relationship that specifies a contract between a specifier and a provider. It exist only between interfaces and classes or components and use cases and collaboration. ----------|
  • 19. COMMON MECHANISMSCOMMON MECHANISMS 1. NOTES : A note is a graphical symbol for rendering constraints or comments attached to a element. 2.STEREOTYPES : Allows to create new kind of building blocks similar to existing ones but specific to our problem <<exception> Underflow
  • 20. 3. TAGGED VALUES :Tagged value is denoted by (name, value) pair that describes the property of a model element. Server {Processor = 3}
  • 21. 4. CONSTRAINTS : Graphically, a Constraint is rendered as a string enclosed by Brackets and placed near the associated element. Portfolio Bank Account {secure} Corporation Person Gender :{male , female} {or}
  • 22. USE CASE DIAGRAMUSE CASE DIAGRAM • A use case diagram specifies the behavior of a system or a part of a system and is a description of a set of sequences of actions. • Components of Use Case Model :  Actor  Use Case
  • 23. • Relationships in Use Case Model :  communicates Relationship : <<communicates>> Use Case  uses or includes Relationship : Place order Validate Customer  extends Relationship: Base usecase Place order Overdraw amount<<uses>> <<extends>>
  • 24. . Get balance Validate user Withdraw money Maintain ATM Overdraw money <<extends>> <<extends>> <<uses>> <<Uses>> Maintenance person Save transaction Database customer
  • 25. CLASS DIAGRAMCLASS DIAGRAM • A class diagram shows a set of classes, interfaces, collaborations and their relationships. • Class diagram contains following things :  Classes  Interfaces  Collaboration  Dependency, Generalization and Association relationships. • It may contain notes and constraints.
  • 26. . Company Department Office name : Name Address : string Person Name : String Eid : Integer getPhoto(P:Photo) getContactInfo() getPersonalInfo() Head Quarters generalization 0..1 1 1..* 1..* Personnel_Record Contact_Info dependency member role Tax ID Salary Isecure information Interface
  • 27. SEQUENCE DIAGRAMSEQUENCE DIAGRAM • Sequence diagram shows, for a particular scenario, the events that external actors generate, their order, and inter-system events.
  • 28. . : System : Cashier Make a new sale enterItem( itemID , quantity ) Description , total [more items] loop end sale total with taxes make payment(amount) receipt Process Sale Scenario
  • 29. COLLABORATION DIAGRAMCOLLABORATION DIAGRAM • Collaboration diagrams model the interactions between the object. • It is the cross between an object diagram and sequence diagram. • Notations used :  Object  Actor  Message
  • 30. .. .. 1. Find user 2. Update user WebApp : user interface User validator2.1 Validate user User database 1.1 Lookup user 2.1 Look user Collaboration Diagram
  • 31. STATE CHART DIAGRAMSTATE CHART DIAGRAM • A State Chart Diagram relates events and states. When an event is received, the next state depends on the current state as well as the event; a change of state caused by an event is called as transition. • A State Diagram is a graph whose nodes are states and whose directed arcs are transitions states.
  • 33. ACTIVITY DIAGRAMACTIVITY DIAGRAM • Activity diagram shows the flow from activity to activity within a system. • Activity diagram commonly contains:  Activity State  Action State  Transitions  Objects  Forks and Join  Branching  Swimlanes
  • 34.
  • 35. . Customer Sales Warehouse Swimlanes • Request Product Process Order O : order [in progress] Pull Material Ship Order Receive order Bill customer Pay Bill b: bill [paid] b: bill [unpaid] O : order [filled] state Close order • Final state
  • 36. COMPONENT DIAGRAMCOMPONENT DIAGRAM • A component is a physical replaceable part of a system that conforms to and provides the realization of a set of interfaces. • COMPONENTS AND CLASSES : 1. Class are logical abstraction; while components represent physical thing. 2. Component represent physical packaging of logical components. 3. Classes may have attributes and operations. Component have only operations that are reachable only through their interfaces.
  • 37.