Annotation Type ConstructorMapping
-
@Documented @Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface ConstructorMapping
Meta-annotation for annotations that apply mapping to a constructor.Whenever an annotation meta-annotated with
ConstructorMappingis found on a constructor in the domain model, the corresponding annotation processor will be retrieved and applied to that constructor. The processor will be passed the annotation instance through itsConstructorMappingAnnotationProcessor.process(org.hibernate.search.mapper.pojo.mapping.definition.programmatic.ConstructorMappingStep, Annotation, ConstructorMappingAnnotationProcessorContext)method.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description ConstructorMappingAnnotationProcessorRefprocessor
-
-
-
Element Detail
-
processor
ConstructorMappingAnnotationProcessorRef processor
- Returns:
- A reference to the processor to use for the target annotation.
- See Also:
ConstructorMappingAnnotationProcessorRef
-
-