SlideShare a Scribd company logo
Session 3 Understand and Use Object Oriented Methods
Review OOAD refers to the development of systems with the base concept of objects and classes UML is a modeling tool used in Information systems  Technical systems Embedded systems Distributed systems System software Business Systems SDLC refers to different phases in the software development process
Objectives Discuss the class diagram and object diagram Represent the relationships between classes Discuss the concept of object Model Identify classes during analysis
Class and Object Class  - A class is a description of a group of objects with common properties (attributes), behavior (Operations), relationships, and semantic Object  - An object represents an entity, either physical, conceptual, or software
Class Diagram-1 Class Object
Class Diagram-2 Class Names   Class Attributes   Class Methods   Constraints   Comment
Representation of Relationship   Multiplicity - Multiplicity defines how many objects participate in a relationship
Multiplicity & Navigation   Student Schedule Navigation Multiplicity 0..* 1
Aggregation An aggregation is a stronger form of relationship where the relationship is between a whole and its parts  Student Schedule Aggregation Whole Part
Aggregation-Composition Composition is a form of aggregation with strong ownership and coincident lifetimes of the part with the aggregate  Student Schedule Aggregation Whole Part
Aggregation- Dependency   A dependency relationship is a weaker form of relationship
Aggregation-Generalization A specialization/generalization relationship is one, in which objects of the specialized element (the child) are substitutable for objects of the generalized element (the parent) Superclass Subclass
Association Association is a connection between classes   Professor University Professor University Works for Class Association Name Role Names Employer Employee
Constraints of Association   An association may have a name that is placed on, or adjacent to the association path The name of the association should reflect the purpose of the relationship and be a verb phrase; the name of an association can be omitted, particularly if roles names are used. Names like “has” and “contains should be avoided”, as they add no information about what the relationships are between the classes.  Each end of an association is a role specifying the face that a class plays in the association (not a constraint). Each role must have a name, and the role names must be unique. The role name should be a noun indicating the associated object’s role in relation to the associating object.  The use of association names and role names are mutually exclusive: one should not use both an association name and role name. For each association, it needs to decide as to which conveys more information.
Association Classes
Qualified Association   Theatre Seat 1 99 Theatre Seat 1 Row {1,2,…9} Column {1,2,..11} 1
Recursive Association
Inheritance and Generalization-1
Inheritance and Generalization-2   The mechanism for sharing attributes and operations using the principle of generalization is referred to as  inheritance
Same Association or Aggregation
Interface
Object Model   Language independent Notation allowing the specification of classes, their data or attributes (private) and methods (public), inheritance This diagram depicts the  structural relationship  and  functional  behavior of the classes
Nouns in problem statement Knowledge of the problem domain Use Cases Physical entities Devices Events  Roles played Operational procedures Sites Organisational units How to Identify Classes? Tangible things Events  Roles played Interactions Location Organizational Units The Requirements statement Use Cases Application experts Studying the system Similar systems Previous systems
Candidate Classes
Summary A class icon is a rectangle with three sections within it Association is a connection between classes An interface is a collection of operations that are used to specify a service of a class or a component Object Model generally deals with classes

More Related Content

PPT
Class diagrams
PPT
Relations Class Diagram
PPT
Ch 5 O O Data Modeling
PPT
Slide 5 Class Diagram
PPTX
Class diagram
PPT
Lecture#01, object orientation
PPTX
Different Types Diagrams
PPT
Object Oriented Relationships
Class diagrams
Relations Class Diagram
Ch 5 O O Data Modeling
Slide 5 Class Diagram
Class diagram
Lecture#01, object orientation
Different Types Diagrams
Object Oriented Relationships

What's hot (20)

PPT
Uml class-diagram
PPT
Object and class relationships
PPTX
Ppt of dbms e r features
PPTX
Class Diagram
PPTX
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
PDF
Class diagram- UML diagram
PPT
Uml class Diagram
PPT
Ch 3 E R Model
PPT
UML Diagram Assignment Help, UML Diagram Homework Help
PDF
2 class use case
PPT
Ch 5 O O Data Modeling Class
PPT
Uml class diagram and packages ppt for dot net
PPT
Class diagrams
PDF
SE_Lec 07_UML CLASS DIAGRAM
PDF
UML-Advanced Software Engineering
PPT
06 class diagrams
PPT
Ch 12 O O D B Dvlpt
PPTX
Object oriented database model
PDF
DBMS 2 | Entity Relationship Model
Uml class-diagram
Object and class relationships
Ppt of dbms e r features
Class Diagram
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
Class diagram- UML diagram
Uml class Diagram
Ch 3 E R Model
UML Diagram Assignment Help, UML Diagram Homework Help
2 class use case
Ch 5 O O Data Modeling Class
Uml class diagram and packages ppt for dot net
Class diagrams
SE_Lec 07_UML CLASS DIAGRAM
UML-Advanced Software Engineering
06 class diagrams
Ch 12 O O D B Dvlpt
Object oriented database model
DBMS 2 | Entity Relationship Model
Ad

Viewers also liked (20)

PDF
The Social Corporate Revolution
PDF
Arab israeli klaus 1
PPTX
001 Middle East Intro
PPTX
Topic.09 The Civil Rights Movement
PPT
Golda Meir And Arab Israeli Relations 35 Years After[1]
PPT
Lesson 3 fundamentalism
PDF
Javascript for php developer
PPTX
US in the Middle East Part 2
PDF
fortigate
KEY
Us involvement in the vietnam war 1
PPTX
Topic 1 intro power and ideas
PPT
Meloni
PDF
27 NP Completness
PDF
Donald Wilhite, University of Lincoln: Integrated national drought management
PDF
The Arab Spring: A simple compartmental model for the dynamics of a revolution
PPTX
D3 (drought management and risk reduction in pakistan) brig. kamran shariff
PPT
Hemp History China
PPTX
Algorithms Vs Meta Language
PPS
6 Day War
The Social Corporate Revolution
Arab israeli klaus 1
001 Middle East Intro
Topic.09 The Civil Rights Movement
Golda Meir And Arab Israeli Relations 35 Years After[1]
Lesson 3 fundamentalism
Javascript for php developer
US in the Middle East Part 2
fortigate
Us involvement in the vietnam war 1
Topic 1 intro power and ideas
Meloni
27 NP Completness
Donald Wilhite, University of Lincoln: Integrated national drought management
The Arab Spring: A simple compartmental model for the dynamics of a revolution
D3 (drought management and risk reduction in pakistan) brig. kamran shariff
Hemp History China
Algorithms Vs Meta Language
6 Day War
Ad

Similar to Chapter3 (20)

PPT
UML-class_diagram.ppt diagrams ppt download
PPT
UML-class diagram for beginners to adance.ppt
PPT
cse 355 UML class diagram software engineering.ppt
PPT
UML-class_diagram.ppt
PPTX
Relationships and their representation in a class diagram.pptx
PPT
Uml - An Overview
PPTX
FALLSEM2024-25_SWE2018_ETH_VL2024250103302_2024-10-04_Reference-Material-I.pptx
PDF
Introduction to UML, a guide to learn.pdf
PPT
08 class and sequence diagrams
PPTX
Lecture 06.pptxLecture 06.pptxLecture 06.pptx
PPTX
Structural modeling and analysis
PPT
Uml report
PPTX
introofUML.pptx
PPT
UML Introduction The system development life cycle (SDLC) is a complex projec...
DOCX
Chapterunifiedmo 3 UML Class Diagram.docx
PPTX
Unified Modeling Language and Examples .pptx
PPTX
Chapter 8 ooad
PPT
UML Diagrams
PPT
Basic Class Diagrams in fundamental computing.ppt
PPT
Department of Computer science and engineering
UML-class_diagram.ppt diagrams ppt download
UML-class diagram for beginners to adance.ppt
cse 355 UML class diagram software engineering.ppt
UML-class_diagram.ppt
Relationships and their representation in a class diagram.pptx
Uml - An Overview
FALLSEM2024-25_SWE2018_ETH_VL2024250103302_2024-10-04_Reference-Material-I.pptx
Introduction to UML, a guide to learn.pdf
08 class and sequence diagrams
Lecture 06.pptxLecture 06.pptxLecture 06.pptx
Structural modeling and analysis
Uml report
introofUML.pptx
UML Introduction The system development life cycle (SDLC) is a complex projec...
Chapterunifiedmo 3 UML Class Diagram.docx
Unified Modeling Language and Examples .pptx
Chapter 8 ooad
UML Diagrams
Basic Class Diagrams in fundamental computing.ppt
Department of Computer science and engineering

More from Dang Tuan (20)

PDF
Power your web skills
PDF
Ube Databases
PPT
Chapter1
PPT
Chapter9
PPT
Chapter7
PPT
Chapter5
PPT
Session02 Part Ii
PPT
PHÂN TÍCH VÀ THIẾT KẾ HỆ THỐNG DÙNG UML
PPT
Ooad Uml
PPT
M02 Uml Overview
PPT
UML for OOAD
PPT
Object-Oriented Analysis & Design (OOAD) Domain Modeling Introduction
PPT
Introduction to Modeling Java and UML
PPT
Information Systems Analysis and Design Overview of OOAD, UML, and RUP
PPT
Ooad Overview
PPT
M03 2 Behavioral Diagrams
PPT
M05 Metamodel
PPT
M04 Design Patterns
PPT
M03 1 Structuraldiagrams
PPT
M01 Oo Intro
Power your web skills
Ube Databases
Chapter1
Chapter9
Chapter7
Chapter5
Session02 Part Ii
PHÂN TÍCH VÀ THIẾT KẾ HỆ THỐNG DÙNG UML
Ooad Uml
M02 Uml Overview
UML for OOAD
Object-Oriented Analysis & Design (OOAD) Domain Modeling Introduction
Introduction to Modeling Java and UML
Information Systems Analysis and Design Overview of OOAD, UML, and RUP
Ooad Overview
M03 2 Behavioral Diagrams
M05 Metamodel
M04 Design Patterns
M03 1 Structuraldiagrams
M01 Oo Intro

Recently uploaded (20)

PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
NewMind AI Weekly Chronicles - August'25 Week I
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
KodekX | Application Modernization Development
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Spectroscopy.pptx food analysis technology
PPT
Teaching material agriculture food technology
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Electronic commerce courselecture one. Pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Empathic Computing: Creating Shared Understanding
Unlocking AI with Model Context Protocol (MCP)
MIND Revenue Release Quarter 2 2025 Press Release
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Review of recent advances in non-invasive hemoglobin estimation
NewMind AI Weekly Chronicles - August'25 Week I
The AUB Centre for AI in Media Proposal.docx
KodekX | Application Modernization Development
sap open course for s4hana steps from ECC to s4
Understanding_Digital_Forensics_Presentation.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Spectroscopy.pptx food analysis technology
Teaching material agriculture food technology
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Electronic commerce courselecture one. Pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Spectral efficient network and resource selection model in 5G networks
Empathic Computing: Creating Shared Understanding

Chapter3

  • 1. Session 3 Understand and Use Object Oriented Methods
  • 2. Review OOAD refers to the development of systems with the base concept of objects and classes UML is a modeling tool used in Information systems Technical systems Embedded systems Distributed systems System software Business Systems SDLC refers to different phases in the software development process
  • 3. Objectives Discuss the class diagram and object diagram Represent the relationships between classes Discuss the concept of object Model Identify classes during analysis
  • 4. Class and Object Class - A class is a description of a group of objects with common properties (attributes), behavior (Operations), relationships, and semantic Object - An object represents an entity, either physical, conceptual, or software
  • 6. Class Diagram-2 Class Names Class Attributes Class Methods Constraints Comment
  • 7. Representation of Relationship Multiplicity - Multiplicity defines how many objects participate in a relationship
  • 8. Multiplicity & Navigation Student Schedule Navigation Multiplicity 0..* 1
  • 9. Aggregation An aggregation is a stronger form of relationship where the relationship is between a whole and its parts Student Schedule Aggregation Whole Part
  • 10. Aggregation-Composition Composition is a form of aggregation with strong ownership and coincident lifetimes of the part with the aggregate Student Schedule Aggregation Whole Part
  • 11. Aggregation- Dependency A dependency relationship is a weaker form of relationship
  • 12. Aggregation-Generalization A specialization/generalization relationship is one, in which objects of the specialized element (the child) are substitutable for objects of the generalized element (the parent) Superclass Subclass
  • 13. Association Association is a connection between classes Professor University Professor University Works for Class Association Name Role Names Employer Employee
  • 14. Constraints of Association An association may have a name that is placed on, or adjacent to the association path The name of the association should reflect the purpose of the relationship and be a verb phrase; the name of an association can be omitted, particularly if roles names are used. Names like “has” and “contains should be avoided”, as they add no information about what the relationships are between the classes. Each end of an association is a role specifying the face that a class plays in the association (not a constraint). Each role must have a name, and the role names must be unique. The role name should be a noun indicating the associated object’s role in relation to the associating object. The use of association names and role names are mutually exclusive: one should not use both an association name and role name. For each association, it needs to decide as to which conveys more information.
  • 16. Qualified Association Theatre Seat 1 99 Theatre Seat 1 Row {1,2,…9} Column {1,2,..11} 1
  • 19. Inheritance and Generalization-2 The mechanism for sharing attributes and operations using the principle of generalization is referred to as inheritance
  • 20. Same Association or Aggregation
  • 22. Object Model Language independent Notation allowing the specification of classes, their data or attributes (private) and methods (public), inheritance This diagram depicts the structural relationship and functional behavior of the classes
  • 23. Nouns in problem statement Knowledge of the problem domain Use Cases Physical entities Devices Events Roles played Operational procedures Sites Organisational units How to Identify Classes? Tangible things Events Roles played Interactions Location Organizational Units The Requirements statement Use Cases Application experts Studying the system Similar systems Previous systems
  • 25. Summary A class icon is a rectangle with three sections within it Association is a connection between classes An interface is a collection of operations that are used to specify a service of a class or a component Object Model generally deals with classes