@Documented @Target({}) @Retention(RUNTIME) public @interface 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
    Modifier and Type
    Required Element
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
  • Element Details

    • propertyName

      String propertyName
      The name of the referenced property.
    • extraction

      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: