DocumentCode
3109754
Title
Using RoleOf relationship in design pattern instantiation
Author
Chengwan He ; Keqing He ; He, Fei ; Yao, Feng ; Liu, Jin
Author_Institution
State Key Lab. of Software Eng., Wuhan Univ., China
Volume
2
fYear
2005
fDate
4-6 April 2005
Firstpage
353
Abstract
The scattering of pattern logic (the attributes and methods of pattern role) is the most typical problem on design pattern instantiation, that is, pattern logic scatters across multiple business classes, which causes problems, such as, debasing the reusability of pattern logic, losing the instantiation information of pattern (traceability and overlapping problem) etc. To resolve these problems in design level, an approach to design pattern instantiation based on RoleOf relationship is proposed. It treats role as the independent modeling element and introduces RoleOf relationship between business class and role, which makes the business logic and the pattern logic completely separated, thus improves its reusability. Through the extension of UML, the meta-model and semantics of RoleOf relationship, and stereotypes and tagged values used for identify pattern information are provided, it resolves the traceability and overlapping problem. Finally, the implementation method of RoleOf relationship is discussed through an example.
Keywords
Unified Modeling Language; formal specification; object-oriented methods; object-oriented programming; software reusability; RoleOf relationship semantics; UML; business logic; design pattern instantiation; meta-model; pattern logic scattering problem; pattern role; pattern traceability; Application software; Chemical technology; Concrete; Documentation; Laboratories; Logic design; Pattern analysis; Scattering; Software engineering; Unified modeling language; RoleOf relationship; UML; design pattern instantiation; meta model; role;
fLanguage
English
Publisher
ieee
Conference_Titel
Information Technology: Coding and Computing, 2005. ITCC 2005. International Conference on
Print_ISBN
0-7695-2315-3
Type
conf
DOI
10.1109/ITCC.2005.288
Filename
1425169
Link To Document