35
P.A. Bernstein, S. Melnik: Meta Data Management, ICDE'04 Boston
Model Generation
lDesign pattern – Given a model, generate an equivalent model in another metamodel
M1
M2
map
lApplications
ØWrapper generation (SQL ® OO or XML)
ØDesign tools (ER ® SQL, SQL ® ER)
ØUI/4GL generation
lSolution template
ØáM2, mapñ = ModelGen(M1, metamodel2); Export(M2)
ØModelGen often needs human guidance
SM: actually, ModelGen executes a functional meta-mapping between two meta-models. Output is a target model + mapping between source and target: <target, map> = ExecuteMapping(source, meta-map);
Examples:
  execute meta-mapping (rules):<SQL, map> = ExecuteMapping(ER, rules);
  execute mapping: <XSD2, instance map> = ExecuteMapping(XSD1, xslt);