Interface MappingAnnotatedProperty
-
- All Superinterfaces:
MappingAnnotatedElement
public interface MappingAnnotatedProperty extends MappingAnnotatedElement
A property in the entity model annotated with a mapping annotation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<Class<?>>javaClass(ContainerExtractorPath extractorPath)Stringname()-
Methods inherited from interface org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.MappingAnnotatedElement
allAnnotations, javaClass
-
-
-
-
Method Detail
-
name
String name()
- Returns:
- The name of the annotated property. In the case of a getter method, the name does not include the "get" prefix and the first character is lowercased.
-
javaClass
Optional<Class<?>> javaClass(ContainerExtractorPath extractorPath)
- Parameters:
extractorPath- A container extractor path, possibly justContainerExtractorPath.defaultExtractors().- Returns:
- The raw type of values one would obtain
by using the given container extractor path to extract values from this property,
or
Optional.empty()if the container extractor path cannot be applied.
-
-