db4o 8.0

com.db4o.typehandlers
Class IgnoreFieldsTypeHandler

java.lang.Object
  extended by com.db4o.typehandlers.IgnoreFieldsTypeHandler
All Implemented Interfaces:
CascadingTypeHandler, ReferenceTypeHandler, TypeHandler4

public class IgnoreFieldsTypeHandler
extends java.lang.Object
implements ReferenceTypeHandler, CascadingTypeHandler

Typehandler that ignores all fields on a class


Field Summary
static TypeHandler4 INSTANCE
           
 
Method Summary
 void activate(ReferenceActivationContext context)
          gets called when an object is to be activated.
 void cascadeActivation(ActivationContext 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.
 void defragment(com.db4o.internal.DefragmentContext context)
          gets called when an object gets defragmented.
 void delete(com.db4o.internal.delete.DeleteContext context)
          gets called when an object gets deleted.
 com.db4o.foundation.PreparedComparison prepareComparison(Context context, java.lang.Object obj)
           
 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
 void write(WriteContext context, java.lang.Object obj)
          gets called when an object is to be written to the database.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final TypeHandler4 INSTANCE
Method Detail

defragment

public void defragment(com.db4o.internal.DefragmentContext context)
Description copied from interface: TypeHandler4
gets called when an object gets defragmented.

Specified by:
defragment in interface TypeHandler4

delete

public void delete(com.db4o.internal.delete.DeleteContext context)
            throws Db4oIOException
Description copied from interface: TypeHandler4
gets called when an object gets deleted.

Specified by:
delete in interface TypeHandler4
Throws:
Db4oIOException

activate

public void activate(ReferenceActivationContext context)
Description copied from interface: ReferenceTypeHandler
gets called when an object is to be activated.

Specified by:
activate in interface ReferenceTypeHandler

write

public void write(WriteContext context,
                  java.lang.Object obj)
Description copied from interface: TypeHandler4
gets called when an object is to be written to the database.

Specified by:
write in interface TypeHandler4
obj - the object

prepareComparison

public com.db4o.foundation.PreparedComparison prepareComparison(Context context,
                                                                java.lang.Object obj)

cascadeActivation

public void cascadeActivation(ActivationContext context)
Description copied from interface: CascadingTypeHandler
will be called during activation if the handled object is already active

Specified by:
cascadeActivation in interface CascadingTypeHandler

collectIDs

public void collectIDs(com.db4o.internal.marshall.QueryingReadContext context)
Description copied from interface: CascadingTypeHandler
will be called during querying to ask for IDs of member objects of the handled object.

Specified by:
collectIDs in interface CascadingTypeHandler

readCandidateHandler

public TypeHandler4 readCandidateHandler(com.db4o.internal.marshall.QueryingReadContext context)
Description copied from interface: CascadingTypeHandler
will be called during querying to ask for the handler to be used to collect children of the handled object

Specified by:
readCandidateHandler in interface CascadingTypeHandler
Returns:

db4o 8.0

Copyright 2009 Versant Corporation. All rights reserved.