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

Re: ExternalDatabase.objectForName()



On Wed, 06 Sep 2000, Martin Harper wrote:
> The ability to get hold of an object based on it's unique string name,
> using objectForName(), is really handy, but is there any way to get hold
> of an object based on it's unique ID ( as got from container().id() ),
> short of making a hashtable solely designed to map unique IDs to
> OzoneProxys?
No! The object ID is _not_ meant to be used by client applications. It makes no
sense to use the OID. On all places where you would like to use the ID of an
object you can use the proxy itself. In fact, the only data field of proxies
_is_ the OID of the database object they refer to.


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