摘要
关联变换是MDA中模型转换的难点,研究了如何定义一套高质量的映射规则用于关联变换。首先讨论了UML中关联关系及其两种实现模式,接着对每种模式分别定义了一套从UML模型(平台独立模型)到Java模型(平台相关模型)的变换规则,最后给出了两种实现模式按规则转换的实例。
Association transformation is the difficulty of model transformation in MDA. How to define a suit of effective mapping rules for association transformation is emphasized. First, association in UML and its two implementation patterns are discussed. Then, for every pattern, a suit of rules are defined, which are used in transformation from UML model (PIM) to Java model (PSM), respectively. At last, two transformation examples of implementation pattern are presented by using rules.
出处
《计算机工程与设计》
CSCD
北大核心
2006年第16期3078-3081,共4页
Computer Engineering and Design