EXTENDING UML TO REPRESENT INTERACTION ROLES AND VARIANTS OF DESIGN PATTERN

Keen Ngee Loo, Sai Peck Lee

2010

Abstract

There are various descriptions, structures and behavior on the solution for a design problem in a design pattern. However, there is not much visual aid on the internal workings of a design pattern in a visual design modeling tool. Currently, it is difficult to determine the pattern roles and variants of interaction groups of a design pattern as these information is not represented in the UML interaction diagram. There is a need to have a consistent way to define the pattern roles participating in a design pattern interaction and whether there is a variant in each interaction group. This paper proposes to extend the UML sequence diagram via UML profile to allow designers to define and visualise the pattern roles and the different types of interaction groups for a design pattern. The proposed extensions are able to capture the two ways of design pattern interaction variants in sequence diagram. An example of the approach is then applied to the observer design pattern. The benefit of the extension enables tool support on cataloguing and retrieval of design patterns’ structural and behavioural information as well as variant in a visual design modeling tool.

References

  1. Agerbo, E. & Cornils, A. 1998, 'How to preserve the benefits of Design Patterns', ACM SIGPLAN Notices, vol. 33, no. 10, pp. 134-43.
  2. Blankenhorn, K. & Jeckle, M. 2004, 'A UML Profile for GUI Layout', NODe 2004, vol. LCNS 3263, pp. 110- 21.
  3. Budgen, D. 1999, 'Software Design Methods: Life Belt or Leg Iron?78, Software, IEEE, vol. 16, no. 5, pp. 133-5.
  4. Software Design, Second edn, Pearson Education Limited, Essex, England, 2003.
  5. Dong, J., Yang, S. & Zhang, K. 2007, 'Visualizing Design Patterns in Their Applications and Compositions', IEEE Transactions on Software Engineering, vol. 33, no. 7, pp. 433-53.
  6. Eclipse 2010, Model Development Tools (MDT), <http:// www.eclipse.org/modeling/mdt/>.
  7. Eugster, P. T., Felber, P. A., Guerraoui, R. & Kermarrec, A-M. 2003, 'The Many Faces of Publish/Subscribe', Computing Surveys (CSUR), vol. 35, no. 2.
  8. France, R. B., Kim, D-K., Ghosh, S. & Song, E. 2004, 'A UML-Based Pattern Specification Technique', IEEE Transactions on Software Engineering, vol. 30, no. 3, pp. 193-206.
  9. Gamma, E., Helm, R., Johnson, R. & Vlissides, J. 1995, Design Patterns: Elements of Reusable OO Software, Addison-Wesley.
  10. Grassi, V., Mirandola, R. & Sabetta, A. 2004, 'A UML Profile to Model Mobile Systems', UML 2004.
  11. Kandé, M. M. & Strohmeier, A. 2000, 'Towards a UML Profile for Software Architecture Descriptions', UML 2000.
  12. Lethbridge, T. C. 2000, 'What knowledge is important to a software professional?78, Computer, vol. 33, no. 5, pp. 44-50.
  13. Noble, J. 1998, 'Classifying Relationships between Objectoriented Design Patterns', in Australian Software Engineering Conference, 1998, pp. 98-107.
  14. 'Object Constraint Language OMG Available Specification Version 2.078, 2006.
  15. 'OMG Unified Modeling Language (OMG UML), Superstructure, V2.1.278, 2007.
  16. Pohl, K. & Metzger, A. 2006, 'Variability Management in Software Product Line Engineering', ICSE' 06, pp. 1049-50.
Download


Paper Citation


in Harvard Style

Ngee Loo K. and Peck Lee S. (2010). EXTENDING UML TO REPRESENT INTERACTION ROLES AND VARIANTS OF DESIGN PATTERN . In Proceedings of the 5th International Conference on Software and Data Technologies - Volume 2: ICSOFT, ISBN 978-989-8425-23-2, pages 201-207. DOI: 10.5220/0003009602010207


in Bibtex Style

@conference{icsoft10,
author={Keen Ngee Loo and Sai Peck Lee},
title={EXTENDING UML TO REPRESENT INTERACTION ROLES AND VARIANTS OF DESIGN PATTERN},
booktitle={Proceedings of the 5th International Conference on Software and Data Technologies - Volume 2: ICSOFT,},
year={2010},
pages={201-207},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0003009602010207},
isbn={978-989-8425-23-2},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 5th International Conference on Software and Data Technologies - Volume 2: ICSOFT,
TI - EXTENDING UML TO REPRESENT INTERACTION ROLES AND VARIANTS OF DESIGN PATTERN
SN - 978-989-8425-23-2
AU - Ngee Loo K.
AU - Peck Lee S.
PY - 2010
SP - 201
EP - 207
DO - 10.5220/0003009602010207