Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Transform UML Class diagram to UML Class diagram
Transform UML Class diagram to UML Class diagram [message #585834] Sun, 07 February 2010 18:00 Go to next message
BALLESTA Mising name is currently offline BALLESTA Mising name
Messages: 6
Registered: July 2009
Location: Paris
Junior Member
Hi,

I would like using ETL to transform:
-From an UML Class diagram representing an Entity/relationShip conceptual data model;
----Entity moded as UML Classes
----Associations modeled as UML associations
-to another UML Class diagram representing an Relational base
----Relational Tables modeled as classes
--------Add primary key attribute
----Foreign keys and Referential integrity modeled as navigable associations.

In order to transform from/to UML model, I need to have an UML metamodel in Ecore.

My question:
-Where can i find an UML metamodel in Ecore in order to feed in Epsilon ?
-How to set up the environment ?

The goal is to do the same kind of transformation of the Epsilon example "Transform an OO model to a DB model with ETL" but using source and target UML Models.

Best regards
Bernard
Re: Transform UML Class diagram to UML Class diagram [message #585843 is a reply to message #585834] Sun, 07 February 2010 18:56 Go to previous messageGo to next message
Itamar is currently offline Itamar
Messages: 39
Registered: November 2009
Member
To use Ecore's UML meta-model you need to install the UML2 plugin (and you'll probably want UML2Tools too, for the graphical editor).

To install these plug-ins, add the http://download.eclipse.org/releases/galileo update-site and look under the Modeling branch.

Once you install it, the UML meta-model URI can be obtained using:UMLPackage.eNS_URI (or just hard-coded: "http://www.eclipse.org/uml2/3.0.0/UML").
Re: Transform UML Class diagram to UML Class diagram [message #585849 is a reply to message #585843] Sun, 07 February 2010 19:29 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Bernard,

Adding to Itamar's advice, you can browse the EClasses of the UML
metamodel (and their contents) using the EPackage Registry view provided
by Epsilon
( http://www.eclipse.org/gmt/epsilon/doc/articles/epackage-reg istry-view/).

Please let us know if you need more help with this.

Cheers,
Dimitris

Itamar wrote:
> To use Ecore's UML meta-model you need to install the UML2 plugin (and
> you'll probably want UML2Tools too, for the graphical editor).
>
> To install these plug-ins, add the
> http://download.eclipse.org/releases/galileo update-site and look under
> the Modeling branch.
>
> Once you install it, the UML meta-model URI can be obtained
> using:UMLPackage.eNS_URI (or just hard-coded:
> "http://www.eclipse.org/uml2/3.0.0/UML").
Previous Topic:Transform UML Class diagram to UML Class diagram
Next Topic:[EUGENIA] Different types of diagrams like UML2 Tools
Goto Forum:
  


Current Time: Sun Oct 26 01:04:20 GMT 2014

Powered by FUDForum. Page generated in 0.04048 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software