Return to Introduction  Previous page  Next page

A Qualifier is a property of an Association that limits the nature of the relationship between two classifiers or objects.

Some examples of qualified associations are shown in the following diagram:


Qualifiers are set in the Source Role and Target Role tabs of the Connector Properties dialog.

Note: Separate multiple Qualifiers with a semi-colon; each Qualifier then displays on a separate line. For example, in the diagram above the Qualifier 'rank:Rank;file:File' has been rendered in two lines, with a line break at the ; character.

Note: You can enable or disable Qualifier rectangles in the Diagram page of the Options dialog (select the Tools | Options | Diagram menu option). If disabled, the old style text Qualifiers are used. It is not recommended that you disable Qualifiers as they are an integral part of the UML.

Note: You can enable or disable a mild shading on the Qualifier rectangles in the Links page of the Options dialog.


OMG UML Specification

The OMG UML specification (UML Superstructure Specification, v2.0, p. 93) states:

"A qualifier declares a partition of the set of associated instances with respect to an instance at the qualified end (the qualified instance is at the end to which the qualifier is attached). A qualifier instance comprises one value for each qualifier attribute. Given a qualified object and a qualifier instance, the number of objects at the other end of the association is constrained by the declared multiplicity. In the common case in which the multiplicity is 0..1, the qualifier value is unique with respect to the qualified object, and designates at most one associated object. In the general case of multiplicity 0..*, the set of associated instances is partitioned into subsets, each selected by a given qualifier instance. In the case of multiplicity 1 or 0..1, the qualifier has both semantic and implementation consequences. In the case of multiplicity 0..*, it has no real semantic consequences but suggests an implementation that facilitates easy access of sets of associated instances linked by a given qualifier value."