Skip to main content



      Home
Home » Modeling » Ecore Tools » attributes in ecore model
attributes in ecore model [message #550222] Thu, 29 July 2010 10:48 Go to next message
Eclipse UserFriend
hi everybody,

in my model ecore i create a Eclass and i need a table of integer for this i add to it an Eattribute named content, how can i set this Eattribute to be a table.

thanks for help
Re: attributes in ecore model [message #551157 is a reply to message #550222] Thu, 05 August 2010 09:09 Go to previous messageGo to next message
Eclipse UserFriend
hi everybody,

in my model ecore i create a Eclass and i need a table of integer for this i add to it an Eattribute named content, how can i set this Eattribute to be a table.

thanks for help
Re: attributes in ecore model [message #551180 is a reply to message #551157] Thu, 05 August 2010 10:14 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

don't know if you are asking this question in the right forum (the EMF Forum can be found here: http://www.eclipse.org/forums/index.php?t=thread&frm_id= 108). never the less eattributes can only be of primitive types. what do you mean with "a table"?

Regards
Christian

[Updated on: Thu, 05 August 2010 11:15] by Moderator

Re: attributes in ecore model [message #551465 is a reply to message #551180] Fri, 06 August 2010 10:34 Go to previous messageGo to next message
Eclipse UserFriend
so, how can i have an array of objects,
Re: attributes in ecore model [message #551466 is a reply to message #551465] Fri, 06 August 2010 10:36 Go to previous messageGo to next message
Eclipse UserFriend
Hi

Just add a new EReference (with containment=true and upper bounds = -1) to have a child list of objects.

~Christian

[Updated on: Fri, 06 August 2010 10:37] by Moderator

Re: attributes in ecore model [message #551467 is a reply to message #551466] Fri, 06 August 2010 10:37 Go to previous message
Eclipse UserFriend
ok, thanks
Previous Topic:Displaying blank value in the properties window
Next Topic:Do bounds (lower and upper) of EReference have any effect?
Goto Forum:
  


Current Time: Tue Jul 01 00:29:30 EDT 2025

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

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

Back to the top