Package com.db4o.typehandlers
Class SingleClassTypeHandlerPredicate
- java.lang.Object
-
- com.db4o.typehandlers.SingleClassTypeHandlerPredicate
-
- All Implemented Interfaces:
TypeHandlerPredicate
public final class SingleClassTypeHandlerPredicate extends java.lang.Object implements TypeHandlerPredicate
allows installing a Typehandler for a single class.
-
-
Constructor Summary
Constructors Constructor Description SingleClassTypeHandlerPredicate(java.lang.Class clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
match(ReflectClass candidate)
return true if a TypeHandler is to be used for a specific Type
-
-
-
Method Detail
-
match
public boolean match(ReflectClass candidate)
Description copied from interface:TypeHandlerPredicate
return true if a TypeHandler is to be used for a specific Type- Specified by:
match
in interfaceTypeHandlerPredicate
- Parameters:
candidate
- the Type passed by db4o that is to be tested by this predicate.- Returns:
- true if the TypeHandler is to be used for a specific Type.
-
-