Chapter 3. Fundamental UML

To effectively use UML, we must understand how we represent diagrams in code.

Before attempting to understand how the UML can be used on a software project, we first must understand some of the fundamental elements that compose the UML. By understanding these fundamental elements, we gain insight into the building blocks of the UML at all levels. In this chapter, we begin our studies of many of the most commonly used elements within the UML and how these elements map to the Java language.

This type of discussion often is centered around the UML metamodel. This metamodel describes many of the entities and the relationships between these entities that compose the UML. While this discussion is important, the metamodel ...

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.