UML for Systems Engineering: Watching the Wheels, Second Edition

5.10: Component Diagrams

5.10 Component Diagrams

5.10.1 Overview

This section introduces component diagrams that realise a structural view of a system. Component diagrams are often perceived as being used, in the main, at later stages of system development when it comes to packaging up the final product and delivering to the customer. However, they are also very useful for modelling legacy systems which will usually happen towards the beginning of a project. Component diagrams show real-life aspects of a system and have strong relationships to both class and object diagrams.

The simplest way to summarise why a component diagram is used is to imagine buying any product that is packaged in a box. The component diagram, basically, shows 'what's in the box' using both components and artefacts.

5.10.2 Diagram Elements

Component diagrams in UML 2.0 are far more powerful (and useful) than those presented in UML 1.x. Several new elements are introduced and the definition of a component is tightened up to provide a far more precise definition of what a component actually is. The elements that make up a component diagram are shown in Figure 5.72.


Figure 5.72: Partial meta-model for component diagrams

The diagram in Figure 5.72 shows the partial meta-model for component diagrams. There are three main elements that make up a component diagram that are: one or more 'Component', zero or more 'Interface' and zero or more 'Artefact'. Each of these is discussed in more detail since the meaning of components has changed compared to the one provided in...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Integrated Development Environment (IDE)
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.