staticstructure
KlasseConnector

The Connector entity represents a binding between ports of components to enable communication between components. The actual kind of the port (EventPort or InterfacePort) determine the communication style, i.e., either message passing or method invocations.

Attribute
<Primitive Type> Boolean isDelegation isDelegation

This derived attribute differentiates between two kinds of connectors---assembly connectors and delegation connectors. An assembly connector (for which the attribute is set to false) is used for connecting ports of components on the same hierarchy level, while a delegation connector (for which the attribute is set to true) connects ports on adjacent hierarchy levels, i.e., connecting a port of a CompositeStructure with a port of its subcomponent.

<Class> EndPoint endpoints endpoints

This property represents the endpoints of the connector, i.e., entities to be attached to component ports.

!!TableHeading.InheritedAttributes!!samm::core::Entity samm::core::Entity
documentation documentation

!!TableHeading.InheritedAttributes!!identifier::Identifier identifier::Identifier
id id

!!TableHeading.InheritedOperations!!samm::core::Entity samm::core::Entity

!!TableHeading.InheritedOperations!!identifier::Identifier identifier::Identifier

Eigenschaften:

Alias
Classifier Behavior
Is Abstractfalse
Is Activefalse
Is Leaffalse
Keywords
NameConnector
Name Expression
Namespace<<ePackage>> <Package> staticstructure
Owned Template Signature
Owner<<ePackage>> <Package> staticstructure
Owning Template Parameter
Package<<ePackage>> <Package> staticstructure
Qualified Namesamm::staticstructure::Connector
Representation
Stereotype
Template Parameter
VisibilityPublic

Details für Attribute

 endpoints
Public <Class> EndPoint endpoints

This property represents the endpoints of the connector, i.e., entities to be attached to component ports.

Eigenschaften:

AggregationComposite
Alias
Association<Association> A_endpoints_connector
Association End
Class<Class> Connector
Datatype
Default
Default Value
Is Compositetrue
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower0
Lower Value<Literal Integer> 0
Multiplicity*
Nameendpoints
Name Expression
Namespace<Class> Connector
Opposite
Owned Template Signature
Owner<Class> Connector
Owning Association
Owning Template Parameter
Qualified Namesamm::staticstructure::Connector::endpoints
Stereotype
Template Parameter
Type<Class> EndPoint
Upper*
Upper Value<Literal Unlimited Natural> *
VisibilityPublic


 isDelegation
Public <Primitive Type> Boolean isDelegation

This derived attribute differentiates between two kinds of connectors---assembly connectors and delegation connectors. An assembly connector (for which the attribute is set to false) is used for connecting ports of components on the same hierarchy level, while a delegation connector (for which the attribute is set to true) connects ports on adjacent hierarchy levels, i.e., connecting a port of a CompositeStructure with a port of its subcomponent.

Eigenschaften:

AggregationNone
Alias
Association
Association End
attributeName
Class<Class> Connector
Datatype
Default
Default Value
Is Compositefalse
Is Derivedtrue
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlytrue
Is Staticfalse
Is Uniquefalse
isIDFalse
isTransientTrue
isUnsettableTrue
isVolatileTrue
Keywords
Lower1
Lower Value
Multiplicity1
NameisDelegation
Name Expression
Namespace<Class> Connector
Opposite
Owned Template Signature
Owner<Class> Connector
Owning Association
Owning Template Parameter
Qualified Namesamm::staticstructure::Connector::isDelegation
StereotypeeAttribute
Template Parameter
Type<Primitive Type> Boolean
Upper1
Upper Value
visibility0 - Unspecified
VisibilityPublic
xmlFeatureKind0 - Unspecified
xmlName
xmlNamespace

Integritätsbedingungen
oneLevelConnectorstrue --if (self.isDelegation=true) then -- self.endpoints->forAll(sce | sce.oclAsType(SubcomponentEndpoint).subcomponent.parent.id = self.oclAsType(SubcomponentEndpoint).subcomponent.parent.id)) -- else -- (self.endpoints->forAll(sce | sce.oclAsType(SubcomponentEndpoint).subcomponent.id = self.oclAsType(SubcomponentEndpoint).subcomponent.id)) --endif