[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ozone object identity...



On Thu, 26 Apr 2001, David Li wrote:
> I am finally done with testing out the XXL indexing and it perform quite
> well. The API is clean and easily expandable. Good one to recommand to
> everyone.
> 
> However, as I am integrating with my RDF database, I surprisingly found
> out that I can't retrive an object by its ID. In fact, there doesn't
> seem to be a place to get object ID. That's surprising.
> 
> Currently, it looks like using the name as a index key is the only way
> to do this. However, I'd like to be able to use an object id in case the
> object is not named.
> 
> I am wondering how the others solve this problem with Ozone.
> 
> Also, I'd like to know if Ozone should support retrive object by it's
> object identity.

The object ID is the identity of an object. This is one of the basic of the
ozone object model. However, the ozone API is designed to never give this ID to
the client/programmer in order to let the ozone specific extensions to the
ordinary Java model as transparent to the programmer as possible.

There is no way to find an object by its ID because there is no (documented) way
to get the ID of an object (which is perfectly intended!).

What is the actual problem where you need to access/find objects by its ID?

Basicall ozone does nothing than finding objects by its ID. So, having an
proxy (which basically is the object ID) _is_ finding the target object.


Falko
-- 
______________________________________________________________________
Falko Braeutigam                              mailto:falko@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com