Package com.enonic.xp.query.filter

## Class BooleanFilter

- java.lang.Object
- - com.enonic.xp.query.filter.Filter
  - - com.enonic.xp.query.filter.BooleanFilter

-     @PublicApi
      public class BooleanFilter
      extends Filter

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `BooleanFilter.Builder` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BooleanFilter​(BooleanFilter.Builder builder)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static BooleanFilter.Builder` | `create()` |
    `ImmutableSet<Filter>` | `getMust()` |
    `ImmutableSet<Filter>` | `getMustNot()` |
    `ImmutableSet<Filter>` | `getShould()` |
    `String` | `toString()` |

    - ### Methods inherited from class com.enonic.xp.query.filter.Filter

      `isCache`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### BooleanFilter

          public BooleanFilter​(BooleanFilter.Builder builder)

  - ### Method Detail

    - #### getMust

          public ImmutableSet<Filter> getMust()

    - #### getMustNot

          public ImmutableSet<Filter> getMustNot()

    - #### getShould

          public ImmutableSet<Filter> getShould()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### create

          public static BooleanFilter.Builder create()