DocumentCode :
2292249
Title :
A role-based metamodeling approach to specifying design patterns
Author :
Kim, Dae-Kyoo ; France, Robert ; Ghosh, Sudipto ; Song, Eunjee
Author_Institution :
Dept. of Comput. Sci., Colorado State Univ., Fort Collins, CO, USA
fYear :
2003
fDate :
3-6 Nov. 2003
Firstpage :
452
Lastpage :
457
Abstract :
Design patterns describe solutions to recurring design problems in the development of software designs. To encourage the use of design patterns, we are investigating tool support for incorporating patterns into UML models. The development of such tools requires patterns to be specified at the metamodel level. Patterns may be specified using roles, where a role is played by model elements. However, the notion of role in the object-oriented community is strictly based on objects, and does not allow the use of the word "role" in any other place where the context is not object-based. In this paper, we propose a notion of role that can be used to specify design patterns at the metamodel level. We survey the characteristics of object-based roles and generalize them. Based on the generalized notion of a role define a new notion of a model role which is played by a model element. We illustrate the use of model roles with a specification of a variant of the Observer design pattern.
Keywords :
formal specification; object-oriented programming; software engineering; UML model; design model; design patterns; investigating tool support; object-based roles; role-based metamodeling approach; software design; unified modeling language; Application software; Computer applications; Computer science; Metamodeling; Object oriented modeling; Software design; Unified modeling language;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Software and Applications Conference, 2003. COMPSAC 2003. Proceedings. 27th Annual International
ISSN :
0730-3157
Print_ISBN :
0-7695-2020-0
Type :
conf
DOI :
10.1109/CMPSAC.2003.1245379
Filename :
1245379
Link To Document :
بازگشت