Annotation Type IdProjection
@Documented
@Target(PARAMETER)
@Retention(RUNTIME)
@MethodParameterMapping(processor=@MethodParameterMappingAnnotationProcessorRef(type=org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.IdProjectionProcessor.class,retrieval=CONSTRUCTOR))
public @interface IdProjection
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: