9.2. Useful Class Diagrams

When we design a system, many different types of class diagrams can be useful. The type of a diagram is determined by the intent it's communicating. Each of these diagrams can exist at different levels of abstractions. One diagram may communicate high-level system structure, whereas another might communicate a lower-level implementation. Regardless of the diagram's intent, it's important to keep diagrams at a consistent level of abstraction. When we decide to combine high-level system constructs with lower-level implementations on a single diagram, we should have a good reason for doing so.

9.2.1. Package Diagrams

Package diagrams are useful when we need to communicate and understand the structure of the system from ...

Get Java™ Design: Objects, UML, and Process 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.