Ok, maybe we can go with the following compromise: Let's set all lists
to null when new Objects that contain ListOf Objects are initialized.
But the get- method should initialized the corresponding list, e.g.,
getListOfParameters() should initialize the list of parameters if it is
still null. The method addChangeListener() has to initialize all lists
otherwise we'll run into unnecessary NullPointerExceptions or we have to
force the programmer to initialize all lists first. What do you think?
Cheers
Andreas
--
Dipl.-Bioinform. Andreas Dräger
Eberhard Karls University Tübingen
Center for Bioinformatics (ZBIT)
Sand 1
72076 Tübingen
Germany