Package com.db4o.typehandlers
Class IgnoreFieldsTypeHandler
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description static TypeHandler4INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate(ReferenceActivationContext context)gets called when an object is to be activated.voidcascadeActivation(ActivationContext context)will be called during activation if the handled object is already activevoidcollectIDs(QueryingReadContext context)will be called during querying to ask for IDs of member objects of the handled object.voiddefragment(DefragmentContext context)gets called when an object gets defragmented.voiddelete(DeleteContext context)gets called when an object gets deleted.PreparedComparisonprepareComparison(Context context, java.lang.Object obj)TypeHandler4readCandidateHandler(QueryingReadContext context)will be called during querying to ask for the handler to be used to collect children of the handled objectvoidwrite(WriteContext context, java.lang.Object obj)gets called when an object is to be written to the database.
-
-
-
Field Detail
-
INSTANCE
public static final TypeHandler4 INSTANCE
-
-
Method Detail
-
defragment
public void defragment(DefragmentContext context)
Description copied from interface:TypeHandler4gets called when an object gets defragmented.- Specified by:
defragmentin interfaceTypeHandler4
-
delete
public void delete(DeleteContext context) throws Db4oIOException
Description copied from interface:TypeHandler4gets called when an object gets deleted.- Specified by:
deletein interfaceTypeHandler4- Throws:
Db4oIOException
-
activate
public void activate(ReferenceActivationContext context)
Description copied from interface:ReferenceTypeHandlergets called when an object is to be activated.- Specified by:
activatein interfaceReferenceTypeHandler
-
write
public void write(WriteContext context, java.lang.Object obj)
Description copied from interface:TypeHandler4gets called when an object is to be written to the database.- Specified by:
writein interfaceTypeHandler4obj- the object
-
prepareComparison
public PreparedComparison prepareComparison(Context context, java.lang.Object obj)
-
cascadeActivation
public void cascadeActivation(ActivationContext context)
Description copied from interface:CascadingTypeHandlerwill be called during activation if the handled object is already active- Specified by:
cascadeActivationin interfaceCascadingTypeHandler
-
collectIDs
public void collectIDs(QueryingReadContext context)
Description copied from interface:CascadingTypeHandlerwill be called during querying to ask for IDs of member objects of the handled object.- Specified by:
collectIDsin interfaceCascadingTypeHandler
-
readCandidateHandler
public TypeHandler4 readCandidateHandler(QueryingReadContext context)
Description copied from interface:CascadingTypeHandlerwill be called during querying to ask for the handler to be used to collect children of the handled object- Specified by:
readCandidateHandlerin interfaceCascadingTypeHandler- Returns:
-
-