Software Disclaimer

Class UML 2.3::CollaborationUse

Description:

A collaboration use represents one particular use of a collaboration to explain the relationships between the properties of a classifier. A collaboration use shows how the pattern described by a collaboration is applied in a given context, by binding specific entities from that context to the roles of the collaboration. Depending on the context, these entities could be structural features of a classifier, instance specifications, or even roles in some containing collaboration. There may be multiple occurrences of a given collaboration within a classifier, each involving a different set of roles and connectors. A given role or connector may be involved in multiple occurrences of the same or different collaborations. Associated dependencies map features of the collaboration type to features in the classifier. These dependencies indicate which role in the classifier plays which role in the collaboration.

Direct Superclasses: NamedElement

Direct Subclasses:

Class Precedence List: CollaborationUse, NamedElement, Element

Properties:

roleBinding : Dependency (0 *); -- source CollaborationUse
type : Collaboration (1 1); -- source CollaborationUse
clientDependency : Dependency (0 *); -- source NamedElement
name : String (0 1); -- source NamedElement

The name of the NamedElement.

nameExpression : StringExpression (0 1); -- source NamedElement
namespace : Namespace (0 1); -- source NamedElement

Specifies 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 Element

Constraints:

Signature: every_role() : Boolean;
Description: Every role in the collaboration is bound within the collaboration use to a connectable element within the owning classifier.
Expression: true

Signature: connectors() : Boolean;
Description: The connectors in the classifier connect according to the connectors in the collaboration
Expression: true

Signature: client_elements() : Boolean;
Description: All the client elements of a roleBinding are in one classifier and all supplier elements of a roleBinding are in one collaboration and they are compatible.
Expression: true

Operations:

No additional operations.



Send questions or comments to [email protected].