摘要
MDA把模型分为PIM和PSM,通过PIM到PSM的转换,实现PIM的重用。如何构建PIM是一个重要课题,该文提出了一个基于角色模型的PIM建模方法。该方法首先建立系统用况的角色模型,然后通过角色的组合和分配约束,把角色模型转换成类模型,在不同抽象层次实现模型的重用。最后通过一个WebApplication的建模过程说明该方法的使用。
MDA(MOdel Driven Architecture) is a model-driven engineering framework to manipulate both PIMs(Platform Independent Models) and PSMs(Platform Specific Models). Although PIM plays a key role in MDA, MDA doesn't provide the method and process of constructing PIM. This paper proposes a method for modeling platform independent model based on role model The basic thought of this method is to build role models of application, and to map role model to class model through the rules of role composition and assignment, which can improve reuse of models at different level of abstraction. Finally an example applying this method to a Web application is introduced.
出处
《计算机工程》
EI
CAS
CSCD
北大核心
2006年第7期78-80,共3页
Computer Engineering
基金
国家自然科学基金资助项目(60373086)
关键词
MDA
平台无关模型
平白相关模型
角色模型
MDA(model driven architecture)
PIM(platform independent model)
PSM(platform specific model)
Role model