Previous UML Classes Table of Contents UML Packages Next


9.3.7 ConnectorEnd

InternalStructures , Ports


*Generalizations

   

    MultiplicityElement (from Kernel ) on page 96

*Description

   A connector end is an endpoint of a connector, which attaches the connector to a connectable element. Each connector end is part of one connector.

*Attributes

   No additional attributes

*Associations

S

• Internal role: ConnectableElement ructures t [1] The connectable element attached at this connector end. When an instance of the containing classifier is created, a link may (depending on the multiplicities) be created to an instance of the classifier that types this connectable element.

   • definingEnd: Property [0..1] A derived association referencing the corresponding association end on the association that types the connector owing this connector end. This association is derived by selecting the association end at the same place in the ordering of association ends as this connector end.

   Ports

   • partWithPort: Property [0..1] Indicates the role of the internal structure of a classifier with the port to which the connector end is attached.

*Constraints

   [1] If a connector end is attached to a port of the containing classifier, partWithPort will be empty.

   [2] If a connector end references both a role and a partWithPort, then the role must be a port that is defined by the type of the partWithPort.

   [3] The property held in self.partWithPort must not be a Port.

Issue 8027 -Clarify the meaning of multiplicity on connector ends.

   [4] The multiplicity of the connector end may not be more general than the multiplicity of the association typing the owning connector.

*Semantics

   InternalStructures

   A connector end describes which connectable element is attached to the connector owning that end. Its multiplicity indicates the number of instances that may be linked to each instance of the property connected on the other end.

*Notation

Issue 8027 -Clarify the meaning of multiplicity on connector ends.

   InternalStructures

    Adornments may be shown on the connector end corresponding to adornments on association ends (see Association (from Kernel ) on page 37). In cases where there is no explicit association in the model typing the connector, these adornments specify the multiplicities of an implicit association. Otherwise, they show properties of that association, or specializations of these on the connector.. The multiplicity indicates the number of instances that may be connected to each instance of the role on the other end. If no multiplicity is specified, the multiplicity matches the multiplicity of the role the end is attached to.

   Ports

   If the end is attached to a port on a part of the internal structure and no multiplicity is specified, the multiplicity matches the multiplicity of the port multiplied by the multiplicity of the part (if any).

*Changes from previous UML

   Connector end has been added in UML 2.0. The UML 1.4 concept of association end roles is subsumed by connector ends.