Annotation Type ProjectionBinding
-
@Documented @Target(PARAMETER) @Retention(RUNTIME) @MethodParameterMapping(processor=@MethodParameterMappingAnnotationProcessorRef(type=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:
SearchProjectionFactory.id(Class)
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description ProjectionBinderRefbinder
-
-
-
Element Detail
-
binder
ProjectionBinderRef binder
- Returns:
- A reference to the projection definition to use.
- See Also:
ProjectionBinderRef
-
-