Skip to main content



      Home
Home » Modeling » TMF (Xtext) » [TCS] ModelAdapter operations from multivalued attributes
[TCS] ModelAdapter operations from multivalued attributes [message #7520] Fri, 28 March 2008 09:53 Go to next message
Eclipse UserFriend
Hi,
I notice ModelAdapter has methods set(ame, property, value) and get(ame,
property).
I notice also that set actually mean add when the property is multivalued.
Is there also a convention of what get should return when it is
mulitvalued?
Re: [TCS] ModelAdapter operations from multivalued attributes [message #7529 is a reply to message #7520] Fri, 28 March 2008 15:48 Go to previous message
Eclipse UserFriend
Hi,

> I notice ModelAdapter has methods set(ame, property, value) and get(ame,
> property).
> I notice also that set actually mean add when the property is
> multivalued.

You are right.


> Is there also a convention of what get should return when
> it is mulitvalued?

Yes, get should return a Collection for multivalued properties.


Regards,

Frédéric Jouault
Previous Topic:[TMF][EMFatic] integration questions
Next Topic:[TCS] Templates for ambiguous classes
Goto Forum:
  


Current Time: Thu May 01 08:48:59 EDT 2025

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

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

Back to the top