首页 | 本学科首页   官方微博 | 高级检索  
     

一个可构造的反演状态模式
引用本文:何克清,应时,何非.一个可构造的反演状态模式[J].软件学报,2001,12(8):1242-1249.
作者姓名:何克清  应时  何非
作者单位:国立先端科学技术研究大学日本 1 武汉大学软件工程国家重点实验室湖北武汉 430072;国立先端科学技术研究大学日本 1 武汉大学软件工程国家重点实验室湖北武汉 430072;国立先端科学技术研究大学日本 1 武汉大学软件工程国家重点实验室湖北武汉 430072
基金项目:国家教育部科学技术重点规划资助项目(99188);武汉市科学技术规划资助项目(20011001001)
摘    要:为了构造可扩充、可配置、可控制的状态模型,提出了一个可构造的反演状态模式.基于体系结构的反演模式和角色对象模式,讨论了状态设计模式中结构和行为的反演方法及其手段;给出了其反演模式体系结构的元级和基本级对象结构;使用MOP(metaobjeotprotoco1)规程给出了元级和基本级的关系,讨论了反演状态模式的元对象反演到基本级对象群的"截取和求精(interception和reification)”机制.此外,还给出了一个应用可构造的反演状态模式的记账凭证处理型]应用事例.

关 键 词:角色模型  状态设计模式  反演模式  角色对象模式  UMI.(unified  modeling  language)
收稿时间:9/6/2000 12:00:00 AM
修稿时间:2000年9月6日

A Constructive Pattern for State Reflection
HE Ke qing,YING Shi and HE Fei.A Constructive Pattern for State Reflection[J].Journal of Software,2001,12(8):1242-1249.
Authors:HE Ke qing  YING Shi and HE Fei
Abstract:In order to construct extendable, configurable and controllable state model, a constructive pattern for state reflection is proposed in this paper. Based on the reflective pattern of software architecture and role object pattern, the reflection approach for structure and behavior in the pattern of state design is discussed. At meta level and base level, the object structures for architecture of reflective pattern are designed. The relationship between the meta level and the base level is presented with the protocol of MOP (meta object protocol). The mechanism of interception and reification for object reflections from the meta level to the base level is discussed in the pattern of state reflection. Finally, an example of voucher using the pattern of state reflection is given in this paper.
Keywords:role model  pattern of state design  reflective pattern  pattern of role object  UML (unified modeling language)  
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号