org.hibernate.search.bridge.builtin.impl
public class TwoWayString2FieldBridgeAdaptor extends String2FieldBridgeAdaptor implements TwoWayFieldBridge
| Constructor and Description |
|---|
TwoWayString2FieldBridgeAdaptor(TwoWayStringBridge stringBridge) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String name,
Document document)
Build the element object from the
Document |
String |
objectToString(Object object)
Converts the object representation to a string.
|
String |
toString() |
TwoWayStringBridge |
unwrap() |
setclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetpublic TwoWayString2FieldBridgeAdaptor(TwoWayStringBridge stringBridge)
public String objectToString(Object object)
StringBridgeobjectToString in interface StringBridgeobjectToString in interface TwoWayFieldBridgeobjectToString in class String2FieldBridgeAdaptorobject - The object to transform into a string representation.null. It can be empty though.public Object get(String name, Document document)
TwoWayFieldBridgeDocumentget in interface TwoWayFieldBridgename - field namedocument - documentpublic TwoWayStringBridge unwrap()
public String toString()
toString in class String2FieldBridgeAdaptorCopyright © 2006-2015 Red Hat, Inc. All Rights Reserved