Properties of elements on UML component diagrams

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Properties of elements on UML component diagrams.

In a UML component diagram, each element on the diagram has properties. To see the properties of an element, right-click the element on the diagram or in UML Model Explorer and then click Properties. The properties appear in the Properties window.

System_CAPS_ICON_note.jpg Note

This topic is about the properties of elements in UML Component Diagrams. For more information about how to read UML Component Diagrams, see UML Component Diagrams: Reference. For more information about how to draw UML Component Diagrams, see UML Component Diagrams: Guidelines.

PropertyDefaultElementDescription
NameA default nameAllIdentifies the element.
Qualified NameNamespace :: NameAllIdentifies the element uniquely.

A component or type's name is prefixed with the qualified name of the package that contains it.

A part or port's name is prefixed with the qualified name of the component that owns it.
Work Items0 associatedAllThe number of work items associated with this element. To associate work items, see Link model elements and work items.
Description(none)AllYou can make general notes about the element here.
Color(default for the type)Component, Part, Delegation, Part assemblyThe color of the shape. Unlike other properties, this is the color of the shape rather than the model element that the shape displays.
Is Indirectly InstantiatedTrueComponentThe component exists only as a design artifact. At run time, only its parts exist.
Is AbstractFalseComponentThe component definition can be used only as a generalization from which other components can be specialized.
VisibilityPublicComponent, Part, PortPublic - globally visible.

 Package - visible within the package.

 Private - visible within the owning component.

 Protected - visible to components derived from the owner.
TypeType on creationPart

Port
The type of a part is a component or class.

The type of a Port is an interface.
Multiplicity1Part

Port
Indicates how many instances of the specified type form part of the parent component.

 1 - exactly one.

 0..1 - one or none.

 * - a collection of any number.

 n..m - a collection of from n to m instances.
Is BehaviorFalsePortIf true, messages to this port are handled by activities or operations that are described as part of the component, instead of its parts.
Is ServiceFalsePortIf true, this port is part of the published interface of this component.
LinkedPackageModelDiagramThe default namespace for elements added to this diagram.

UML Use Case Diagrams: Reference
UML Use Case Diagrams: Guidelines

Show: