db4o 7.4

com.db4o.typehandlers
Interface FirstClassHandler

All Superinterfaces:
com.db4o.internal.Comparable4, com.db4o.internal.fieldhandlers.FieldHandler, TypeHandler4
All Known Implementing Classes:
CollectionTypeHandler, HashtableTypeHandler, IgnoreFieldsTypeHandler, ListTypeHandler, MapTypeHandler, VectorTypeHandler

public interface FirstClassHandler
extends TypeHandler4

TypeHandler for objects with own identity that support activation and querying on members.


Method Summary
 void cascadeActivation(com.db4o.internal.activation.ActivationContext4 context)
          will be called during activation if the handled object is already active
 void collectIDs(com.db4o.internal.marshall.QueryingReadContext context)
          will be called during querying to ask for IDs of member objects of the handled object.
 TypeHandler4 readCandidateHandler(com.db4o.internal.marshall.QueryingReadContext context)
          will be called during querying to ask for the handler to be used to collect children of the handled object
 
Methods inherited from interface com.db4o.typehandlers.TypeHandler4
defragment, delete, read, write
 
Methods inherited from interface com.db4o.internal.Comparable4
prepareComparison
 

Method Detail

cascadeActivation

void cascadeActivation(com.db4o.internal.activation.ActivationContext4 context)
will be called during activation if the handled object is already active

Parameters:
context -

readCandidateHandler

TypeHandler4 readCandidateHandler(com.db4o.internal.marshall.QueryingReadContext context)
will be called during querying to ask for the handler to be used to collect children of the handled object

Parameters:
context -
Returns:

collectIDs

void collectIDs(com.db4o.internal.marshall.QueryingReadContext context)
will be called during querying to ask for IDs of member objects of the handled object.

Parameters:
context -

db4o 7.4

Copyright 2007 db4objects Inc. All rights reserved.