Thanks for your answer Kimbro. I think I see a possible way of moving forward now.
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Kimbro Staken > Sent: den 4 juni 2001 17:15 > To: [EMAIL PROTECTED] > Subject: Re: XML:DB implementation in Ozone - Relationships between > Collection, Resource and XMLContainer > > > Per Nyfelt wrote: > > I'm one of the people to volunteer to try to implement support for the > > XML:DB api in Ozone and I'm struggling with > CollectionImpl.createResource() > > and CollectionImpl.storeResource(). What should be the > relationships between > > org.xmldb.api.base.Collection, org.xmldb.api.base.Resource and > > org.ozoneDB.xml.util.XMLContainer? From what i understand of > the reference > > implementation a Collection ends up being a directory and a > resource is a > > file that end up in that directory. This to me implies that a Collection > > should contain (aggregate) Resources. > > > > That is correct. OK great! So adding a Map of Resources with the id as the key to the CollectionImpl we have that implements the Collection interface would be valid way to go? Best regards, Per ---------------------------------------------------------------------- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] Contact adminstrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ ----------------------------------------------------------------------
