org.hibernate.search.bridge
Interface AppliedOnTypeAwareBridge

All Known Implementing Classes:
EnumBridge

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:

is returned.

Author:
Emmanuel Bernard, Hardy Ferentschik

Method Summary
 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-2013 Red Hat, Inc. All Rights Reserved