org.ozoneDB.collections
Interface OzoneSet

All Superinterfaces:
java.util.Collection, OzoneCollection, org.ozoneDB.OzoneCompatibleOrProxy, org.ozoneDB.OzoneRemote, java.util.Set
All Known Subinterfaces:
BaseTreeSet, FullTreeSet, NodeTreeSet, OzoneHashSet, OzoneLinkedHashSet, OzoneSortedSet, OzoneTreeSet
All Known Implementing Classes:
_AbstractOzoneMap_keySet_Proxy, _AbstractOzoneMap_values, _AbstractOzoneMap_values_Proxy, _BaseTreeMap_entrySet, _BaseTreeMap_entrySet_Proxy, _BaseTreeMap_keySet, _BaseTreeMap_keySet_Proxy, _BaseTreeMap_SubMap_entrySet, _BaseTreeMap_SubMap_entrySet_Proxy, _BaseTreeMap_SubMap_keySet, _BaseTreeMap_SubMap_keySet_Proxy, AbstractOzoneSet, BaseTreeSetImpl, FullTreeSetImpl, FullTreeSetImpl_Proxy, NodeTreeSetImpl, NodeTreeSetImpl_Proxy

public interface OzoneSet
extends OzoneCollection, java.util.Set

See the overall description on OzoneCollection.

Author:
Leo Mekenkamp (mind the anti-sp@m)

Method Summary
 java.util.Set getClientSet()
          Returns a non-ozone Set that contains the same entries as this persistent one; it is (by nature of the client-server enviromnent) always a 'deep' copy of this OzoneSet.
 
Methods inherited from interface org.ozoneDB.collections.OzoneCollection
_org_ozoneDB_internalIterator, add, addAll, clear, getClientCollection, remove, removeAll, retainAll
 
Methods inherited from interface java.util.Collection
contains, containsAll, equals, hashCode, isEmpty, iterator, size, toArray, toArray
 
Methods inherited from interface org.ozoneDB.OzoneCompatibleOrProxy
getObjectID
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

getClientSet

public java.util.Set getClientSet()

Returns a non-ozone Set that contains the same entries as this persistent one; it is (by nature of the client-server enviromnent) always a 'deep' copy of this OzoneSet. I.e. the contents of this OzoneSet instance are always copied to the client by use of serialization.

This means that if this instance holds non-ozone objects, these objects are send to the calling client by means of serialization. If this instance holds ozone objects, it actually holds proxies to these objects. These proxies are copied and send to the client, resulting in different proxies to the same ozone objects.



Copyright © 2004 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.