Interface AlternativeValueBridge<D,P>

Type Parameters:
D - The expected type of alternative discriminator values. The alternative discriminator is designated through the AlternativeBinder.alternativeDiscriminator() marker.
P - The expected type of the field value source, i.e. the property bound to multiple index fields. The field value source is designated through the property name and type passed to AlternativeBinder.create(Class, String, Class, BeanReference).

@Incubating public interface AlternativeValueBridge<D,P>
A component that routes field values to one of multiple index fields based on a discriminator.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(DocumentElement target, D discriminator, P bridgedElement)
     
  • Method Details