Title :
EMF Based Validation Methods of the Static Semantics of Models
Author :
Li Haibing ; Zhu Ning ; Lei Yonglin ; Li Xiaobo ; Zhu Yifan
Author_Institution :
Coll. of Inf. Syst. & Manage., Nat. Univ. of Defense Technol., Changsha, China
Abstract :
A metamodel is a description language of models. To address the problem that validation rules of the SMP2 metamodel haven´t been implemented by XML Schema, a method to enhance the accuracy of the model by adding static semantics to the SMP2 metamodel is proposed. Supposing to use Java language or OCL for constraints definition and use EMF for the validation of static semantics of SMP2 metamodel, two methods to validate static semantics of models based on Eclipse modelling framework, namely EMF Ecore validation and EMF validation framework extension, are analyzed in this paper. Java language and OCL are employed to implement constraints definition. Constraints specified formally based on OCL are executed via an OCL engine. On the basis of both validation methods, SMP2 metamodel constraints are to be described, modeled and validated using EMF validation methods.
Keywords :
Java; XML; object-oriented languages; program verification; EMF Ecore validation; EMF based validation methods; EMF validation framework extension; Eclipse modeling framework; Java language; OCL engine; SMP2 metamodel constraints; XML schema; description language; static semantics; Biological system modeling; Engines; Java; Libraries; Object oriented modeling; Semantics; Unified modeling language; Constraint definition; EMF; Metamodel; OCL; Validation of static semantics;
Conference_Titel :
Information Science and Control Engineering (ICISCE), 2015 2nd International Conference on
Conference_Location :
Shanghai
Print_ISBN :
978-1-4673-6849-0
DOI :
10.1109/ICISCE.2015.53