Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

UML 2 Composition Model

Published

Author(s)

Conrad E. Bock

Abstract

The composition model in the Unified Modeling Language, version 2, is a major upgrade to the familiar black diamond composition of earlier versions. It supports connections between parts at the same level of decomposition, in addition to the usual part-whole associations. This enables complex networks of entities to be represented within a single class, inherited to subclasses, with links maintained between objects playing parts at runtime. The model also supports connections between parts of parts (ports), enabling more detailed structural modeling, and implementations of message forwarding that increases the independence of reused applications, and better plug-compatibility for components.
Citation
Journal of Object Technology
Volume
3
Issue
10

Keywords

Component, Composition, Ports, UML 2

Citation

Bock, C. (2004), UML 2 Composition Model, Journal of Object Technology, [online], https://doi.org/10.5381/jot.2004.3.10.c5 (Accessed April 23, 2024)
Created October 1, 2004, Updated November 10, 2018