Annotation Type IdentifierBinderRef


  • @Documented
    @Target({})
    @Retention(RUNTIME)
    public @interface IdentifierBinderRef
    References the identifier binder to use for a DocumentId.

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

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String name
      Reference an identifier binder by its bean name.
      Class<? extends IdentifierBinder> type
      Reference an identifier binder by its type.
    • Element Detail

      • name

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

        Class<? extends IdentifierBinder> type
        Reference an identifier binder by its type.
        Returns:
        The type of the identifier binder.
        Default:
        org.hibernate.search.mapper.pojo.bridge.mapping.annotation.IdentifierBinderRef.UndefinedBinderImplementationType.class