Class SingleClassTypeHandlerPredicate

  • All Implemented Interfaces:
    TypeHandlerPredicate

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

      • SingleClassTypeHandlerPredicate

        public SingleClassTypeHandlerPredicate​(java.lang.Class clazz)
    • 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.