org.hibernate.search.cfg
Class ConcatStringBridge

java.lang.Object
  extended by org.hibernate.search.cfg.ConcatStringBridge
All Implemented Interfaces:
ParameterizedBridge, StringBridge

public class ConcatStringBridge
extends Object
implements StringBridge, ParameterizedBridge

Author:
Emmanuel Bernard

Field Summary
static String SIZE
           
 
Constructor Summary
ConcatStringBridge()
           
 
Method Summary
 String objectToString(Object object)
          Converts the object representation to a string.
 void setParameterValues(Map parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIZE

public static final String SIZE
See Also:
Constant Field Values
Constructor Detail

ConcatStringBridge

public ConcatStringBridge()
Method Detail

objectToString

public String objectToString(Object object)
Description copied from interface: StringBridge
Converts the object representation to a string.

Specified by:
objectToString in interface StringBridge
Parameters:
object - The object to transform into a string representation.
Returns:
String representation of the given object to be stored in Lucene index. The return string must not be null. It can be empty though.

setParameterValues

public void setParameterValues(Map parameters)
Specified by:
setParameterValues in interface ParameterizedBridge


Copyright © 2006-2012 Hibernate. All Rights Reserved.