Annotation Type IdentifierBridgeRef


@Documented @Target({}) @Retention(RUNTIME) public @interface IdentifierBridgeRef
A reference to the identifier bridge 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.

  • Element Details

    • name

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

      Class<? extends IdentifierBridge> type
      Reference an identifier bridge by its type.
      Returns:
      The type of the identifier bridge.
      Default:
      org.hibernate.search.mapper.pojo.bridge.mapping.annotation.IdentifierBridgeRef.UndefinedBridgeImplementationType.class
    • retrieval

      BeanRetrieval retrieval
      Returns:
      How to retrieve the bridge. See BeanRetrieval.
      Default:
      ANY