Annotation Type EntityReferenceProjection
@Documented
@Target(PARAMETER)
@Retention(RUNTIME)
@MethodParameterMapping(processor=@MethodParameterMappingAnnotationProcessorRef(type=org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.EntityReferenceProjectionProcessor.class,retrieval=CONSTRUCTOR))
public @interface EntityReferenceProjection
Maps a constructor parameter to a projection to a reference to the entity that was originally indexed.
Entity references are instances of type EntityReference
.
- See Also: