Annotation Type IdProjection
-
@Documented @Target(PARAMETER) @Retention(RUNTIME) @MethodParameterMapping(processor=@MethodParameterMappingAnnotationProcessorRef(type=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:
SearchProjectionFactory.id(Class)