db4o 7.4

com.db4o.types
Interface Db4oCollection

All Superinterfaces:
Db4oType
All Known Subinterfaces:
Db4oList, Db4oMap

public interface Db4oCollection
extends Db4oType

base interface for db4o collections


Method Summary
 void activationDepth(int depth)
          configures the activation depth for objects returned from this collection.
 void deleteRemoved(boolean flag)
          configures objects are to be deleted from the database file if they are removed from this collection.
 

Method Detail

activationDepth

void activationDepth(int depth)
configures the activation depth for objects returned from this collection.

Specify a value less than zero to use the default activation depth configured for the ObjectContainer or for individual objects.

Parameters:
depth - the desired depth

deleteRemoved

void deleteRemoved(boolean flag)
configures objects are to be deleted from the database file if they are removed from this collection.

Default value: false

Parameters:
flag - the desired setting

db4o 7.4

Copyright 2007 db4objects Inc. All rights reserved.