发明名称 Database mapping of models for reporting tools in model driven development
摘要 Embodiments of the present invention provide a method, system and computer program product for mapping models to relational databases for reporting tools. In an embodiment of the invention, a model mapping method for models of a model driven development (MDD) environment can include initializing a database table and selecting a data source storing a modeling framework representation of a model. A first query can be executed against an application programming interface (API) of the data source supporting a modeling framework query language to retrieve selected elements of the model. Likewise, a second query can be executed against the API of the data source to retrieve selected attributes of the selected elements of the model. Finally, rows of the database table can be populated with the retrieved selected elements of the model and corresponding columns of the database table can be populated with the retrieved selected attributes of the selected elements of the model. Consequently, a report can be generated for the model based upon the rows and columns of the database table.
申请公布号 US9164738(B2) 申请公布日期 2015.10.20
申请号 US200912496290 申请日期 2009.07.01
申请人 International Business Machines Corporation 发明人 Boyersmith Michael Jeffrey;Dubauski Barys;Elaasar Maged E.
分类号 G06F7/00;G06F17/30;G06F9/44;G06F13/14 主分类号 G06F7/00
代理机构 CRGO LAW 代理人 Greenberg, Esq. Steven M.;CRGO LAW
主权项 1. A model mapping method for models of a model driven development (MDD) environment, the method comprising: initializing a database table; selecting a data source storing a modeling framework representation of a model; executing a first query against an application programming interface (API) of the data source supporting a modeling framework query language to retrieve selected elements of the model and executing a second query against the API of the data source to retrieve selected attributes of the selected elements of the model, the modeling framework query language of the first query utilizing one of an Eclipse modeling framework (EMF) object constraint language (OCL) query language and an Eclipse modeling framework (EMF) extensible markup language (XML) path (XPath) query language to retrieve selected attributes of the selected elements of the model; and, populating rows of the database table with the retrieved selected elements of the model and populating corresponding columns of the database table with the retrieved selected attributes of the selected elements of the model.
地址 Armonk NY US