Annotation Type PropertyValue
A reference to a POJO property using its name,
and to one or more target value(s) in that property using a
ContainerExtraction
.-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
propertyName
String propertyName- Returns:
- The name of the referenced property.
-
-
-
extraction
ContainerExtraction extraction- Returns:
- A definition of container extractors to be applied to the property,
allowing the binding of a value bridge to container elements.
This is useful when the property is of container type,
for example a
Map<TypeA, TypeB>
: defining the extraction as@ContainerExtraction(BuiltinContainerExtractors.MAP_KEY)
allows referencing map keys instead of map values. By default, Hibernate Search will try to apply a set of extractors for common container types. - See Also:
- Default:
- @org.hibernate.search.mapper.pojo.extractor.mapping.annotation.ContainerExtraction
-