Annotation Type ValueBridgeRef
A reference to the value bridge to use in a
@*Field
annotation,
for example in GenericField.valueBridge()
, KeywordField.valueBridge()
,
or FullTextField.valueBridge()
.
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 a value bridge by its bean name.Class
<? extends ValueBridge> Reference a value bridge by its type.
-
Element Details
-
name
String nameReference a value bridge by its bean name.- Returns:
- The bean name of the value bridge.
- Default:
""
-
type
Class<? extends ValueBridge> typeReference 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
-
retrieval
BeanRetrieval retrieval- Returns:
- How to retrieve the value bridge. See
BeanRetrieval
.
- Default:
ANY
-