Eclipse Modeling Framework (EMF)

Inheritance in EMF

Please note from the EMF Framework Programmer's Guide:

''As in Java itself, multiple interface inheritance is supported, but each EMF class can only extend one implementation base class. Therefore, when we have a model with multiple inheritance, we need to identify which of the multiple bases should be used as the implementation base class. The others will then be simply treated as mixin interfaces, with their implementations generated into the derived implementation class"

The implementation base (primary extension path) is identified by the «extend» stereotype, the others become mixins.

EMF for XSD (XML Schema)

Please note the following important differences between XSDs and Ecore Models regarding multiple inheritance:

'EMF's EClass supports multiple inheritance, which allows you to mix-in structural features like attributes at multiple places in your generated class hiearchy. However, the java language does not support multiple class inheritance, so the actual implementation behind the shared java interface is generated multiple times.'

'XML Schemas do not support multiple inheritance. A Complex Type can only extend one other Complex Type.

As an approximation, XSDs allow attribute groups do be define. They can be reused multiple times. However, each time an attribute group is reused, it is treated as a copy of those attributes, rather than a shared reference.'

EMF zone

This content area is UNDER CONSTRUCTION or MIGRATION

A Webel zone dedicated the Eclipse Modeling Framework (EMF). There are lots of examples of EMF in action in the NeXML zone, and in this screencast.

Eclipse Modeling Framework (EMF)

This content area is UNDER CONSTRUCTION or MIGRATION

Eclipse zone

This content area is UNDER CONSTRUCTION or MIGRATION

A Webel zone dedicated to the Eclipse IDE, Eclipse Platform, and related technologies.

Service: UML Parsing Analysis of technical documents and digital texts into graphical UML models

Webel - the home of Dr Darren's UML™ Parsing Analysis recipe - is delighted to offer a unique service, the translation of digital texts into UML models capturing requirements, systems analysis, systems architecture, and designs as graphical Unified Modeling Language™ (UML™) models.

What comes in ?

Technical documents from your domain, preferrably as digital text, however the conversion of older documents such as printed materials and scans into digital text is also offered as part of the service.

Candidate source text documents include:

What comes out ?

Professional UML™ Parsing Analysis models and diagrams corresponding to every sentence of the source document, together with overview diagrams generated from the union of those diagrams, including Package and Model overview diagrams, Use Case diagrams, systems and architecture diagrams, and professional reports.

In the case where the domain involves scientific or engineering topics with flows, port-based engineering diagrams employing Systems Modeling Language (SysML) can be provided to supplement traditional software engineering diagrams.

Does it run ?

Where there is appropriate correspondence between the domain and software engineering elements, the analysis layer can be related to a design layer of reverse-engineered Java components from existing APIs, or forward engineered to the Eclipse Modeling Framework (EMF).

NeXML: a generative XML Schema with EMF Java bindings for the NeXus format

This content area is UNDER CONSTRUCTION or MIGRATION

The NeXML project showcases some Unified Modeling Language™ (UML™), Java™, and XML Schema technologies employed by Webel. It is under migration from a standalone JSP-driven zone to a new Drupal™-driven Content Management System (CMS) zone.

The old NeXML site - although now FROZEN - is fully functional and very informative, with good examples of EMF and dynamic XSD schema engineering

A comprehensive report with abstract and PDF attachment is available here:

And there is a screencast movie of a presentation from the Meeting of the NeXus International Advisory Committee (NIAC), 2008:

Syndicate content
Unified Modeling Language
OMG Systems Modeling Language
Java Get Powered
PHP
Powered by MySQL
Powered by Drupal
Lunarpages.com Web Hosting