Annotation Type ValueBinderRef
-
@Documented @Target({}) @Retention(RUNTIME) public @interface ValueBinderRef
A reference to the value bridge to use in a@*Fieldannotation, for example inGenericField.valueBridge(),KeywordField.valueBridge(), orFullTextField.valueBridge().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 StringnameReference a value binder by its bean name.BeanRetrievalretrievalClass<? extends ValueBinder>typeReference a value binder by its type.
-
-
-
Element Detail
-
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:
- org.hibernate.search.engine.environment.bean.BeanRetrieval.ANY
-
-