SlideShare a Scribd company logo
INTRODUCTION TO UML DIAGRAMS
TABLE OF CONTENTS
Introduction to UML Diagram.
A conceptual model of UML
building blocks of UML
Things
Relationships
Diagrams
Class Diagram
INTRODUCTIONTO UML DIAGRAM.
UML stands for Unified Modelling Language.
UML is a standard language for specifying, visualizing, constructing, and documenting a
system in which software represents the most significant part.
UML is different from the other common programming languages like C++, Java, COBOL
etc.
UML is a pictorial language used to make software blue prints.
UML can serve as a central notation for software development process. Using UML helps
project teams communicate, explore potential designs, and validate the architectural designs
of software.
UML diagrams are made using notation of things and relationships.
INTRODUCTIONTO UML DIAGRAM.
UML
Refactoring
Design
Prototyping
Code Generation
AutomatedTests
Analysis
Documentation
A CONCEPTUAL MODEL OF UML
Conceptual model: A conceptual model can be defined as a model which is made of concepts
and their relationships.
As UML describes the real time systems it is very important to make a conceptual model and
then proceed gradually. Conceptual model of UML can be better understood by learning the
following three major elements :
UML building blocks
Rules to connect the building blocks
Common mechanisms of UML
BUILDING BLOCKS OF UML
The building blocks of UML can be defined as:
Things
Relationships
Diagrams
Things: Things are the most important building blocks of UML. Things can be:
Structural
Behavioral
Grouping
Annotational
STRUCTURALTHINGS
The Structural things define the static part of the model. They represent physical and
conceptual elements. Following are the brief descriptions of the structural things.
Class: Class represents set of objects having similar responsibilities.
Interface: Interface defines a set of operations which specify the responsibility of a class.
Collaboration: Collaboration defines interaction between elements.
Use case: Use case represents a set of actions performed by a system for a specific goal.
Component: Component describes physical part of a system.
Node: A node can be defined as a physical element that exists at run time.
BEHAVIORALTHING
A behavioral thing consists of the dynamic parts of UML models. Following are the
behavioral things:
Interaction: Interaction is defined as a behavior that consists of a group of messages
exchanged among elements to accomplish a specific task.
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.
RELATIONSHIP
Relationship is another most important building block of UML. It shows how elements are
associated with each other and this association describes the functionality of an application.
There are four kinds of relationships available.
Dependency: Dependency is a relationship between two things in which change in one element also
affects the other one.
Association: Association is basically a set of links that connects elements of an UML model. It also
describes how many objects are taking part in that relationship.
Generalization: Generalization can be defined as a relationship which connects a specialized element
with a generalized element. It basically describes inheritance relationship in the world of objects.
Realization: Realization can be defined as a relationship in which two elements are connected. One
element describes some responsibility which is not implemented and the other one implements them.
This relationship exists in case of interfaces.
UML DIAGRAMS
There are 9 diagrams in UML that can be used to model a system at different points of time in
software life cycle of a system.
They are:
1. Class diagram
2. Object diagram
3. Use case diagram
4. Sequence diagram
5. Collaboration diagram
6. Activity diagram
7. State diagram
8. Deployment diagram
9. Component diagram
INTRODUCTION TO UML DIAGRAMS
CLASS DIAGRAM
A Class diagram models the static structure of a system. It shows relationships between classes, objects,
attributes, and operations.
A class has three parts; name at the top, attributes in the middle and operations/methods at the bottom.
The functionality provided by the class are termed “methods” of the class.
Attribute uniquely identify the class.
The class diagram is a static diagram. It represents the static view of an application.
Purpose of the class diagram can be summarized as:
Analysis and design of the static view of an application.
Describe responsibilities of a system.
Base for component and deployment diagrams.
Forward and reverse engineering.
HOW TO DRAW CLASS DIAGRAM?
Class diagrams have lot of properties to consider while drawing but here the diagram will be
considered from a top level view.
The following points should be remembered while drawing a class diagram:
The name of the class diagram should be meaningful to describe the aspect of the system.
Each element and their relationships should be identified in advance.
Responsibility (attributes and methods) of each class should be clearly identified.
For each class minimum number of properties should be specified. Because unnecessary
properties will make the diagram complicated.
Use notes when ever required to describe some aspect of the diagram. Because at the end of
the drawing it should be understandable to the developer/coder.
Finally, before making the final version, the diagram should be drawn on plain paper and
rework as many times as possible to make it correct.
NOTATIONS USED IN CLASS DIAGRAM
SAMPLE CLASS DIAGRAM OF ORDER MANAGEMENT SYSTEM
CLASS DIAGRAM FOR LIBRARY MANAGEMENT SYSTEM
OBJECT DIAGRAM
Object diagrams describe the static structure of a system at a particular time. They can be
used to test class diagrams for accuracy.
It is a special kind of class diagram. An object is an instance of a class.
The object diagram captures the sate of different classes in system and their relationships or
associations at a given point of time.
In a brief, object diagrams are used for:
Making the prototype of a system.
Reverse engineering.
Modelling complex data structures.
Understanding the system from practical perspective.
OBJECT DIAGRAM OF ORDER MANAGEMENT SYSTEM
STATE DIAGRAM
As the name suggests, it describes different states of a component in a system. The states are specific to a
component/object of a system.
Objects in the system change status in response to events. Used to model dynamic nature of a system.
State diagram describes the flow of control from one state to another state. States are defined as a condition
in which an object exists and it changes when some event is triggered.
Following are the main purposes of using State diagrams:
To model dynamic aspect of a system.
To model life time of a reactive system.
To describe different states of an object during its life time.
Define a state machine to model states of an object.
Before drawing a State diagram we must have clarified the following points:
Identify important objects to be analyzed.
Identify the states & Identify the events.
STATE DIAGRAM FORTOASTER
STATE DIAGRAM FOR PHONE
ACTIVITY DIAGRAM
Activity diagram is another important diagram in UML to describe dynamic aspects of the system.
Activity diagram is basically a flow chart to represent the flow form one activity to another activity. The
activity can be described as an operation of the system.
So the control flow is drawn from one operation to another. This flow can be sequential, branched or
concurrent. Activity diagrams deals with all type of flow control by using different elements like fork, join
etc.
Purposes can be described as:
Draw the activity flow of a system.
Describe the sequence from one activity to another.
Describe the parallel, branched and concurrent flow of the system.
Before drawing an activity diagram we should identify the following elements:
Activities
Association
Conditions
Constraints
ACTIVITY DIAGRAM FOR ATM
ACTIVITY DIAGRAM FOR (ISSUE BOOK) ONLINE LIBRARY
MANAGEMENT SYSTEM
ACTIVITY DIAGRAM FOR ONLINE ELECTRICITY BILL PAYMENT
SEQUENCE DIAGRAM
Sequence diagram is used to describe some type of interactions among the different
elements/objects in the system. Important aspect of this is that it is time-ordered.
Purposes of sequence diagram can be describes as:
To capture dynamic behaviour of a system.
To describe the message flow in the system.
To describe structural organization of the objects.
To describe interaction among objects.
The following things are to identified clearly before drawing the interaction diagram:
Objects taking part in the interaction.
Message flows among the objects.
The sequence in which the messages are flowing.
Object organization
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
ACTIVITY DIAGRAM FOR ISSUE BOOK
SEQUENCE DIAGRAM OF E-MAIL MESSAGE SEQUENCE
COMPONENT DIAGRAM
Component diagrams are different in terms of nature and behaviour. Component diagrams are
used to model physical aspects of a system. Physical aspects are the elements like executables,
libraries, files, documents etc. which resides in a node. So component diagrams are used to
visualize the organization and relationships among components in a system.
Purpose of the component diagram can be summarized as:
1.)Visualize the components of a system. 2.)Construct executables by using forward and reverse
engineering.
3.)Describe the organization and relationships of the components.
A single component diagram cannot represent the entire system but a collection of diagrams are
used to represent the whole.
Before drawing a component diagram the following artifacts are to be identified clearly:
1.) Files used in the system. 2.)Libraries and other artifacts relevant to the application.
3.)Relationships among the artifacts.
COMPONENT DIAGRAM FOR LIBRARY MANAGEMENT SYSTEM
COMPONENT DIAGRAM FOR ATM
DEPLOYMENT DIAGRAM
Deployment diagrams are used to visualize the topology of the physical components of a system where the
software components are deployed. So deployment diagrams are used to describe the static deployment view of
a system. Deployment diagrams consist of nodes and their relationships.
The purpose of deployment diagrams can be described as:
Visualize hardware topology of a system.
Describe the hardware components used to deploy software components.
Describe runtime processing nodes.
Deployment diagrams are useful for system engineers. An efficient deployment diagram is very important
because it controls the following parameters:
>Performance >Scalability >Maintainability >Portability
So before drawing a deployment diagram the following artifacts should be identified:
>Nodes >Relationships among nodes
DEPLOYMENT DIAGRAM FOR LIBRARY MANAGEMENT SYSTEM
INTRODUCTION TO UML DIAGRAMS
USE CASE DIAGRAM
Use case diagrams are consists of actors, use cases and their relationships. The diagram is used to model the
system/subsystem of an application. A single use case diagram captures a particular functionality of a
system.
the purposes of use case diagrams can be as follows:
Used to gather requirements of a system.
Used to get an outside view of a system.
Identify external and internal factors influencing the system.
Show the interacting among the requirements are actors.
When we are planning to draw an use case diagram we should have the following items identified.
Functionalities to be represented as an use case
Actors
Relationships among the use cases and actors.
USE CASE DIAGRAM
follow the following guidelines to draw an efficient use case diagram.
The name of a use case is very important. So the name should be chosen in such a way so that it can
identify the functionalities performed.
Give a suitable name for actors.
Show relationships and dependencies clearly in the diagram.
Do not try to include all types of relationships. Because the main purpose of the diagram is to identify
requirements.
Use note when ever required to clarify some important points.
The following are the places where use case diagrams are used:
Requirement analysis and high level design.
Model the context of a system.
Reverse engineering.
Forward engineering
USE CASE DIAGRAM FOR LIBRARY MANAGEMENT SYSTEM
INTRODUCTION TO UML DIAGRAMS
Ad

More Related Content

What's hot (20)

Activity diagram
Activity diagramActivity diagram
Activity diagram
LOKENDRA PRAJAPATI
 
UML
UMLUML
UML
iQra Rafaqat
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
Manish Kumar
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
Kartik Raghuvanshi
 
Class Diagram
Class DiagramClass Diagram
Class Diagram
Rana_brothers
 
Object diagram
Object diagramObject diagram
Object diagram
Rahul Pola
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
mewaseem
 
1. introduction to uml
1. introduction to uml1. introduction to uml
1. introduction to uml
PRABU M
 
Uml Activity Diagram
Uml Activity DiagramUml Activity Diagram
Uml Activity Diagram
Niloy Rocker
 
Class diagrams
Class diagramsClass diagrams
Class diagrams
Nadia_Nazeer
 
Sequence diagram- UML diagram
Sequence diagram- UML diagramSequence diagram- UML diagram
Sequence diagram- UML diagram
Ramakant Soni
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
Rahul Pola
 
Use case Diagram
Use case DiagramUse case Diagram
Use case Diagram
Preeti Mishra
 
10 component diagram
10 component diagram10 component diagram
10 component diagram
Baskarkncet
 
Advanced Structural Modeling
Advanced Structural ModelingAdvanced Structural Modeling
Advanced Structural Modeling
AMITJain879
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
Ashesh R
 
Architectural Modeling
Architectural ModelingArchitectural Modeling
Architectural Modeling
AMITJain879
 
Object modeling techniques by savyasachi
Object modeling techniques by savyasachiObject modeling techniques by savyasachi
Object modeling techniques by savyasachi
Savyasachi14
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction Diagram
Niloy Rocker
 
Sequence Diagram
Sequence Diagram Sequence Diagram
Sequence Diagram
KamruzzamanKnok
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
Manish Kumar
 
Object diagram
Object diagramObject diagram
Object diagram
Rahul Pola
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
mewaseem
 
1. introduction to uml
1. introduction to uml1. introduction to uml
1. introduction to uml
PRABU M
 
Uml Activity Diagram
Uml Activity DiagramUml Activity Diagram
Uml Activity Diagram
Niloy Rocker
 
Sequence diagram- UML diagram
Sequence diagram- UML diagramSequence diagram- UML diagram
Sequence diagram- UML diagram
Ramakant Soni
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
Rahul Pola
 
10 component diagram
10 component diagram10 component diagram
10 component diagram
Baskarkncet
 
Advanced Structural Modeling
Advanced Structural ModelingAdvanced Structural Modeling
Advanced Structural Modeling
AMITJain879
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
Ashesh R
 
Architectural Modeling
Architectural ModelingArchitectural Modeling
Architectural Modeling
AMITJain879
 
Object modeling techniques by savyasachi
Object modeling techniques by savyasachiObject modeling techniques by savyasachi
Object modeling techniques by savyasachi
Savyasachi14
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction Diagram
Niloy Rocker
 

Viewers also liked (20)

Library 2.0 technologies in academic libraries, a case study of student use a...
Library 2.0 technologies in academic libraries, a case study of student use a...Library 2.0 technologies in academic libraries, a case study of student use a...
Library 2.0 technologies in academic libraries, a case study of student use a...
Anne Morris
 
Library management system
Library management systemLibrary management system
Library management system
Paresh Gosavi
 
Library management system
Library management systemLibrary management system
Library management system
Sara Malik
 
Library management system
Library management systemLibrary management system
Library management system
ABhay Panchal
 
Library management system presentation
Library management system presentation Library management system presentation
Library management system presentation
Smit Patel
 
ADVANCED SYSTEM ANALYSIS On Automated Library Management System
ADVANCED SYSTEM ANALYSIS On Automated Library Management SystemADVANCED SYSTEM ANALYSIS On Automated Library Management System
ADVANCED SYSTEM ANALYSIS On Automated Library Management System
Uraz Pokharel
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
ĞĔŃÚĨŃĔ ĞĔŃĨÚŚ
 
Library mangement system project srs documentation.doc
Library mangement system project srs documentation.docLibrary mangement system project srs documentation.doc
Library mangement system project srs documentation.doc
jimmykhan
 
CCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S2: Chapter1 Introsuction to switched networksCCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S2: Chapter1 Introsuction to switched networks
Vuz Dở Hơi
 
Digital Transmission Fundamentals
Digital Transmission FundamentalsDigital Transmission Fundamentals
Digital Transmission Fundamentals
Aisu
 
CCNAv5 - S1: Chapter 1 Exploring The Network
CCNAv5 - S1: Chapter 1 Exploring The NetworkCCNAv5 - S1: Chapter 1 Exploring The Network
CCNAv5 - S1: Chapter 1 Exploring The Network
Vuz Dở Hơi
 
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
CCNAv5 - S2: Chapter2 Basic Switching Concepts and ConfigurationCCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
Vuz Dở Hơi
 
Network topologies
Network topologiesNetwork topologies
Network topologies
Norah Saad
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
Aditya Shah
 
Library Management System PPT
Library Management System PPTLibrary Management System PPT
Library Management System PPT
Tamaghna Banerjee
 
Chapter 4 - Digital Transmission
Chapter 4 - Digital TransmissionChapter 4 - Digital Transmission
Chapter 4 - Digital Transmission
Wayne Jones Jnr
 
CCNA Basic Switching and Switch Configuration Questions
CCNA Basic Switching and Switch Configuration QuestionsCCNA Basic Switching and Switch Configuration Questions
CCNA Basic Switching and Switch Configuration Questions
Dsunte Wilson
 
CCNA Network Services
CCNA Network ServicesCCNA Network Services
CCNA Network Services
Dsunte Wilson
 
CCNA Access Lists
CCNA Access ListsCCNA Access Lists
CCNA Access Lists
Dsunte Wilson
 
CCNA Routing Protocols
CCNA Routing ProtocolsCCNA Routing Protocols
CCNA Routing Protocols
Dsunte Wilson
 
Library 2.0 technologies in academic libraries, a case study of student use a...
Library 2.0 technologies in academic libraries, a case study of student use a...Library 2.0 technologies in academic libraries, a case study of student use a...
Library 2.0 technologies in academic libraries, a case study of student use a...
Anne Morris
 
Library management system
Library management systemLibrary management system
Library management system
Paresh Gosavi
 
Library management system
Library management systemLibrary management system
Library management system
Sara Malik
 
Library management system
Library management systemLibrary management system
Library management system
ABhay Panchal
 
Library management system presentation
Library management system presentation Library management system presentation
Library management system presentation
Smit Patel
 
ADVANCED SYSTEM ANALYSIS On Automated Library Management System
ADVANCED SYSTEM ANALYSIS On Automated Library Management SystemADVANCED SYSTEM ANALYSIS On Automated Library Management System
ADVANCED SYSTEM ANALYSIS On Automated Library Management System
Uraz Pokharel
 
Library mangement system project srs documentation.doc
Library mangement system project srs documentation.docLibrary mangement system project srs documentation.doc
Library mangement system project srs documentation.doc
jimmykhan
 
CCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S2: Chapter1 Introsuction to switched networksCCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S2: Chapter1 Introsuction to switched networks
Vuz Dở Hơi
 
Digital Transmission Fundamentals
Digital Transmission FundamentalsDigital Transmission Fundamentals
Digital Transmission Fundamentals
Aisu
 
CCNAv5 - S1: Chapter 1 Exploring The Network
CCNAv5 - S1: Chapter 1 Exploring The NetworkCCNAv5 - S1: Chapter 1 Exploring The Network
CCNAv5 - S1: Chapter 1 Exploring The Network
Vuz Dở Hơi
 
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
CCNAv5 - S2: Chapter2 Basic Switching Concepts and ConfigurationCCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
Vuz Dở Hơi
 
Network topologies
Network topologiesNetwork topologies
Network topologies
Norah Saad
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
Aditya Shah
 
Library Management System PPT
Library Management System PPTLibrary Management System PPT
Library Management System PPT
Tamaghna Banerjee
 
Chapter 4 - Digital Transmission
Chapter 4 - Digital TransmissionChapter 4 - Digital Transmission
Chapter 4 - Digital Transmission
Wayne Jones Jnr
 
CCNA Basic Switching and Switch Configuration Questions
CCNA Basic Switching and Switch Configuration QuestionsCCNA Basic Switching and Switch Configuration Questions
CCNA Basic Switching and Switch Configuration Questions
Dsunte Wilson
 
CCNA Network Services
CCNA Network ServicesCCNA Network Services
CCNA Network Services
Dsunte Wilson
 
CCNA Routing Protocols
CCNA Routing ProtocolsCCNA Routing Protocols
CCNA Routing Protocols
Dsunte Wilson
 
Ad

Similar to INTRODUCTION TO UML DIAGRAMS (20)

Uml
UmlUml
Uml
steffy D
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
Yaswanth Babu Gummadivelli
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptx
Nwabueze Obioma
 
Experiment no
Experiment noExperiment no
Experiment no
hinamunjal
 
Uml with detail
Uml with detailUml with detail
Uml with detail
Hamza Khan
 
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
 
Uml.pptx
Uml.pptxUml.pptx
Uml.pptx
AnjaliParihar13
 
Object-Oriented Analysis and Design report
Object-Oriented Analysis and Design reportObject-Oriented Analysis and Design report
Object-Oriented Analysis and Design report
ritikapoudel2017
 
Case Study Uml
Case Study UmlCase Study Uml
Case Study Uml
ganesh12july
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling language
Emmanuel Kumah
 
R1x g02 enterprise architecture i
R1x g02 enterprise architecture iR1x g02 enterprise architecture i
R1x g02 enterprise architecture i
cairo university
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
surana college
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
MeagGhn
 
UML Diagrams.pptxUML DiagramsUML DiagramsUML Diagrams
UML Diagrams.pptxUML DiagramsUML DiagramsUML DiagramsUML Diagrams.pptxUML DiagramsUML DiagramsUML Diagrams
UML Diagrams.pptxUML DiagramsUML DiagramsUML Diagrams
BDAVUITBDA
 
Case stydy cs701
Case stydy cs701 Case stydy cs701
Case stydy cs701
Dinkar Mishra
 
Uml overview modified
Uml overview modifiedUml overview modified
Uml overview modified
senthilkumar_ak
 
432
432432
432
Sushath SimplytheBest
 
Uml
UmlUml
Uml
eleksdev
 
Introduction to Rational Rose
Introduction to Rational RoseIntroduction to Rational Rose
Introduction to Rational Rose
Munaam Munawar
 
UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)
Nguyen Tuan
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptx
Nwabueze Obioma
 
Uml with detail
Uml with detailUml with detail
Uml with detail
Hamza Khan
 
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
 
Object-Oriented Analysis and Design report
Object-Oriented Analysis and Design reportObject-Oriented Analysis and Design report
Object-Oriented Analysis and Design report
ritikapoudel2017
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling language
Emmanuel Kumah
 
R1x g02 enterprise architecture i
R1x g02 enterprise architecture iR1x g02 enterprise architecture i
R1x g02 enterprise architecture i
cairo university
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
surana college
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
MeagGhn
 
UML Diagrams.pptxUML DiagramsUML DiagramsUML Diagrams
UML Diagrams.pptxUML DiagramsUML DiagramsUML DiagramsUML Diagrams.pptxUML DiagramsUML DiagramsUML Diagrams
UML Diagrams.pptxUML DiagramsUML DiagramsUML Diagrams
BDAVUITBDA
 
Introduction to Rational Rose
Introduction to Rational RoseIntroduction to Rational Rose
Introduction to Rational Rose
Munaam Munawar
 
UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)
Nguyen Tuan
 
Ad

More from Ashita Agrawal (17)

Linux operating system - Overview
Linux operating system - OverviewLinux operating system - Overview
Linux operating system - Overview
Ashita Agrawal
 
Introductio to Abstract Window Toolkit (AWT)
Introductio to Abstract Window Toolkit (AWT)Introductio to Abstract Window Toolkit (AWT)
Introductio to Abstract Window Toolkit (AWT)
Ashita Agrawal
 
Inheritance in Object Oriented Programming
Inheritance in Object Oriented ProgrammingInheritance in Object Oriented Programming
Inheritance in Object Oriented Programming
Ashita Agrawal
 
Introduction to Sets
Introduction to SetsIntroduction to Sets
Introduction to Sets
Ashita Agrawal
 
Business Overview
Business OverviewBusiness Overview
Business Overview
Ashita Agrawal
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
Ashita Agrawal
 
Biography of Mahatma Gandhi : 1869-1948
Biography of Mahatma Gandhi : 1869-1948Biography of Mahatma Gandhi : 1869-1948
Biography of Mahatma Gandhi : 1869-1948
Ashita Agrawal
 
Cloud computing - new class of network based computing
Cloud computing - new class of network based computingCloud computing - new class of network based computing
Cloud computing - new class of network based computing
Ashita Agrawal
 
constructor and destructor-object oriented programming
constructor and destructor-object oriented programmingconstructor and destructor-object oriented programming
constructor and destructor-object oriented programming
Ashita Agrawal
 
Introduction to computer network
Introduction to computer networkIntroduction to computer network
Introduction to computer network
Ashita Agrawal
 
Instruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorInstruction Set of 8086 Microprocessor
Instruction Set of 8086 Microprocessor
Ashita Agrawal
 
Testing Machine- universal tester
Testing Machine- universal testerTesting Machine- universal tester
Testing Machine- universal tester
Ashita Agrawal
 
Adolf Hitler - German politician(world war I)
Adolf Hitler - German politician(world war I)Adolf Hitler - German politician(world war I)
Adolf Hitler - German politician(world war I)
Ashita Agrawal
 
Charles babbage - Father of Computing.
Charles babbage - Father of Computing. Charles babbage - Father of Computing.
Charles babbage - Father of Computing.
Ashita Agrawal
 
Ada Lovelace-The First Programmer
Ada Lovelace-The First ProgrammerAda Lovelace-The First Programmer
Ada Lovelace-The First Programmer
Ashita Agrawal
 
Slums In India
Slums In IndiaSlums In India
Slums In India
Ashita Agrawal
 
Augmented Reality
Augmented RealityAugmented Reality
Augmented Reality
Ashita Agrawal
 
Linux operating system - Overview
Linux operating system - OverviewLinux operating system - Overview
Linux operating system - Overview
Ashita Agrawal
 
Introductio to Abstract Window Toolkit (AWT)
Introductio to Abstract Window Toolkit (AWT)Introductio to Abstract Window Toolkit (AWT)
Introductio to Abstract Window Toolkit (AWT)
Ashita Agrawal
 
Inheritance in Object Oriented Programming
Inheritance in Object Oriented ProgrammingInheritance in Object Oriented Programming
Inheritance in Object Oriented Programming
Ashita Agrawal
 
Biography of Mahatma Gandhi : 1869-1948
Biography of Mahatma Gandhi : 1869-1948Biography of Mahatma Gandhi : 1869-1948
Biography of Mahatma Gandhi : 1869-1948
Ashita Agrawal
 
Cloud computing - new class of network based computing
Cloud computing - new class of network based computingCloud computing - new class of network based computing
Cloud computing - new class of network based computing
Ashita Agrawal
 
constructor and destructor-object oriented programming
constructor and destructor-object oriented programmingconstructor and destructor-object oriented programming
constructor and destructor-object oriented programming
Ashita Agrawal
 
Introduction to computer network
Introduction to computer networkIntroduction to computer network
Introduction to computer network
Ashita Agrawal
 
Instruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorInstruction Set of 8086 Microprocessor
Instruction Set of 8086 Microprocessor
Ashita Agrawal
 
Testing Machine- universal tester
Testing Machine- universal testerTesting Machine- universal tester
Testing Machine- universal tester
Ashita Agrawal
 
Adolf Hitler - German politician(world war I)
Adolf Hitler - German politician(world war I)Adolf Hitler - German politician(world war I)
Adolf Hitler - German politician(world war I)
Ashita Agrawal
 
Charles babbage - Father of Computing.
Charles babbage - Father of Computing. Charles babbage - Father of Computing.
Charles babbage - Father of Computing.
Ashita Agrawal
 
Ada Lovelace-The First Programmer
Ada Lovelace-The First ProgrammerAda Lovelace-The First Programmer
Ada Lovelace-The First Programmer
Ashita Agrawal
 

Recently uploaded (20)

Origin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theoriesOrigin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theories
PrachiSontakke5
 
Final Evaluation.docx...........................
Final Evaluation.docx...........................Final Evaluation.docx...........................
Final Evaluation.docx...........................
l1bbyburrell
 
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales moduleHow To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
Celine George
 
Ancient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian HistoryAncient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian History
Virag Sontakke
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptxANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
Mayuri Chavan
 
How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18
Celine George
 
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptxTERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
PoojaSen20
 
Chemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptxChemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptx
Mayuri Chavan
 
Form View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo SlidesForm View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo Slides
Celine George
 
Overview Well-Being and Creative Careers
Overview Well-Being and Creative CareersOverview Well-Being and Creative Careers
Overview Well-Being and Creative Careers
University of Amsterdam
 
Module 1: Foundations of Research
Module 1: Foundations of ResearchModule 1: Foundations of Research
Module 1: Foundations of Research
drroxannekemp
 
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon DolabaniHistory Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
fruinkamel7m
 
puzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tensepuzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tense
OlgaLeonorTorresSnch
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx
mansk2
 
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living WorkshopLDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDM Mia eStudios
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
Nguyen Thanh Tu Collection
 
Pope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptxPope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptx
Martin M Flynn
 
Origin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theoriesOrigin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theories
PrachiSontakke5
 
Final Evaluation.docx...........................
Final Evaluation.docx...........................Final Evaluation.docx...........................
Final Evaluation.docx...........................
l1bbyburrell
 
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales moduleHow To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
Celine George
 
Ancient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian HistoryAncient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian History
Virag Sontakke
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptxANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
Mayuri Chavan
 
How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18
Celine George
 
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptxTERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
PoojaSen20
 
Chemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptxChemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptx
Mayuri Chavan
 
Form View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo SlidesForm View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo Slides
Celine George
 
Overview Well-Being and Creative Careers
Overview Well-Being and Creative CareersOverview Well-Being and Creative Careers
Overview Well-Being and Creative Careers
University of Amsterdam
 
Module 1: Foundations of Research
Module 1: Foundations of ResearchModule 1: Foundations of Research
Module 1: Foundations of Research
drroxannekemp
 
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon DolabaniHistory Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
fruinkamel7m
 
puzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tensepuzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tense
OlgaLeonorTorresSnch
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx
mansk2
 
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living WorkshopLDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDM Mia eStudios
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
Nguyen Thanh Tu Collection
 
Pope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptxPope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptx
Martin M Flynn
 

INTRODUCTION TO UML DIAGRAMS

  • 2. TABLE OF CONTENTS Introduction to UML Diagram. A conceptual model of UML building blocks of UML Things Relationships Diagrams Class Diagram
  • 3. INTRODUCTIONTO UML DIAGRAM. UML stands for Unified Modelling Language. UML is a standard language for specifying, visualizing, constructing, and documenting a system in which software represents the most significant part. UML is different from the other common programming languages like C++, Java, COBOL etc. UML is a pictorial language used to make software blue prints. UML can serve as a central notation for software development process. Using UML helps project teams communicate, explore potential designs, and validate the architectural designs of software. UML diagrams are made using notation of things and relationships.
  • 4. INTRODUCTIONTO UML DIAGRAM. UML Refactoring Design Prototyping Code Generation AutomatedTests Analysis Documentation
  • 5. A CONCEPTUAL MODEL OF UML Conceptual model: A conceptual model can be defined as a model which is made of concepts and their relationships. As UML describes the real time systems it is very important to make a conceptual model and then proceed gradually. Conceptual model of UML can be better understood by learning the following three major elements : UML building blocks Rules to connect the building blocks Common mechanisms of UML
  • 6. BUILDING BLOCKS OF UML The building blocks of UML can be defined as: Things Relationships Diagrams Things: Things are the most important building blocks of UML. Things can be: Structural Behavioral Grouping Annotational
  • 7. STRUCTURALTHINGS The Structural things define the static part of the model. They represent physical and conceptual elements. Following are the brief descriptions of the structural things. Class: Class represents set of objects having similar responsibilities. Interface: Interface defines a set of operations which specify the responsibility of a class. Collaboration: Collaboration defines interaction between elements. Use case: Use case represents a set of actions performed by a system for a specific goal. Component: Component describes physical part of a system. Node: A node can be defined as a physical element that exists at run time.
  • 8. BEHAVIORALTHING A behavioral thing consists of the dynamic parts of UML models. Following are the behavioral things: Interaction: Interaction is defined as a behavior that consists of a group of messages exchanged among elements to accomplish a specific task. 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.
  • 9. RELATIONSHIP Relationship is another most important building block of UML. It shows how elements are associated with each other and this association describes the functionality of an application. There are four kinds of relationships available. Dependency: Dependency is a relationship between two things in which change in one element also affects the other one. Association: Association is basically a set of links that connects elements of an UML model. It also describes how many objects are taking part in that relationship. Generalization: Generalization can be defined as a relationship which connects a specialized element with a generalized element. It basically describes inheritance relationship in the world of objects. Realization: Realization can be defined as a relationship in which two elements are connected. One element describes some responsibility which is not implemented and the other one implements them. This relationship exists in case of interfaces.
  • 10. UML DIAGRAMS There are 9 diagrams in UML that can be used to model a system at different points of time in software life cycle of a system. They are: 1. Class diagram 2. Object diagram 3. Use case diagram 4. Sequence diagram 5. Collaboration diagram 6. Activity diagram 7. State diagram 8. Deployment diagram 9. Component diagram
  • 12. CLASS DIAGRAM A Class diagram models the static structure of a system. It shows relationships between classes, objects, attributes, and operations. A class has three parts; name at the top, attributes in the middle and operations/methods at the bottom. The functionality provided by the class are termed “methods” of the class. Attribute uniquely identify the class. The class diagram is a static diagram. It represents the static view of an application. Purpose of the class diagram can be summarized as: Analysis and design of the static view of an application. Describe responsibilities of a system. Base for component and deployment diagrams. Forward and reverse engineering.
  • 13. HOW TO DRAW CLASS DIAGRAM? Class diagrams have lot of properties to consider while drawing but here the diagram will be considered from a top level view. The following points should be remembered while drawing a class diagram: The name of the class diagram should be meaningful to describe the aspect of the system. Each element and their relationships should be identified in advance. Responsibility (attributes and methods) of each class should be clearly identified. For each class minimum number of properties should be specified. Because unnecessary properties will make the diagram complicated. Use notes when ever required to describe some aspect of the diagram. Because at the end of the drawing it should be understandable to the developer/coder. Finally, before making the final version, the diagram should be drawn on plain paper and rework as many times as possible to make it correct.
  • 14. NOTATIONS USED IN CLASS DIAGRAM
  • 15. SAMPLE CLASS DIAGRAM OF ORDER MANAGEMENT SYSTEM
  • 16. CLASS DIAGRAM FOR LIBRARY MANAGEMENT SYSTEM
  • 17. OBJECT DIAGRAM Object diagrams describe the static structure of a system at a particular time. They can be used to test class diagrams for accuracy. It is a special kind of class diagram. An object is an instance of a class. The object diagram captures the sate of different classes in system and their relationships or associations at a given point of time. In a brief, object diagrams are used for: Making the prototype of a system. Reverse engineering. Modelling complex data structures. Understanding the system from practical perspective.
  • 18. OBJECT DIAGRAM OF ORDER MANAGEMENT SYSTEM
  • 19. STATE DIAGRAM As the name suggests, it describes different states of a component in a system. The states are specific to a component/object of a system. Objects in the system change status in response to events. Used to model dynamic nature of a system. State diagram describes the flow of control from one state to another state. States are defined as a condition in which an object exists and it changes when some event is triggered. Following are the main purposes of using State diagrams: To model dynamic aspect of a system. To model life time of a reactive system. To describe different states of an object during its life time. Define a state machine to model states of an object. Before drawing a State diagram we must have clarified the following points: Identify important objects to be analyzed. Identify the states & Identify the events.
  • 22. ACTIVITY DIAGRAM Activity diagram is another important diagram in UML to describe dynamic aspects of the system. Activity diagram is basically a flow chart to represent the flow form one activity to another activity. The activity can be described as an operation of the system. So the control flow is drawn from one operation to another. This flow can be sequential, branched or concurrent. Activity diagrams deals with all type of flow control by using different elements like fork, join etc. Purposes can be described as: Draw the activity flow of a system. Describe the sequence from one activity to another. Describe the parallel, branched and concurrent flow of the system. Before drawing an activity diagram we should identify the following elements: Activities Association Conditions Constraints
  • 24. ACTIVITY DIAGRAM FOR (ISSUE BOOK) ONLINE LIBRARY MANAGEMENT SYSTEM
  • 25. ACTIVITY DIAGRAM FOR ONLINE ELECTRICITY BILL PAYMENT
  • 26. SEQUENCE DIAGRAM Sequence diagram is used to describe some type of interactions among the different elements/objects in the system. Important aspect of this is that it is time-ordered. Purposes of sequence diagram can be describes as: To capture dynamic behaviour of a system. To describe the message flow in the system. To describe structural organization of the objects. To describe interaction among objects. The following things are to identified clearly before drawing the interaction diagram: Objects taking part in the interaction. Message flows among the objects. The sequence in which the messages are flowing. Object organization
  • 29. ACTIVITY DIAGRAM FOR ISSUE BOOK
  • 30. SEQUENCE DIAGRAM OF E-MAIL MESSAGE SEQUENCE
  • 31. COMPONENT DIAGRAM Component diagrams are different in terms of nature and behaviour. Component diagrams are used to model physical aspects of a system. Physical aspects are the elements like executables, libraries, files, documents etc. which resides in a node. So component diagrams are used to visualize the organization and relationships among components in a system. Purpose of the component diagram can be summarized as: 1.)Visualize the components of a system. 2.)Construct executables by using forward and reverse engineering. 3.)Describe the organization and relationships of the components. A single component diagram cannot represent the entire system but a collection of diagrams are used to represent the whole. Before drawing a component diagram the following artifacts are to be identified clearly: 1.) Files used in the system. 2.)Libraries and other artifacts relevant to the application. 3.)Relationships among the artifacts.
  • 32. COMPONENT DIAGRAM FOR LIBRARY MANAGEMENT SYSTEM
  • 34. DEPLOYMENT DIAGRAM Deployment diagrams are used to visualize the topology of the physical components of a system where the software components are deployed. So deployment diagrams are used to describe the static deployment view of a system. Deployment diagrams consist of nodes and their relationships. The purpose of deployment diagrams can be described as: Visualize hardware topology of a system. Describe the hardware components used to deploy software components. Describe runtime processing nodes. Deployment diagrams are useful for system engineers. An efficient deployment diagram is very important because it controls the following parameters: >Performance >Scalability >Maintainability >Portability So before drawing a deployment diagram the following artifacts should be identified: >Nodes >Relationships among nodes
  • 35. DEPLOYMENT DIAGRAM FOR LIBRARY MANAGEMENT SYSTEM
  • 37. USE CASE DIAGRAM Use case diagrams are consists of actors, use cases and their relationships. The diagram is used to model the system/subsystem of an application. A single use case diagram captures a particular functionality of a system. the purposes of use case diagrams can be as follows: Used to gather requirements of a system. Used to get an outside view of a system. Identify external and internal factors influencing the system. Show the interacting among the requirements are actors. When we are planning to draw an use case diagram we should have the following items identified. Functionalities to be represented as an use case Actors Relationships among the use cases and actors.
  • 38. USE CASE DIAGRAM follow the following guidelines to draw an efficient use case diagram. The name of a use case is very important. So the name should be chosen in such a way so that it can identify the functionalities performed. Give a suitable name for actors. Show relationships and dependencies clearly in the diagram. Do not try to include all types of relationships. Because the main purpose of the diagram is to identify requirements. Use note when ever required to clarify some important points. The following are the places where use case diagrams are used: Requirement analysis and high level design. Model the context of a system. Reverse engineering. Forward engineering
  • 39. USE CASE DIAGRAM FOR LIBRARY MANAGEMENT SYSTEM
  翻译: