|Re: Multivalued feature names [message #467989 is a reply to message #467985]
||Mon, 03 August 2009 14:21
| Ed Merks
Registered: July 2009
Felix Dorner wrote:
> probably asked and discussed a thousand times already.
> In generated API I like to use methods 'getApples()' and
> 'getPeaches()' when a feature is multivalued, so I name the features
> 'apples' and 'peaches'. But this looks a bit stupid in serialized
> <apples color='green'/>
> <apples color='red'>
> where I'd prefer
> <apple color='green'/>
> Probably no easy way to get both?
You can use extended meta data annotations as well as the associated
option (OPTION_EXTENDED_META_DATA) so that the annotations are respected
during load and save.
Professional Support: https://www.macromodeling.com/
Powered by FUDForum
. Page generated in 0.01525 seconds