会计学
1
数据抽象及三种抽象方法
An Introduction to Database System
数据抽象(续)
三种常用抽象
1. 分类(Classification)
定义某一类概念作为现实世界中一组对象的类型
抽象了对象值和型之间的“is member of”的语义
第1页/共8页
An Introduction to Database System
数据抽象(续)
第2页/共8页
An Introduction to Database System
数据抽象(续)
2. 聚集(Aggregation)
定义某一类型的组成成分
抽象了对象内部类型和成分之间“is part of”的语义
第3页/共8页
An Introduction to Database System
数据抽象(续)
聚集
第4页/共8页
An Introduction to Database System
数据抽象(续)
复杂的聚集,某一类型的成分仍是一个聚集
更复杂的聚集
第5页/共8页
An Introduction to Database System
数据抽象(续)
3. 概括(Generalization)
定义类型之间的一种子集联系
抽象了类型之间的“is subset of”的语义
继承性
第6页/共8页
An Introduction to Database System
数据抽象(续)
概括
第7页/共8页
数据抽象及三种抽象方法PPT学习教案 来自淘豆网www.taodocs.com转载请标明出处.