| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Clean Object Class Design -- What is it?
Bob Badour wrote:
> >db4o needs one statement to store a tree of any complexity:
>
> I find it interesting that you made the above statement and then followed
it
> with the 43 lines of code your product requires:
> >db.set(tree);
> >
> >public class Tree {
> >
> > public static class TopLevel extends Tree {
> > public Tree pid;
> > public List defs;
> > public Name sourcefile;
> > public PackageSymbol packge;
> > public Scope namedImportScope;
> > public Scope starImportScope;
> > public Hashtable docComments = null;
[30 lines of class definitions snipped]
Class definitions are essentially necessary for the application. They are a requirement of the respective application, not for our product.
Kind regards,
Carl
--- Carl Rosenberger db4o - database for objects - http://www.db4o.comReceived on Sun Jul 22 2001 - 04:24:29 CDT
![]() |
![]() |