Abstract:
By abstractly analyzing the characteristic of syntax and semantics of modeling languages, a model mapping approach based on semantic consistency is proposed. To use this approach, abstract target semantic model should be constructed firstly. Then, based on the idea of elements in source semantic domain being reconstructed in the target semantic domain, mapping relations from source model to target model are made via abstract target semantic model. This approach may not only to be a theoretical guidance for model transformation, but also can be a measurement for validating the mapping rules between models at different abstract levels. JavaServer Faces assisted with Enterprise JavaBeans is used as a target platform to help interpreting the process of using this approach.
Key words:
model driven development,
model mapping,
semantics reconstruction,
semantics consistency
摘要: 通过对模型描述语言的语法结构和语义表达特性的抽象分析,提出了一种基于语义重构的模型映射方法。该方法通过归纳分析建立抽象目标语义模型,基于源模型语义域在目标语义域中的重新构造,以目标语义模型为中介建立源模型到目标模型的映射关系。该方法不仅可为模型转换的具体实现提供理论指导,还可为验证不同抽象层次模型之间映射关系的正确性提供依据。以JSF+EJB为目标平台阐述了该方法的应用。
关键词:
模型驱动开发,
模型映射,
语义重构,
语义一致性
CLC Number:
YANG Xiao; WAN Jian-cheng; HOU Jin-kui. Model Mapping Approach Based on Semantics Reconstruction[J]. Computer Engineering, 2007, 33(23): 45-47,5.
杨 潇;万建成;侯金奎. 一种基于语义重构的模型映射方法[J]. 计算机工程, 2007, 33(23): 45-47,5.