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框架的核心,它是一个元模型,用以描述模型.