In this blogpost, I will start with briefly explaining four common ways that visibility can be achieved from object
A to object
B and finish with two examples how to visualise visibility from a UML Communication Diagram to a UML Class Diagram.
The Unified Modeling Language (UML) includes interaction diagrams with the purpose to illustrate how objects interact via messages. Interaction diagrams are used for dynamic object modeling. There are two common types: sequence and communication diagrams. Communication diagrams illustrate the interactions between objects in terms of sequenced messages. In this blogpost I will provide you with a overview of basic communication diagram notations and common patterns. You should this blogpost as a cheatsheet.Read more
In the past year, I have done a lot of Object Oriented Design (OOD). I have learned that deciding what methods belong where, and how objects should interact carries consequences and should be undertaken seriously. OOD is definitely not magic. There are patterns, which are named and well-known problem/solution pairs, that can be applied in new contexts.Read more