O'Reilly logo

UML 2 Certification Guide by Tim Weilkiens, Bernd Oestereich

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER THREE OCUP INTERMEDIATE

3.1 COMPOSITE STRUCTURE DIAGRAMS

This chapter discusses a diagram form of UML 2.0 that was not around in UML 1x: composite structure diagrams.

A composite structure diagram describes the internal structure of things such as classes and components. Because UML is a very extensive language already, so that you may ask, “Why do we need yet another diagram form?”

To answer this question, let’s look at the class diagram in Figure 3.1. This class diagram shows the simplified composition of a boat and a car. The boat consists of a propeller and an engine that drives the propeller. The car also consists of an engine, but it is driven by two wheels instead of a propeller. Altogether, the car has four wheels, namely, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required