org.hibernate.search.bridge

## Interface AppliedOnTypeAwareBridge

- All Known Implementing Classes:
    EnumBridge, SpatialFieldBridge, SpatialFieldBridgeByHash, SpatialFieldBridgeByRange, String2FieldBridgeAdaptor, TwoWayString2FieldBridgeAdaptor, TwoWayString2FieldBridgeIgnoreAnalyzerAdaptor

      public interface AppliedOnTypeAwareBridge

  Allows bridges to report the type on which the bridge is applied on. The reported type depends on the type of bridge:
  - for field bridges the type of the property
  - for class bridges the class itself
  is returned.
  Author:
    Emmanuel Bernard, Hardy Ferentschik

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setAppliedOnType(Class<?> returnType)` Set the return type of the bridge (the type of the field linked to the bridge).

- - ### Method Detail

    - #### setAppliedOnType

          void setAppliedOnType(Class<?> returnType)

      Set the return type of the bridge (the type of the field linked to the bridge).
      Parameters:
        `returnType` - return type

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved