Annotation Type ProjectionBinding
@Documented
@Target(PARAMETER)
@Retention(RUNTIME)
@MethodParameterMapping(processor=@MethodParameterMappingAnnotationProcessorRef(type=org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.ProjectionBindingProcessor.class,retrieval=CONSTRUCTOR))
public @interface ProjectionBinding
Maps a constructor parameter to a projection to the identifier of the mapped entity,
i.e. the value of the property marked as
@DocumentId
.- See Also:
-
Required Element Summary
-
Element Details
-
binder
ProjectionBinderRef binder- Returns:
- A reference to the projection definition to use.
- See Also:
-