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:
- for field bridges the type of the property
- for class bridges the class itself
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). |
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 Hibernate. All rights reserved.