What is Navigability in UML diagrams?
This shows navigability. A
can see (means it has an attribute referencing) B
. In contrast B
has no idea about/reference to A
. As @JimL commented, your arrow is wrong and only used for stereotype definition. I'm referring to the unfilled arrow which indicates navigability of associations from which I assume you actually meant that.
UML 2.5 spec p. 18:
Arrow notation is used to denote association end navigability. By definition, all class-owned association ends are navigable. By convention, all association-owned ends in the metamodel are not navigable.
An association with neither end marked by navigability arrows means that the association is navigable in both directions.
And even more relevant p. 200:
Navigability notation was often used in the past according to an informal convention, whereby non-navigable ends were assumed to be owned by the Association whereas navigable ends were assumed to be owned by the Classifier at the opposite end. This convention is now deprecated. Aggregation type, navigability, and end ownership are separate concepts, each with their own explicit notation. Association ends owned by classes are always navigable, while those owned by associations may be navigable or not.
So you should use the dot notation instead:
The UML specs is an intricate pile of alternative notations that can drive you crazy. Explore with caution!
In real life, KEEP IT SIMPLE! Don't use "dot notation" and don't use x
to denote non-navigability, unless your peers are familiar with it.
Use arrows for navigable associations. People are familiar with it, or if not they're intuitive enough.