Annotation Type ValueBinderRef


@Documented @Target({}) @Retention(RUNTIME) public @interface ValueBinderRef
A reference to the value bridge to use in a @*Field annotation, for example in GenericField.valueBridge(), KeywordField.valueBridge(), or FullTextField.valueBridge().

Either a bridge or a binder can be referenced, but never both. References can use either a name, a type, or both.

  • Element Details

    • name

      String name
      Reference a value binder by its bean name.
      Returns:
      The bean name of the value binder.
      Default:
      ""
    • type

      Class<? extends ValueBinder> type
      Reference a value binder by its type.
      Returns:
      The type of the value binder.
      Default:
      org.hibernate.search.mapper.pojo.bridge.mapping.annotation.ValueBinderRef.UndefinedBinderImplementationType.class
    • retrieval

      BeanRetrieval retrieval
      Returns:
      How to retrieve the value binder. See BeanRetrieval.
      Default:
      ANY
    • params

      Param[] params
      Returns:
      Params that will be passed to the ValueBinder.
      Default:
      {}