Update to #4 at the end of the burble below - The logic seems to be
addXYZ - create a new object and add it to self.
setXYZ - look for matching object, if found modify it, otherwise addXYZ.
Have I understood that correctly?
Yes.
 
Though for consistency, I'm kinda leaning towards addAttribute() again :-)
 
James

Reply via email to