mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-19 21:25:38 +00:00
#1113 Link uml-reverse-mapper created class diagrams to readme, where needed
This commit is contained in:
@@ -18,6 +18,9 @@ Adapt an object to different client’s needs through transparently attached rol
|
||||
the object has to play in that client’s context. The object manages its role set dynamically. By representing roles as
|
||||
individual objects, different contexts are kept separate and system configuration is simplified.
|
||||
|
||||
## Class diagram
|
||||

|
||||
|
||||
## Applicability
|
||||
Use the Role Object pattern, if:
|
||||
- you want to handle a key abstraction in different contexts and you do not want to put the resulting context specific interfaces into the same class interface.
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 63 KiB |
Reference in New Issue
Block a user