Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsTransform UML Class diagram to UML Class diagram
https://www.eclipse.org/forums/index.php/mv/msg/162181/512790/#msg_512790
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
]]>Bernard BALLESTA2010-02-07T18:00:17-00:00Re: Transform UML Class diagram to UML Class diagram
https://www.eclipse.org/forums/index.php/mv/msg/162181/512796/#msg_512796
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").]]>Itamar2010-02-07T18:56:40-00:00Re: Transform UML Class diagram to UML Class diagram
https://www.eclipse.org/forums/index.php/mv/msg/162181/512799/#msg_512799
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").]]>Dimitrios Kolovos2010-02-07T19:29:45-00:00