+ All Categories
Home > Technology > Hierarchical Object Oriented Design

Hierarchical Object Oriented Design

Date post: 21-May-2015
Category:
Upload: sahibsahib
View: 195 times
Download: 5 times
Share this document with a friend
Description:
Hierarchical Object Oriented Model - HOOD
Popular Tags:
13
Outline : • Object Oriented Design – Overview • Object Oriented Design - Methods • HOOD – Overview • HOOD – The Basic Design Step • HOOD – Notation • HOOD – Example 06/15/22 1 Sahib Babbar - [email protected]
Transcript
Page 1: Hierarchical Object Oriented Design

Outline:• Object Oriented Design – Overview• Object Oriented Design - Methods• HOOD – Overview• HOOD – The Basic Design Step• HOOD – Notation• HOOD – Example

04/12/23 1Sahib Babbar - [email protected]

Page 2: Hierarchical Object Oriented Design

Three OOD principles that improve software design for reliability, maintainability, and reusability.

• Abstraction: Objects are an abstraction of part of the real-world. More maintainable and reusable.

• Encapsulation: Objects hide their internal contents from other components to improve maintainability. (information hiding)

• Inheritance: Organizing objects in class hierarchies to promote reuse. (subclass, superclass, hierarchical, multiple, polymorphism)

04/12/23 2Sahib Babbar - [email protected]

Page 3: Hierarchical Object Oriented Design

Hierarchical Object Oriented Design (HOOD)Object Oriented System Design (OOSD)Object Oriented System Analysis (OOSA)Object Oriented Analysis (OOA)ObjectOry

04/12/23 3Sahib Babbar - [email protected]

Page 4: Hierarchical Object Oriented Design

• HOOD is a method of hierarchical decomposition of the design into software units based on identification of objects, classes and operations reflecting problem domain entities or more abstract objects related to digital programming entities.

• It is intended for the Architectural Design, Detailed Design and coding for software to be developed in programming languages such as Ada, C, or FORTRAN, as well as in object oriented languages such as C++, Ada95 or Eiffel.

04/12/23 4Sahib Babbar - [email protected]

Page 5: Hierarchical Object Oriented Design

The main process in HOOD is called the Basic Design Step.

• "A Basic Design Step has as its goal the identification of child objects of a given parent object, and of their individual relationships to other existing objects, or the refinement of a terminal object to the level of the code. This process is based on the identification of objects by means of object-oriented design techniques”

04/12/23 5Sahib Babbar - [email protected]

Page 6: Hierarchical Object Oriented Design

A basic design step process is further split into four phases, thus defining a micro life-cycle for a design step: -

1. Problem definition• Statement of the problem• Analysis and structuring of requirement data

2. Development of solution strategy3. Formalization of the strategy• Object identification. • Operation identification. • Grouping objects and operations (object operation table). • Graphical description. • Justification of design decisions.

4. Formalization of the solution04/12/23 6Sahib Babbar - [email protected]

Page 7: Hierarchical Object Oriented Design

Phase 1 : Problem Definition

The context of the object to be designed is stated, with the goal of organizing and structuring the data from the requirement analysis phase. This is an opportunity to provide a completeness check on requirements and traceability to design.

1. Statement of the problem - the designer states the problem in correct sentences which provides:- a clear and precise definition of the problem; - the context of the system to design.

2. Analysis and structuring of requirement data - the designer gathers and analyses all the information relevant to the problem, including the environment of the system to be designed.

Phase 1Problem definition

Phase 2Development of solution strategy

Phase 3Formalization of the

strategy

Phase 4Formalization of the

solution

04/12/23 7Sahib Babbar - [email protected]

Page 8: Hierarchical Object Oriented Design

Phase 2 : Development of solution strategy

The outline solution of the problem stated above is described in terms of objects at a high level of abstraction.

Phase 1Problem definition

Phase 2Development of solution strategy

Phase 3Formalization of the

strategy

Phase 4Formalization of the

solution

04/12/23 8Sahib Babbar - [email protected]

Page 9: Hierarchical Object Oriented Design

Phase 3 : Formalization of the strategy

The objects and their associated operations are defined. A HOOD diagram of the proposed design solution is produced, allowing easy visualization of the concepts and further formalization. There are five sub phases in the formalization of the strategy:

• Object identification. • Operation identification. • Grouping objects and operations (object operation table).• Graphical description. • Justification of design decisions.

Phase 1Problem definition

Phase 2Development of solution strategy

Phase 3Formalization of the

strategy

Phase 4Formalization of the

solution

04/12/23 9Sahib Babbar - [email protected]

Page 10: Hierarchical Object Oriented Design

Phase 4 : Formalization of the solution

The solution is formalized through:• formal definition of provided object interfaces.• formal description of object and operation control

structures.

Phase 1Problem definition

Phase 2Development of solution strategy

Phase 3Formalization of the

strategy

Phase 4Formalization of the

solution

04/12/23 10Sahib Babbar - [email protected]

Page 11: Hierarchical Object Oriented Design

The main diagram used for describing the structure of a system is the HOOD object diagram, which shows a static view of the structure in the hierarchical object oriented design. The symbols used are as follows:

04/12/23 11Sahib Babbar - [email protected]

Page 12: Hierarchical Object Oriented Design

04/12/23 12

Person

name address national_insurance_no

Chare_timeEarn_salary

HireFire

Product

Product_name weight

Worker Manager

Department

Companynameaddressphoneproduct

works_for

manages

project

Project_nameBudgetpriority

Works

_on

Responsible_for

Manu-factures

Component Optional_extras

Page 13: Hierarchical Object Oriented Design

Thank You

Any ?

04/12/23 13Sahib Babbar - [email protected]


Recommended