Skip to main content
← UML

UML Composite Structure Diagram Lab

UML / COMPOSITE / 01

Inside the order service

Select the boundary, a part, a square port or a connector to inspect its type and multiplicity.

«component»OrderServiceValidation partvalidator :CartValidator[1]Processing partprocessor :OrderProcessor[1]Storage partrepository :SqlOrderRepository[1]Delegation
Scroll the diagram horizontally on narrow screens or expand the text list.
List of parts, ports and connectors

role : Type [n] gives the internal role, its type and its fixed multiplicity in this model.

A square marks a port on the classifier boundary or on a part boundary.

In this case an assembly connects a processor requirement to another internal part that provides it.

In this case delegation connects the external provided port to the processor port providing the same interface.

Notation and semantics

The lab edits fixed roles and connectors. It checks declared interfaces, references and case multiplicities. Multiplicity constrains how many parts a role can hold. Connectors describe the relationships between roles. Instance selection, role binding and runtime calls are outside this model.

OMG · UML 2.5.1 §§9.5, 11.2–11.3 ↗
Blank area: ← → chapters · Native keys inside controls01 / 06
Preparing the model