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: FeatureDirect Subclasses: Class Precedence List: Connector,
Feature,
RedefinableElement,
NamedElement,
ElementProperties:
contract :
Behavior (0 *); -- source
Connector end :
ConnectorEnd (2 *); -- source
ConnectorA Connector has at least two ConnectorEnds, each representing the participation
of instances of the Classifiers typing the ConnectableElements attached
to the end. The set of ConnectorEnds is ordered.
{
composite,
ordered}
Subsets: Element.ownedElement
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
NamedElementSpecifies the Namespace that owns the NamedElement.
{
readonly}
Derived union with sources: ()
Subsets: Element.owner
Opposite: Namespace.ownedMember
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
ElementThe Element that owns this Element.
{
readonly}
Derived union with sources: (namespace)
Opposite: Element.ownedElement
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].