Annotation Type AssociationInverseSide

    • Element Detail

      • inversePath

        ObjectPath inversePath
        Returns:
        The path to the targeted entity on the inverse side of the association.
      • extraction

        ContainerExtraction extraction
        Returns:
        A definition of container extractors to be applied to the property, allowing the definition of the inverse side of an association modeled by container elements. This is useful when the property is of container type, for example a Map<EntityA, EntityB>: defining the extraction as @ContainerExtraction(BuiltinContainerExtractors.MAP_KEY) allows referring to the association modeled by the map keys instead of the one modeled by the map values. By default, Hibernate Search will try to apply a set of extractors for common container types.
        See Also:
        ContainerExtraction
        Default:
        @org.hibernate.search.mapper.pojo.extractor.mapping.annotation.ContainerExtraction