db4o 7.4

com.db4o.typehandlers
Class SingleClassTypeHandlerPredicate

java.lang.Object
  extended by 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
SingleClassTypeHandlerPredicate(java.lang.Class clazz)
           
 
Method Summary
 boolean match(ReflectClass classReflector)
          return true if a TypeHandler is to be used for a specific Type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleClassTypeHandlerPredicate

public SingleClassTypeHandlerPredicate(java.lang.Class clazz)
Method Detail

match

public boolean match(ReflectClass classReflector)
Description copied from interface: TypeHandlerPredicate
return true if a TypeHandler is to be used for a specific Type

Specified by:
match in interface TypeHandlerPredicate
Parameters:
classReflector - 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.

db4o 7.4

Copyright 2007 db4objects Inc. All rights reserved.