Advanced Generalization Concepts

Chapter 5 explained single inheritance — a generalization where each subclass has one immediate superclass. This chapter covers more complex forms of generalization (multiple inheritance) in which a subclass may have multiple immediate superclasses. It also discusses large taxonomies and compares generalization to other modeling constructs.

8.1 Multiple Inheritance

Multiple inheritance is a mechanism that permits a class to inherit from multiple immediate superclasses. This is a more complex form of generalization than single inheritance, which restricts the class structure to a tree. Multiple inheritance provides greater power in specifying classes, but at the cost of more complexity. There are two motivations ...

Get UML Database Modeling Workbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.