Class UML 2.5::Association
Description:
A link is a tuple of values that refer to typed objects. An Association
classifies a set of links, each of which is an instance of the Association.
Each value in the link refers to an instance of the type of the corresponding
end of the Association.
Direct Superclasses: Relationship,
ClassifierDirect Subclasses: Extension,
CommunicationPath,
AssociationClassClass Precedence List: Association,
Relationship,
Classifier,
Namespace,
Type,
PackageableElement,
ParameterableElement,
TemplateableElement,
RedefinableElement,
NamedElement,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
endType :
Type (1 *); -- source
Association![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
isDerived : Boolean (1 1); -- source
Association![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
memberEnd :
Property (2 *); -- source
Association![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
navigableOwnedEnd :
Property (0 *); -- source
Association![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
ownedEnd :
Property (0 *); -- source
Association![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
relatedElement :
Element (1 *); -- source
Relationship![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
attribute :
Property (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
collaborationUse :
CollaborationUse (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
feature :
Feature (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
general :
Classifier (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
generalization :
Generalization (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
inheritedMember :
NamedElement (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
isAbstract : Boolean (1 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
isFinalSpecialization : Boolean (1 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
ownedTemplateSignature :
RedefinableTemplateSignature (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
ownedUseCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
powertypeExtent :
GeneralizationSet (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
redefinedClassifier :
Classifier (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
representation :
CollaborationUse (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
substitution :
Substitution (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
templateParameter :
ClassifierTemplateParameter (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
useCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
importedMember :
PackageableElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
package :
Package (0 1); -- source
Type![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
visibility :
VisibilityKind (0 1); -- source
PackageableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
templateBinding :
TemplateBinding (0 *); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=43459%3AA9F6DF3F4EFFB306B259B4A1B0A9FB18)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: CMOF_14_3_29() : Boolean;
Description: 14.3 [29] Each Association memberEnd Property must be typed by a Class.
Expression: memberEnd.type.oclIsKindOf(Class)
Signature: CMOF_14_3_1() : Boolean;
Description: 14.3 [1] The multiplicity of Association::memberEnd is limited to 2 rather than 2..*
(i.e., n-ary Associations are not supported);
unlike EMOF, CMOF associations can have navigable association-owned ends.
see also: https://sites.google.com/site/metamodelingantipatterns/catalog/mof/association-does-not-have-two-member-ends
Expression: memberEnd->size() = 2 and ownedEnd->size() < 2
Operations:
Signature: endType.1() : Type;
Description: endType is derived from the types of the member ends.
Expression: result = (memberEnd->collect(type)->asSet())
Send questions or comments to
[email protected].