Class Predicate<ExtentType>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PREDICATEMETHOD_NAME
      public for implementation reasons, please ignore.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      boolean appliesTo​(ExtentType candidate)
      public for implementation reasons, please ignore.
      java.lang.Class<? extends ExtentType> extentType()
      public for implementation reasons, please ignore.
      java.lang.reflect.Method getFilterMethod()  
      abstract boolean match​(ExtentType candidate)
      The match method that needs to be implemented by the user.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PREDICATEMETHOD_NAME

        public static final java.lang.String PREDICATEMETHOD_NAME
        public for implementation reasons, please ignore.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Predicate

        public Predicate()
      • Predicate

        public Predicate​(java.lang.Class<? extends ExtentType> extentType)
    • Method Detail

      • getFilterMethod

        public java.lang.reflect.Method getFilterMethod()
      • extentType

        public java.lang.Class<? extends ExtentType> extentType()
        public for implementation reasons, please ignore.
      • match

        public abstract boolean match​(ExtentType candidate)
        The match method that needs to be implemented by the user.
        Parameters:
        candidate - the candidate object passed from db4o
        Returns:
        true to include an object in the resulting ObjectSet
      • appliesTo

        public boolean appliesTo​(ExtentType candidate)
        public for implementation reasons, please ignore.