Class DocumentIdProcessor
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.DocumentIdProcessor
-
- All Implemented Interfaces:
PropertyMappingAnnotationProcessor<DocumentId>
public class DocumentIdProcessor extends Object implements PropertyMappingAnnotationProcessor<DocumentId>
-
-
Constructor Summary
Constructors Constructor Description DocumentIdProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(PropertyMappingStep mappingContext, DocumentId annotation, PropertyMappingAnnotationProcessorContext context)Extract information from the annotation and, in accordance with that information, contribute to the mapping passed in parameter.
-
-
-
Method Detail
-
process
public void process(PropertyMappingStep mappingContext, DocumentId annotation, PropertyMappingAnnotationProcessorContext context)
Description copied from interface:PropertyMappingAnnotationProcessorExtract information from the annotation and, in accordance with that information, contribute to the mapping passed in parameter.- Specified by:
processin interfacePropertyMappingAnnotationProcessor<DocumentId>- Parameters:
mappingContext- The mapping to contribute to, targeting the property that the annotation was applied to.annotation- The annotation to process.context- A context providing various information and helpers.
-
-