Annotation Type 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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Class used as a marker for the default value of thetype()
attribute. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionReference an identifier binder by its bean name.Param[]
Class
<? extends IdentifierBinder> Reference an identifier binder by its type.
-
Element Details
-
name
String nameReference an identifier binder by its bean name.- Returns:
- The bean name of the identifier binder.
- Default:
""
-
type
Class<? extends IdentifierBinder> typeReference 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
-
retrieval
BeanRetrieval retrieval- Returns:
- How to retrieve the binder. See
BeanRetrieval
.
- Default:
ANY
-
params
Param[] params- Returns:
- Params that will be passed to the
IdentifierBinder
.
- Default:
{}
-