Chapter
Sponsored Links
This presentation is the property of its rightful owner.
1 / 18

Chapter 2 Abstractions PowerPoint PPT Presentation


  • 86 Views
  • Uploaded on
  • Presentation posted in: General

Chapter 2 Abstractions. จุดประสงค์ 1. เพื่อให้นักศึกษาได้เข้าใจความหมายและความสำคัญของ Abstraction ที่มีต่อ OOAD 2. เพื่อให้นักศึกษาทำความเข้าใจเบื้องต้นเกี่ยวกับ Abstraction แบบต่างๆ ได้แก่ Classification, Aggregation, Generalization และ Association. 2.1 Abstractions.

Download Presentation

Chapter 2 Abstractions

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Chapter 2

Abstractions


1. Abstraction OOAD

2. Abstraction Classification, Aggregation, Generalization Association


2.1 Abstractions

Class ( Abstract Data Type) Objects Concept Object Class Concept Domain


Concept Objects Real World Class Abstractions 4

1. Classification Abstraction

2. Aggregation Abstraction

3. Generalization Abstraction

4. Association Abstraction


Abstraction Problem Domain Problem Domain Abstraction Abstraction Classification Abstraction Abstraction Problem Domain Abstraction 1 Problem Domain


2.2 Classification Abstraction

Classification Abstraction (Classify)Object Domain Concept Object Class (Fundamental Classes)

Problem Domain (1) (2) (3) 6 Volvo (4) (5) Dodge (6) BMX Concept (1) (2) (3) 6 Volvo Concept (1) (2) (3) Class Classification


Concepts

1.

2.

3.

4.

6 Volvo

BMX

Classification


Concept 4 Class Objects (1) (2) (3) 1. 2. 3. 4. 4

Classification Abstraction Class Classification Abstraction Class Class Aggregation Generalization Class Association


2.3 Aggregation Abstraction

Aggregation Abstraction Class (Aggregate) Class Class Class Classification

Aggregation Class (Compose) Class Concept Class (Decompose) Concept


Domain Aggregation

Aggregation

Aggregation

Aggregation


Aggregation Class Class Concept Class Class Aggregation Class Class


2.4 Generalization Abstraction

Generalization Abstraction Class (General) Class Generalization Abstraction Specialization Specialization Class Class


Generalization Specialization

:

Specialization

Specialization

Generalization

Generalization

: + 4

: +

Specialization

Generalization

Generalization

: +


Generalization Class Class Class Class Class Specialization 4

Specialization


2.5 Association Abstraction

Association Abstraction Class Problem Domain Aggregation ( ) Generalization ( ) Association Class


Class Domain

Association Abstraction Domain


Class Problem Domain () () () Aggregation Generalization Abstraction Association Abstraction

Class


1. Generalization Abstraction Aggregation Abstraction

2. Aggregation Abstraction Association Abstraction

3. Abstraction

  • -

  • -


  • Login