An association end role is a specialization of an association
end, used to describe an association end's behavior in a particular
context. In the UML metamodel
is a sub-class of
Two or more association end roles are associated with each association role (see Section 21.3, “Association Role”), although for ArgoUML, the number of ends can only be two.
The association end role has no direct access on any diagram, although its stereotype, name and multiplicity is shown at the relevant end of the parent association role (see Figure 21.1, “Possible artifacts on a collaboration diagram.”), and some of its properties can be directly adjusted with button 2 click. Where shared or composite aggregation is selected for one association end role, the opposite end is shown as a solid diamond (composite aggregation) or hollow diamond (shared aggregation).
ArgoUML does not currently (V0.18) support showing qualifiers on the diagram, as described in the UML 1.4 standard.
An association end role should have the same, or “stricter” attribute values than its base association end. In particular its navigability should be no more general. There is as yet no critic in ArgoUML to offer advice on this rule.
The details tabs that are active for association end roles are as follows.
Standard tab. There is no code generated for an association end role.
Standard tab. In the UML metamodel,
AssociationEndRole has the following standard tagged
derived (from the superclass,
true, meaning the association end role
is redundant???it can be formally derived from other
false meaning it
Derived association end roles still have their value in analysis to introduce useful names or concepts, and in design to avoid re-computation. However the tag only makes sense for an association end role if it is also applied to the parent association role.
Navigate up to the association role to which this end role belongs.
This navigates to the other end of the association role.
This creates a new Qualifier for the selected association-end role, navigating immediately to the properties tab for that qualifier.
Qualifiers are only partly supported in ArgoUML V0.18. Hence, activating this button creates a qualifier in the model, which is not shown on the diagram. Also, the properties panel for a qualifier equals that of a regular attribute.
This creates a new Stereotype (see Section 16.5, “Stereotype”) for the selected association-end role, navigating immediately to the properties tab for that stereotype.
This deletes the selected association-end from the model.
This button is downlighted for binary association roles, since an association needs at least two ends. Only for N-ary associations, this button is accessable, and deletes just one end from the association.
Text box. The name of the association end role, which provides a role name for this end of the association role. This role name can be used for navigation, and in an implementation context, provides a name by which the source end of an association role can reference the target end.
ArgoUML does not enforce any naming convention for association end roles.
Drop down selector. Association end role is provided by
default with the UML standard stereotypes for
icon. If a stereotype has been selected, this will navigate to the stereotype property panel (see Section 16.5, “Stereotype”).
Text field that shows the name of the corresponding association end. Button 1 double click navigates to the association end.
Text box. Records the parent association role for this association end role. Button 1 double click navigates to the association role.
Drop down selector providing access to all standard UML types provided by ArgoUML and all new classes created within the current model.
This is the type of the entity attached to this end of the association role.
Editable drop down text entry. Allows to alter the multiplicity of this association end role (with respect to the other end), i.e. how many instances of this end may be associated with an instance of the other end. The multiplicity is shown on the diagram at that end of the association role.
All remaining properties
See Section 18.12.3, “Property Fields For Association End” . Since these are completely equal to the fields of an association end, they are not repeated here.