Software Disclaimer

Class UML 2.5::Connector

Description:

A Connector specifies links that enables communication between two or more instances. In contrast to Associations, which specify links between any instance of the associated Classifiers, Connectors specify links between instances playing the connected parts only.

Direct Superclasses: Feature

Direct Subclasses:

Class Precedence List: Connector, Feature, RedefinableElement, NamedElement, Element

Properties:

contract : Behavior (0 *); -- source Connector
end : ConnectorEnd (2 *); -- source Connector
kind : ConnectorKind (1 1); -- source Connector
redefinedConnector : Connector (0 *); -- source Connector
type : Association (0 1); -- source Connector
featuringClassifier : Classifier (0 1); -- source Feature
isStatic : Boolean (1 1); -- source Feature
isLeaf : Boolean (1 1); -- source RedefinableElement
redefinedElement : RedefinableElement (0 *); -- source RedefinableElement
redefinitionContext : Classifier (0 *); -- source RedefinableElement
clientDependency : Dependency (0 *); -- source NamedElement
name : String (0 1); -- source NamedElement
nameExpression : StringExpression (0 1); -- source NamedElement
namespace : Namespace (0 1); -- source NamedElement
qualifiedName : String (0 1); -- source NamedElement
visibility : VisibilityKind (0 1); -- source NamedElement
ownedComment : Comment (0 *); -- source Element
ownedElement : Element (0 *); -- source Element
owner : Element (0 1); -- source Element

Constraints:

No additional constraints.

Operations:

Signature: kind.1() : ConnectorKind;
Description: Derivation for Connector::/kind : ConnectorKind
Expression: result = (if end->exists( role.oclIsKindOf(Port) and partWithPort->isEmpty() and not role.oclAsType(Port).isBehavior) then ConnectorKind::delegation else ConnectorKind::assembly endif)



Send questions or comments to [email protected].