Class SingleNamedClassTypeHandlerPredicate

  • All Implemented Interfaces:
    TypeHandlerPredicate

    public final class SingleNamedClassTypeHandlerPredicate
    extends java.lang.Object
    implements TypeHandlerPredicate
    allows installing a Typehandler for a single classname.
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, 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.