DESIGN AND IMPLEMENTATION OF A TWO-LEVEL MODELING TOOL BASED ON MOF
Li Xiaochun,Liu Shufen,Yu Zhuoer,Geng Tongcheng,Xiong Zhuang,Shen Wenxu
DOI: https://doi.org/10.3969/j.issn.1000-386X.2008.03.003
2008-01-01
Abstract:As a language definition mechanism of MDA(Model Driven Architecture),MOF(Meta Object Facility) can be used to develop software in universal platforms.To improve the universal quality of modeling software,GMT(General Modeling Tool) is designed and implemented based on MOF.According to MVC pattern,the system is designed into three parts: interface,operation and database.The consistency of data in each part is guaranteed through the synchronous message mechanism and the Observer pattern.In the course of interface presenting,every model element is founded by Factory pattern.Furthermore,some components are painted by the timer,which is an internal class of thread.After meta-modeling and field modeling on the basis of the analysis and abstract of the fields studied,the system models of a specific field are set up.The system provides a way to realized field meta-modeling and field modeling,and the information is kept in the model warehouse.The model in the warehouse can be customized to an application component by the tool of Make,and the product can be used to realize universal field modeling.