Object-Oriented Modeling and Design
Object-Oriented Modeling and Design
Object-Oriented Modeling and Design
•understanding problems
•modeling enterprises
•preparing documentation
What is Procedure-Oriented
Programming ?
•Abstraction
•Encapsulation
•Polymorphism
•Inheritance
Abstraction
•Focus is an what an Object is and does
before deciding how it should be implemented.
CLASS Person
ATTRIBUTES
In OMT notation,
* Solid Ball => "many" meaning zero
or more
* Hollow ball => "optional" meaning
zero or one
* A line without balls => one-to-
one association.
Multiplicity of an Associations
Link and Association Concepts
Link Attribute is a property of the links in an
association.
In OMT notation, it is represented by a
box attached to the association by a loop.
Link and Association Concepts
Role Names
instances.
CONCRETE CLASSES
A Concrete class is a class that is instantiable.
Example:
META DATA
• Is data that describes other data
Stages in OOA
implementation.
Goal of OOA Contd..
Problem or Requirements Statements
•Problem scope
•What is needed
•Application context
•Assumptions
•Performance needs
Problem or Requirements Statements
Contd..
ATM Example:
What it does
reject transaction.
ATM Example:
A possible constraint
detailed levels.
SYSTEM DESIGN
Functional.
Breaking System into sub-systems
The first step in system design is to divide the system
into a small number of components called subsystem.