Professional Documents
Culture Documents
10/19/22 OOAD 1
Today’s Agenda
Digression : OO Concepts
OO Analysis vs OO Design
10/19/22 OOAD 2
Digression: OO Concepts-Objects
https://docs.oracle.com/javase/tutorial/java/concepts/
10/19/22 OOAD 5
What is OO analysis and design?
Essence of OO analysis - consider a problem domain from the
perspective of objects (real world things, concepts)
10/19/22 OOAD 6
Examples
OO Analysis - in the case of library information systems, one
would find concepts like book, library, patron
10/19/22 OOAD 7
Example - contd.
Representation in
Domain concept analysis of concepts
Book
______
title
print()
10/19/22 OOAD 8
Object-oriented Design
With traditional analysis methods, we
model the world using functions or
behaviors as our building blocks…
With object-oriented analysis, we model
reality with objects as our building
blocks.”
10/19/22 OOAD 9
Why we use objects ?
We deal with objects in everyday life – the
world is full of objects
With object-oriented programming, data and
the methods that act on the data are nicely
packaged together (encapsulation)
Commonalties between objects can be
captured with a common base class
(inheritance), while their differences can be
preserved (polymorphism)
10/19/22 OOAD 10
The problem: How do we find
objects ?
10/19/22 OOAD 11
What are business processes?
First step - consider what the business must do; in the case of a
library - lending books, keeping track of due dates, buying new
books.
10/19/22 OOAD 12
Roles in the organization
Identify the roles of people who will be involved in the
business processes.
10/19/22 OOAD 13
Who does what? Collaboration
Business processes and people identified; time to
determine how to fulfill the processes and who executes
these processes.
10/19/22 OOAD 14
In Summary...
10/19/22 OOAD 15