Professional Documents
Culture Documents
01 Basics
Class
A class describes a group of objects with the same properties (attributes), behavior (operations),
kinds of
relationships, and semantics.
Object Oriented
Superficially the term object-oriented (OO) means that we organize software as a collection of
discrete objects that
incorporate both data structure and behavior. It generally include four aspects: identity, classification,
inheritance, and polymorphism.
Object Oriented Analysis and Design
Basics
What is the purpose of a software?
Is developing software easy?
OOAD is a popular technical approach for visual modeling throughout the development life
cycles for better communication and product quality.
Advantages:
Changing requirements
Easier to maintain
More robust
Code reuse
Higher Level of Abstraction
Object Oriented Methodology
Object Oriented Methodology
Macro
methodology
Development
Process
Booch
Micro
Development
Prcoess
The Macro Development Process
• Conceptualization
• Analysis and development of the model
• Design or create the system architecture
• Evolution or implementation
• Maintenance
Develop a model
of the desired
behavior(analysis)
1. Association
3. Has
Attributes
Operations
4. Using
5. Abstract Class
A
Class Diagram
Lets create a class diagram for banking system
User
Attributes
Operations
Bank Consortium
Attributes Attributes
Operations Operations
A
Transaction ATM
Online Tras. Attributes
Attributes
Attributes Operations
Operations
Operations
Object Diagram
Object Diagram: Conveys objects and links instead of classes and relationship
B: Bank
Attribute
Enabled
Silenced Sounding
Enable Disable
Disabled
Interaction Diagram
Grocery shopping: Diagrams showing how object classes influence each other
Give price
Recive price
Calculate price
Order price
Module Diagram
Grocery shopping
Diagrams showing how object classes influence each other