Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » what library can i import <<Table>> or <<Column>&am
what library can i import <<Table>> or <<Column>&am [message #781045] Thu, 19 January 2012 11:31 Go to next message
B Simpson is currently offline B SimpsonFriend
Messages: 25
Registered: January 2012
Junior Member
hello,
i would like to basically create something usable for creating classes and SQL.
i need to import some stereotypes i could apply to my classes and properties so they would be recognizable as parts of db schema.
anyone? thanks
Re: what library can i import <<Table>> or <<Column&gt [message #781186 is a reply to message #781045] Fri, 20 January 2012 09:41 Go to previous messageGo to next message
Eclipse UserFriend
Hello B Simpson

I don't know some existing profile that would already contain <<Table>>
or <<Field>> stereotype, but you can easily create it with papyrus to
apply it to your model.

However, the reason why there is no Database profile, is that it is not
very necessary


Thanks to Object/relationnal mapping principle, you don't need to create
such a stereotype :

Classes -> Tables
Properties -> Fields
Relation -> Foreign keys
Package -> Schema

you can look for some tutorial of ATL transformations from the Web that
will give you some base material to make your transformation
OR
Directly using Acceleo to create your SQL database creation material.
If you put every class model that shall be mapped to RDB in a Package
called "Databases" all you have to do is to create some conditions in
Acceleo or ATL, just to process elements inside this package...

The thing you have to learn, would be, in that case Acceleo and, of
course OCL...

Good luck
Re: what library can i import &lt;&lt;Table&gt;&gt; or &lt;&lt;Column&gt [message #782751 is a reply to message #781186] Tue, 24 January 2012 11:07 Go to previous message
B Simpson is currently offline B SimpsonFriend
Messages: 25
Registered: January 2012
Junior Member
thanks a bunch, eclipse user!
just wondering... i don't get the 'Constraints' tab even though i have installed OCL and others.
any ideas how this is possible?
Previous Topic:what library can i import <<Table>> or <<Column>> stereotypes from?
Next Topic:Tabbed properties view of papyrus
Goto Forum:
  


Current Time: Thu Jan 23 18:02:01 GMT 2020

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

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

Back to the top