Annotation Type PropertyBinding
-
@Documented @Target({METHOD,FIELD}) @Retention(RUNTIME) @Repeatable(List.class) @PropertyMapping(processor=@PropertyMappingAnnotationProcessorRef(type=org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.PropertyBindingProcessor.class,retrieval=CONSTRUCTOR)) public @interface PropertyBinding
Maps a property to index fields using aPropertyBinder
, which will define aPropertyBridge
.This is a more complicated, but more powerful alternative to mapping properties to field directly using field annotations such as
GenericField
.See the reference documentation for more information about bridges in general, and property bridges in particular.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description PropertyBinderRef
binder
-
-
-
Element Detail
-
binder
PropertyBinderRef binder
- Returns:
- A reference to the binder to use.
- See Also:
PropertyBinderRef
-
-