RoleOf relationship and its meta model for design pattern instantiation

  • Authors:
  • Chengwan He;Fei He;Keqing He;Jin Liu;Wenjie Tu

  • Affiliations:
  • State key laboratory of Software Engineering, Wuhan University, Wuhan, China;Major in Computer Science, Graduate School of Science and Engineering, Waseda University, Tokyo, Japan;State key laboratory of Software Engineering, Wuhan University, Wuhan, China;State key laboratory of Software Engineering, Wuhan University, Wuhan, China;Department of Computer Science and Technology, Wuhan Institute of Chemical Technology, Wuhan, China

  • Venue:
  • ADMA'05 Proceedings of the First international conference on Advanced Data Mining and Applications
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper states that the RoleOf Relationship can provide a general approach to resolve instantiation problems of design patterns. The problems come from the fact that pattern logic scatters across multiple business classes (classes specific to each application). This causes problems such as decreasing reusability of pattern logic, and losing of the instantiation information of pattern (traceability and overlapping problem) etc. To resolve these problems in design level, an approach for design pattern instantiation based on RoleOf relationship is proposed. In our approach, roles of pattern are treated as the independent modeling elements and RoleOf relationship is used to associate a role with a business class. The meta model of RoleOf relationship for pattern instantiation and its semantics are proposed as well. Examples are used to illustrate this approach. Implementation and behavior description of RoleOf relationship are also presented in the paper.