[code generation]EMF_Eclipse 数据模型框架

EMF(Eclipse Modeling Framework)是一个基于Eclipse的模型框架,能够根据结构化数据模型生成Java类、适配器类以及基本编辑器。它支持从XMI、标注的Java、UML或XML导入模型,并提供了与其它EMF工具的互操作性基础。Ecore是EMF的核心,提供元模型和模型的运行时支持,包括变更通知、默认的XMI序列化持久化以及高效的反射API。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

EMF

Eclipse Modeling Framework (EMF) is an Eclipse-based modeling framework and code generation facility for building tools and other applications based on a structureddata model.

EMF是基于Eclipse的模型框架,同时它也是一个基于结构化数据模型的代码生成器,可以构造工具和其他应用.

From a model specification described in XMI, EMF provides tools and runtime support to produce a set of Java classes for the model, a set of adapter classes that enable viewing and command-based editing of the model, and a basic editor. Models can be specified using annotatedJava, UML, XML documents, or modeling tools, then imported into EMF. Most important of all, EMF provides the foundation for interoperability with other EMF-based tools and applications.

对于一个用XMI写成的模型描述,EMF提供生产JAVA类所需的工具和运行支持、一系列的的适配器类来浏览以及用指令编辑模型,除此之外还有一个基本的编辑器。模型可以用标注了的Java,UML,XML文件,或者模型工具描述,然后可以把它导入到EMF中。最重要的是,EMF为基于EMF的工具和应用之间的互用性提供了基础。

Ecore

The core EMF framework includes a metamodel (Ecore) for describing models and runtime support for themodels including change notification, persistence support withdefault XMI serialization, and a very efficient reflective API formanipulating EMF objects generically.

Ecore 是EMF框架的核心,它是一个元模型,用以描述模型.



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值