1 // You can redistribute this software and/or modify it under the terms of 2 // the Ozone Library License version 1 published by ozone-db.org. 3 // 4 // This file is 5 // Copyright (C) 2002-@year@ Leo Mekenkamp. All rights reserved. 6 // $Id: OzoneSet.java,v 1.1 2002/10/24 15:41:16 per_nyfelt Exp $ 7 8 package org.ozoneDB.collections; 9 10 import java.util.Set; 11 12 /** 13 * See the overall description on {@link org.ozoneDB.collections.OzoneCollection}. 14 * @author <a HREF="mailto:ozoneATmekenkampD0Tcom">Leo Mekenkamp (mind the anti-sp@m)</a> 15 */ 16 public interface OzoneSet extends OzoneCollection, Set { 17 18 /** <p>Returns a non-ozone <code>Set</code> that contains the same 19 * entries as this persistent one; it is (by nature of the client-server 20 * enviromnent) always a 'deep' copy of this <code>OzoneSet</code>. 21 * I.e. the contents of this <code>OzoneSet</code> instance are 22 * always copied to the client by use of serialization.</p> 23 * <p>This means that if this instance holds non-ozone objects, these 24 * objects are send to the calling client by means of serialization. If 25 * this instance holds ozone objects, it actually holds proxies to these 26 * objects. These proxies are copied and send to the client, resulting in 27 * different proxies to the same ozone objects.</p> 28 */ 29 public Set getClientSet(); 30 31 } 32