db4o 8.0

com.db4o.typehandlers
Class SingleNamedClassTypeHandlerPredicate

java.lang.Object
  extended by com.db4o.typehandlers.SingleNamedClassTypeHandlerPredicate
All Implemented Interfaces:
TypeHandlerPredicate

public final class SingleNamedClassTypeHandlerPredicate
extends java.lang.Object
implements TypeHandlerPredicate

allows installing a Typehandler for a single classname.


Constructor Summary
SingleNamedClassTypeHandlerPredicate(java.lang.String className)
           
 
Method Summary
 boolean match(ReflectClass candidate)
          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

SingleNamedClassTypeHandlerPredicate

public SingleNamedClassTypeHandlerPredicate(java.lang.String className)
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 interface TypeHandlerPredicate
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.

db4o 8.0

Copyright 2009 Versant Corporation. All rights reserved.