UML Composite Structure Diagram Lab
Inside the order service
Select the boundary, a part, a square port or a connector to inspect its type and multiplicity.
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 ↗CheckoutsubmitOrder(cart): CheckoutResultCheckoutsubmitOrder(cart): CheckoutResultList of parts, ports and connectors
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.
Check the model to see which part, port or connector needs repair.
List of parts, ports and connectors
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.
Type definitions in the class diagram
The class diagram defines types and relationships such as Order and OrderLine. Inside OrderService, processor : OrderProcessor names a role typed by OrderProcessor.
Open the order class diagram ↗External contracts in the component diagram
The component diagram shows how the order service uses inventory, payment and notification interfaces. This view opens the service and shows how it delegates checkout to an internal part.
Open the order component diagram ↗Which name denotes an internal role?
ReportEngine contains formatter : PdfFormatter [1].