org.hibernate.search.bridge
public interface: TwoWayFieldBridge [javadoc |
source]
All Implemented Interfaces:
FieldBridge
All Known Implementing Classes:
TwoWayString2FieldBridgeAdaptor
A FieldBrige able to convert the index representation back into an object without losing information
Any bridge expected to process a document id should implement this interface
EXPERIMENTAL Consider this interface as private
- author:
Emmanuel - Bernard
| Method from org.hibernate.search.bridge.TwoWayFieldBridge Summary: |
|---|
|
get, objectToString |
| Method from org.hibernate.search.bridge.TwoWayFieldBridge Detail: |
public Object get(String name,
Document document)
build the element object from the Document
The return value is the Entity id |
public String objectToString(Object object)
convert the object representation to a String
The return String must not be null, it can be empty though |