UML Collaboration Diagrams

A major task of the design phase is creating the interaction diagrams for the system operations. Read this section to learn more about collaboration diagrams. As you review the examples, consider general principles in assigning responsibilities. Ask yourself, how do you determine the relationship between objects? How can you extract the classes? How do you determine whether a mentioned feature can be considered a class attribute? How would you determine class methods?

Conclusion

A pattern is a well used procedure in collaboration diagrams. It is a solution to a common occurring problem. Five basic patterns under GRASP patterns have been described, these are Expert, Creator, High Cohesion, Low Coupling and Controller. You need to be careful when using patterns so as to develop a modifiable and robust object-oriented design.