7.0. Notation

In this section, we review many of the fundamental elements first introduced in Chapter 3. Because the majority of our discussion at this point is focused on class diagrams, we examine some of the fundamental structural elements and their Java language mappings.

7.0.1. Class

A class is a blueprint for an object. A class has three compartments. The first represents the name of the class as defined in Java. The second represents the attributes, which correspond to instance variables within the class. An attribute defined in this second compartment is the same as a composition relationship. The third compartment, Operations, represents ...

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.