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 a
PropertyBinder,
which will define a PropertyBridge.
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.
-
Nested Class Summary
Nested Classes -
Required Element Summary
Required Elements
-
Element Details
-
binder
PropertyBinderRef binder- Returns:
- A reference to the binder to use.
- See Also:
-