UML Composite Structure Diagram

From Training Material
Jump to navigation Jump to search

Composite Structure Diagram⌘

CompositeStructureDiagram.png

  • Describes the internal structure of a classifier and the collaborations that this structure makes possible.
  • Structured Classifiers may contain an internal structure of connected elements each of which plays a role.
  • Encapsulated Classifier extends Structured Classifier with the ability to own Ports, a mechanism for isolating an Encapsulated Classifier from its environment.

Role and Part⌘

  • Role represents a participant within the internal structure of a Structured Classifier.
  • Part is special kind of Role (owned using composition).
  • A part may be shown by graphical nesting of a box symbol with a solid outline representing the part.
  • A role that is not a composition may be shown by graphical nesting of a box symbol with a dashed outline.

Connector⌘

  • A Connector specifies links between two or more instances playing roles within a structured classifier.

Port⌘

EncapsulatedClassifierPort.png

  • A Port represents interaction point through which an Encapsulated Classifier communicates with its environment.