Annotation Type ValueBridgeRef
-
@Documented @Target({}) @Retention(RUNTIME) public @interface ValueBridgeRef
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 bridge by its bean name.Class<? extends ValueBridge>typeReference a value bridge by its type.
-
-
-
Element Detail
-
name
String name
Reference a value bridge by its bean name.- Returns:
- The bean name of the value bridge.
- Default:
- ""
-
-
-
type
Class<? extends ValueBridge> type
Reference a value bridge by its type.- Returns:
- The type of the value bridge.
- Default:
- org.hibernate.search.mapper.pojo.bridge.mapping.annotation.ValueBridgeRef.UndefinedBridgeImplementationType.class
-
-