9.2. Object-Orientation

UML facilitates object-oriented (00) code design because it covers both data and behavioral modeling, and lets you drill down into physical design details relevant to OO-code. The class diagram in Figure 9.2 models a class whose instances are screen dialog boxes.

Figure 9.2. Example of a UML class.

The class shape in Figure 9.2 has three compartments. The name compartment includes the class name, as well as a tagged value naming the author of the class. The attribute compartment lists the visibility, name, and type of each attribute. The visibility settings “+”, “–”, “#”, and “~” indicate whether the attribute is public, ...

Get Information Modeling and Relational Databases, 2nd Edition now with the O’Reilly learning platform.

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