org.hibernate.search.engine.impl

## Class FilterDef

- java.lang.Object
- - org.hibernate.search.engine.impl.FilterDef

-     public class FilterDef
      extends Object

  A wrapper class which encapsulates all required information to create a defined filter.
  Author:
    Emmanuel Bernard

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FilterDef(FullTextFilterDef def)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addSetter(String name, Method method)`
    `FilterCacheModeType` | `getCacheMode()`
    `Method` | `getFactoryMethod()`
    `Class<?>` | `getImpl()`
    `Method` | `getKeyMethod()`
    `String` | `getName()`
    `void` | `invoke(String parameterName, Object filter, Object parameterValue)`
    `void` | `setFactoryMethod(Method factoryMethod)`
    `void` | `setKeyMethod(Method keyMethod)`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### FilterDef

          public FilterDef(FullTextFilterDef def)

  - ### Method Detail

    - #### getName

          public String getName()

    - #### getCacheMode

          public FilterCacheModeType getCacheMode()

    - #### getImpl

          public Class<?> getImpl()

    - #### getFactoryMethod

          public Method getFactoryMethod()

    - #### setFactoryMethod

          public void setFactoryMethod(Method factoryMethod)

    - #### getKeyMethod

          public Method getKeyMethod()

    - #### setKeyMethod

          public void setKeyMethod(Method keyMethod)

    - #### addSetter

          public void addSetter(String name,
                                Method method)

    - #### invoke

          public void invoke(String parameterName,
                             Object filter,
                             Object parameterValue)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved