Skip to main content


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 #512790] Sun, 07 February 2010 18:00 Go to next message
Bernard BALLESTA is currently offline Bernard BALLESTAFriend
Messages: 8
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 #512796 is a reply to message #512790] Sun, 07 February 2010 18:56 Go to previous messageGo to next message
Itamar is currently offline ItamarFriend
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 #512799 is a reply to message #512796] Sun, 07 February 2010 19:29 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
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:ETL
Next Topic:Transform UML Class diagram to UML Class diagram
Goto Forum:
  


Current Time: Tue Mar 19 09:29:26 GMT 2024

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

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

Back to the top