Class BooleanFilter

  • All Implemented Interfaces:
    Filter

    public class BooleanFilter
    extends Object
    implements Filter
    • Constructor Detail

      • BooleanFilter

        public BooleanFilter()
    • Method Detail

      • allOf

        public BooleanFilter allOf​(Filter... filters)
        Set the list of all filters with the given filters
        Parameters:
        filters - the filters to match on
        Returns:
        This filters
      • anyOf

        public BooleanFilter anyOf​(Filter... filters)
        Set the list of any filters with the given filters
        Parameters:
        filters - the filters to match on
        Returns:
        This filter
      • noneOf

        public BooleanFilter noneOf​(Filter... filters)
        Set the list of none filters with the given filters
        Parameters:
        filters - the filters to match on
        Returns:
        This filter
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getAll

        public List<Filter> getAll()
        All of the filters must match. This functions as an AND condition.
        Returns:
        The filters
      • getAny

        public List<Filter> getAny()
        At least one of the filters must match. This functions as an OR condition.
        Returns:
        the filters
      • getNone

        public List<Filter> getNone()
        All of the filters must not match. This functions as a NOT condition.
        Returns:
        the filters
      • setAll

        public BooleanFilter setAll​(List<Filter> all)
        All of the filters must match. This functions as an AND condition.
        Parameters:
        all - The filers to match on
        Returns:
        this.
      • setAny

        public BooleanFilter setAny​(List<Filter> any)
        At least one of the filters must match. This functions as an OR condition.
        Parameters:
        any - The filters to match on
        Returns:
        this.
      • setNone

        public BooleanFilter setNone​(List<Filter> none)
        All of the filters must not match. This functions as a NOT condition.
        Parameters:
        none - the filters to match on
        Returns:
        this.