Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
rolename
A name for a particular association end within an association.
The UML1 term rolename is not actually used in UML2, but as the official term association end name is somewhat unwieldy, we will continue to use the UML1 term for convenience, as many users undoubtedly will do.
Semantics
A rolename provides a name to identify an association end within an association, as well as to navigate from one object to another using the association. Because a rolename can be used in these two complementary ways, the name must be unique in two namespaces simultaneously.
All the rolenames in an association must be different. Within a self-association (an association involving the same class more than once), rolenames are necessary to disambiguate the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access