|
Re: can't find set method but got a get [message #418898 is a reply to message #418893] |
Thu, 01 May 2008 11:34 |
Ed Merks Messages: 33163 Registered: July 2009 |
Senior Member |
|
|
Gary,
Comments below.
gary wrote:
> Dear All
> I have a class which has a reference and i seem to have a get method
> but no set method but I can't see why...
>
> here is a fragment of the ecore file
> <eClassifiers xsi:type="ecore:EClass" name="X"
> eSuperTypes="#//gggg/eee/fff/hhh">
> <eStructuralFeatures xsi:type="ecore:EReference" name="Y"
> upperBound="-1" eType="#//xxx/yyy/zzz/AAAA/Y"/>
It's a multi-valued feature so you'll only have a getter that returns a
list and you can modify that list directly, i.e., use
add/remove/addAll/removeAll/clear/set to change its state.
>
>
> at the end I am generating the model with a genmodel that has
> Supress EMF Types=true
> Supress Interfaces=true
>
>
> does anyone have any ideas?
>
>
> regards
> gary
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03086 seconds