Chapter 2. Object-Oriented Modeling

This chapter introduces the object-oriented paradigm and the UML’s modeling techniques. As the UML is a language for communicating about a system and its requirements, we communicate our understanding of the subject using an alphabet, words, sentences, paragraphs, sections, and documents. First, I discuss how to write sentences—UML diagram fragments—about the subject using the language’s alphabet and words, and I also introduce the concepts and principles of the object-oriented paradigm. Next, I talk about how sentences are organized into paragraphs—UML diagrams—and I introduce the various UML modeling techniques. Next, I go over how paragraphs are organized into sections—architectural views. Finally, I discuss how sections are organized into documents—models. Many details are not fleshed out in this chapter but are more fully elaborated in subsequent chapters.

Project Management System Requirements

Throughout this chapter, I will use the following partial requirements description of a very small part of the project management system under development as the case study for this book:

A project manager uses the project management system to manage a project. The project manager leads a team to execute the project within the project’s start and end dates. Once a project is created in the project management system, a manager may initiate and later terminate the project due to its completion or for some other reason.

As input, a project uses requirements. ...

Get Learning UML 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.