SlideShare a Scribd company logo
1 of 13
PresentedBy
M. Bilal Aslam 753203
Abdullah 753223
Zunaira Azeem 753227
Nafeesa Shahid 2753217
PresentedTo
MamFiza Tariq
Class BS.IT 5th (M)
Topic Object Diagram
An object diagram is a UML structural diagram that shows
the instances of the classifiers in models. Object diagrams use
notation that is similar to that used in class diagrams. Object
diagrams show specific instances of those classifiers and the
links between those instances at a point in time.
Object diagram shows a snapshot of the detailed state of a
system at a point in time, thus an object diagram
encompasses objects and their relationships which may be
considered a special case of a class diagram or
a communication diagram.
1. Before drawing an object diagram, one should analyze all
the objects inside the system.
2. The relations of the object must be known before creating
the diagram.
3. Association between various objects must be cleared
before.
4. An object should have a meaningful name that describes
its functionality.
5. An object must be explored to analyze various
functionalities of it.
The use of object diagrams is fairly limited, mainly to
show examples of data structures.
 During the analysis phase of a project, you might
create a class diagram to describe the structure of a
system and then create a set of object diagrams as
test cases to verify the accuracy and completeness
of the class diagram.
 Before you create a class diagram, you might
create an object diagram to discover facts about
specific model elements and their links, or to
illustrate specific examples of the classifiers that
are required.
Object Names:
Every object is actually symbolized like a rectangle, that offers
the name from the object and its class underlined as well as
divided with a colon.
Object Attributes:
Similar to classes, you are able to list object attributes inside a
separate compartment. However, unlike classes, object
attributes should have values assigned for them.
Links:
Links tend to be instances associated with associations. You
can draw a link while using the lines utilized in class
diagrams.
The following diagram is an instance of the
system at a particular time of purchase. It has
the following objects. Customer, Order,
Special Order, Normal Order.
Now the customer object (C) is associated
with three order objects (O1, O2, and O3).
These order objects are associated with
special order and normal order objects (S1,
S2, and N1). The customer has the following
three orders with different numbers (12, 32
and 40) for the particular time considered.
The customer can increase the number of orders in future
and in that scenario the object diagram will reflect that. If
order, special order, and normal order objects are observed
then you will find that they have some values. For orders,
the values are 12, 32, and 40 which implies that the objects
have these values for a particular moment (here the
particular time when the purchase is made is considered as
the moment) when the instance is captured The same is true
for special order and normal order objects which have
number of orders as 20, 30, and 60. If a different time of
purchase is considered, then these values will change
accordingly.
POS
Where to Use Object Diagrams?
Object diagrams can be imagined as the
snapshot of a running system at a
particular moment. Let us consider an
example of a running train
Now, if you take a snap of the running
train then you will find a static picture of
it having the following −
 A particular state which is running.
 A particular number of passengers.
which will change if the snap is taken
in a different time.
Where to Use Object Diagrams?
Here, we can imagine the snap of the
running train is an object having the
above values. And this is true for any real-
life simple or complex system.
In a nutshell, it can be said that object
diagrams are used for:
 Making the prototype of a system.
 Reverse engineering.
 Modeling complex data structures.
 Understanding the system from
practical perspective.
OBJECT DIAGRAM.pptx

More Related Content

What's hot

Lecture#02, building blocks of uml ASE
Lecture#02, building blocks of uml ASELecture#02, building blocks of uml ASE
Lecture#02, building blocks of uml ASE
babak danyal
 
Class and object_diagram
Class  and object_diagramClass  and object_diagram
Class and object_diagram
Sadhana28
 
Dynamic and Static Modeling
Dynamic and Static ModelingDynamic and Static Modeling
Dynamic and Static Modeling
Saurabh Kumar
 

What's hot (20)

Object Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UMLObject Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UML
 
Case Study Uml
Case Study UmlCase Study Uml
Case Study Uml
 
Interaction overview and Profile UML Diagrams
Interaction overview and Profile UML DiagramsInteraction overview and Profile UML Diagrams
Interaction overview and Profile UML Diagrams
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Uml
UmlUml
Uml
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling language
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbols
 
Lecture#02, building blocks of uml ASE
Lecture#02, building blocks of uml ASELecture#02, building blocks of uml ASE
Lecture#02, building blocks of uml ASE
 
UML Architecture and Views
UML Architecture and ViewsUML Architecture and Views
UML Architecture and Views
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPM
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Uml - An Overview
Uml - An OverviewUml - An Overview
Uml - An Overview
 
Collaboration Diagram
Collaboration DiagramCollaboration Diagram
Collaboration Diagram
 
Class and object_diagram
Class  and object_diagramClass  and object_diagram
Class and object_diagram
 
Uml
UmlUml
Uml
 
Intro to UML 2
Intro to UML 2Intro to UML 2
Intro to UML 2
 
Dynamic and Static Modeling
Dynamic and Static ModelingDynamic and Static Modeling
Dynamic and Static Modeling
 
Uml Diagrams
Uml DiagramsUml Diagrams
Uml Diagrams
 
Uml
UmlUml
Uml
 
Introduction to UML
Introduction to UMLIntroduction to UML
Introduction to UML
 

Similar to OBJECT DIAGRAM.pptx

From relational data to object spaces
From relational data to object spacesFrom relational data to object spaces
From relational data to object spaces
Andrea Saltarello
 
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGN
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGNOOAD-Unit-3.ppt UML and ANALYSISI AND DESIGN
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGN
KalyaniLokhande5
 
ArchitectureOfAOMsWICSA3
ArchitectureOfAOMsWICSA3ArchitectureOfAOMsWICSA3
ArchitectureOfAOMsWICSA3
Erdem Sahin
 
S W L Chapter 5
S W L  Chapter 5S W L  Chapter 5
S W L Chapter 5
dmhall
 
S W L Chapter 5
S W L  Chapter 5S W L  Chapter 5
S W L Chapter 5
dmhall
 

Similar to OBJECT DIAGRAM.pptx (20)

Ooad( object diagram)
Ooad( object diagram)Ooad( object diagram)
Ooad( object diagram)
 
Object diagram
Object diagramObject diagram
Object diagram
 
RDBMS_Unit 01
RDBMS_Unit 01RDBMS_Unit 01
RDBMS_Unit 01
 
Types of UML diagrams
Types of UML diagramsTypes of UML diagrams
Types of UML diagrams
 
Object diagram
Object diagramObject diagram
Object diagram
 
From relational data to object spaces
From relational data to object spacesFrom relational data to object spaces
From relational data to object spaces
 
UML DIAGRAMS
UML DIAGRAMSUML DIAGRAMS
UML DIAGRAMS
 
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGN
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGNOOAD-Unit-3.ppt UML and ANALYSISI AND DESIGN
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGN
 
Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering
 
Introduction to Rational Rose
Introduction to Rational RoseIntroduction to Rational Rose
Introduction to Rational Rose
 
ArchitectureOfAOMsWICSA3
ArchitectureOfAOMsWICSA3ArchitectureOfAOMsWICSA3
ArchitectureOfAOMsWICSA3
 
SAD11 - Sequence Diagrams
SAD11 - Sequence DiagramsSAD11 - Sequence Diagrams
SAD11 - Sequence Diagrams
 
Object diagram
Object diagramObject diagram
Object diagram
 
Ch14
Ch14Ch14
Ch14
 
Jar chapter 2
Jar chapter 2Jar chapter 2
Jar chapter 2
 
Intro Uml
Intro UmlIntro Uml
Intro Uml
 
Modeling- Object, Dynamic and Functional
Modeling- Object, Dynamic and FunctionalModeling- Object, Dynamic and Functional
Modeling- Object, Dynamic and Functional
 
S W L Chapter 5
S W L  Chapter 5S W L  Chapter 5
S W L Chapter 5
 
S W L Chapter 5
S W L  Chapter 5S W L  Chapter 5
S W L Chapter 5
 
SWL Chapter 5
SWL Chapter 5SWL Chapter 5
SWL Chapter 5
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 

OBJECT DIAGRAM.pptx

  • 1.
  • 2. PresentedBy M. Bilal Aslam 753203 Abdullah 753223 Zunaira Azeem 753227 Nafeesa Shahid 2753217 PresentedTo MamFiza Tariq Class BS.IT 5th (M) Topic Object Diagram
  • 3. An object diagram is a UML structural diagram that shows the instances of the classifiers in models. Object diagrams use notation that is similar to that used in class diagrams. Object diagrams show specific instances of those classifiers and the links between those instances at a point in time. Object diagram shows a snapshot of the detailed state of a system at a point in time, thus an object diagram encompasses objects and their relationships which may be considered a special case of a class diagram or a communication diagram.
  • 4. 1. Before drawing an object diagram, one should analyze all the objects inside the system. 2. The relations of the object must be known before creating the diagram. 3. Association between various objects must be cleared before. 4. An object should have a meaningful name that describes its functionality. 5. An object must be explored to analyze various functionalities of it.
  • 5. The use of object diagrams is fairly limited, mainly to show examples of data structures.  During the analysis phase of a project, you might create a class diagram to describe the structure of a system and then create a set of object diagrams as test cases to verify the accuracy and completeness of the class diagram.  Before you create a class diagram, you might create an object diagram to discover facts about specific model elements and their links, or to illustrate specific examples of the classifiers that are required.
  • 6. Object Names: Every object is actually symbolized like a rectangle, that offers the name from the object and its class underlined as well as divided with a colon. Object Attributes: Similar to classes, you are able to list object attributes inside a separate compartment. However, unlike classes, object attributes should have values assigned for them. Links: Links tend to be instances associated with associations. You can draw a link while using the lines utilized in class diagrams.
  • 7. The following diagram is an instance of the system at a particular time of purchase. It has the following objects. Customer, Order, Special Order, Normal Order. Now the customer object (C) is associated with three order objects (O1, O2, and O3). These order objects are associated with special order and normal order objects (S1, S2, and N1). The customer has the following three orders with different numbers (12, 32 and 40) for the particular time considered.
  • 8. The customer can increase the number of orders in future and in that scenario the object diagram will reflect that. If order, special order, and normal order objects are observed then you will find that they have some values. For orders, the values are 12, 32, and 40 which implies that the objects have these values for a particular moment (here the particular time when the purchase is made is considered as the moment) when the instance is captured The same is true for special order and normal order objects which have number of orders as 20, 30, and 60. If a different time of purchase is considered, then these values will change accordingly.
  • 9.
  • 10. POS
  • 11. Where to Use Object Diagrams? Object diagrams can be imagined as the snapshot of a running system at a particular moment. Let us consider an example of a running train Now, if you take a snap of the running train then you will find a static picture of it having the following −  A particular state which is running.  A particular number of passengers. which will change if the snap is taken in a different time.
  • 12. Where to Use Object Diagrams? Here, we can imagine the snap of the running train is an object having the above values. And this is true for any real- life simple or complex system. In a nutshell, it can be said that object diagrams are used for:  Making the prototype of a system.  Reverse engineering.  Modeling complex data structures.  Understanding the system from practical perspective.