Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
role
A constituent element of a structured classifier that represents the appearance of an instance (or, possibly, set of instances) within the context defined by the structured classifier.
See collaboration, connector, structured classifier.
Semantics
A role is the appearance of an individual within the context defined by a structured classifier. An instance of a collaboration does not own the objects that appear in its context; it merely references them, and they may appear in multiple collaboration contexts. An instance of a structured class does own its parts; they exist within its context and may not be part of another structured class.
A role differs from an association in that a role is tied to a particular classifier, and all the roles ...
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