Neil Swainston wrote:
> > I'm not sure why Neil thinks the functions are deprecated !
>
> Largely because both my IDE and ant tell me. As does the source code:
Sorry - my bad - not a java user :-)
> However, while I understand the logic of deprecating this, I would
> still quite have liked the base class NamedSBase or whatever with get/
> set name/id in them...
and I know you are not alone !!
Our issue is trying to produce an API that will allow other people to
write code for L3 packages that will plug in to libSBML. We cant
guarantee that people writing this code will be existing libSBML users.
Thus we need libSBML to reflect the SBML specification as closely as
possible.
But we do know that using getId on SBase objects is a common usage. Once
we have a prototype of the API (end of Sept) we will revisit the issue :-)