Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Metadata utilization(Metadata utilization)
Metadata utilization [message #776925] Mon, 09 January 2012 14:53 Go to next message
B Simpson is currently offline B SimpsonFriend
Messages: 25
Registered: January 2012
Junior Member
how could i make EClass have metadata class?
or even EAtributte column for that matter..
(i'd like to define an object and assign it to every table and column in the db)
sorry if i am asking too obvious but i couldn't figure it out from basic tutorials
Re: Metadata utilization [message #776929 is a reply to message #776925] Mon, 09 January 2012 15:01 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Milan,

Comments below.

On 09/01/2012 3:53 PM, Milan Krejci wrote:
> how could i make EClass have metadata class?
What does that mean?
> or even EAtributte column for that matter..
What would it mean for an EAttribute to have a column? What's a column?
> (i'd like to define an object and assign it to every table and column
> in the db)
I'm confused by this.
> sorry if i am asking too obvious but i couldn't figure it out from
> basic tutorials
Is this a Teneo question?


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Metadata utilization [message #776934 is a reply to message #776929] Mon, 09 January 2012 15:08 Go to previous messageGo to next message
B Simpson is currently offline B SimpsonFriend
Messages: 25
Registered: January 2012
Junior Member
hi ed,
i'd like to use UML for creation of PHP classes and SQL db.
my DB would consist of tables and columns and both of those would be able to have some sort of metadata.
say, i would have a table called 'Users' with 'Title':'db users' stored in metadata.
it would have 'login' column with 'readonly':'true' property, again stored somehow in metadata.
i'd like to be able to store metadata stuff (key-> (bool/int/string) value) in an EClass (XMI profile or something) and then export such structure into PHP classes and SQL commands.
is it even doable? Smile
Re: Metadata utilization [message #776964 is a reply to message #776934] Mon, 09 January 2012 15:39 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Milan,

Comments below.

On 09/01/2012 4:08 PM, Milan Krejci wrote:
> hi ed,
> i'd like to use UML for creation of PHP classes and SQL db.
This isn't the UML newsgroup...
> my DB would consist of tables and columns and both of those would be
> able to have some sort of metadata.
A DB schema...
> say, i would have a table called 'Users' with 'Title':'db users'
> stored in metadata.
And where is this meta data? It's part of the DB schema?
> it would have 'login' column with 'readonly':'true' property, again
> stored somehow in metadata.
> i'd like to be able to store metadata stuff (key-> (bool/int/string)
> value) in an EClass (XMI profile or something) and then export such
> structure into PHP classes and SQL commands.
> is it even doable? :)
It's all a bit vague. It sounds like you want UML with a profile that
you use for adding additional information that is not part of UML
itself. So you'll need to learn about UML2 and its better to ask about
it on their forum: eclipse.modeling.mdt.uml2


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO] r.e: ETypes of EStructuralFeatures in Ecore Models are not persisted
Next Topic:[EMF Query 2] Trouble with the import line in *.query file
Goto Forum:
  


Current Time: Thu Apr 25 13:30:09 GMT 2024

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

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

Back to the top