Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
delegation
The ability of an object to issue a message to another object in response to a message. Delegation can be used as an alternative to inheritance. In some languages (such as self), it is supported by inheritance mechanisms in the language itself. In most other languages, such as C++ and Smalltalk, it can be implemented with an association or aggregation to another object. An operation on the first object invokes an operation on the second object to accomplish its work. Contrast: inheritance.
Although most models assume a traditional view of inheritance, the UML resolution mechanism that determines the effect of invoking an operation is written in a general way so that behavior such as delegation can be used if desired. The inclusion ...
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