Broadly, these frameworks take two different approaches: code generation and object-to-XML mapping.
笼统来说,这些框架采用了两种不同的方式:代码生成和对象到xml映射。
Using UML and stereotypes, it might even be possible to generate both the object model and the XML vocabulary from a single diagram (see the "UML, XMI, and code generation" articles in Resources).
使用UML和原型(stereotype),甚至可以从一个图同时生成对象模型和xml词汇表(请参阅参考资料中“UML, XMI, and code generation”一文)。
This is the exact opposite of DFD, which is an upward generation of object code from only the database.
这是DFD的,这是一个对象的代码从数据库中只有向上的一代正好相反。
应用推荐