Chapter 26. Modeling Generalization

Crude classifications and false generalizations are the curse of the organized life.

A generalization by H.G. Wells

Objectives

  • Create generalization-specialization hierarchies.

  • Identify when showing a subclass is worthwhile.

  • Apply the “100%” and “Is-a” tests to validate subclasses.

Get Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.