Omnibase and subclasses of OrderedCollection

Derek Brans brans at nerdonawire.com
Mon May 19 01:01:20 UTC 2003


I have subclasses of OrderedCollection in my domain model.  These subclasses have instance variables.

In OmniBase, OrderedCollection has a custom serialization-deserialization strategy and has its own class identifier byte.  

This strategy ignores the instance variables of my OrderedCollection subclasses.   Should I add a class identifier for my subclasses and create my own serialization strategy for them?  If so, can I pick any arbitrary class identifier byte that's not taken by another class (I actually get errors when I try to do that...).

Am I violating smalltalk style by giving my collections instance variables?

Thank you in advance.

Derek Brans
Nerd on a Wire
Web design that's anything but square
http://www.nerdonawire.com 
phone: 604.874.6463
mailto: brans at nerdonawire.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030518/871853cc/attachment.htm


More information about the Squeak-dev mailing list