org.hibernate.search.bridge
Interface AppliedOnTypeAwareBridge

All Known Implementing Classes:
EnumBridge

public interface AppliedOnTypeAwareBridge

For bridges implementing this interface, provide the type of the object the bridge is applied on: - the return type for a property - the class itself for a class-level bridge


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-2012 Red Hat Middleware, LLC. All Rights Reserved