Save This Page
Home » hibernate-search-src-20081106 » org.hibernate » search » bridge » [javadoc | source]
org.hibernate.search.bridge
public interface: TwoWayStringBridge [javadoc | source]

All Implemented Interfaces:
    StringBridge

All Known Implementing Classes:
    LongBridge, DateBridge, UriBridge, EnumBridge, BigIntegerBridge, ShortBridge, StringBridge, IntegerBridge, ClassBridge, BigDecimalBridge, DoubleBridge, NumberBridge, BooleanBridge, FloatBridge, UrlBridge

StringBridge allowing a translation from the String back to the Object objectToString( stringToObject( string ) ) and stringToObject( objectToString( object ) ) should be "idempotent". More precisely, objectToString( stringToObject( string ) ).equals(string) for string not null stringToObject( objectToString( object ) ).equals(object) for object not null
Method from org.hibernate.search.bridge.TwoWayStringBridge Summary:
stringToObject
Method from org.hibernate.search.bridge.TwoWayStringBridge Detail:
 public Object stringToObject(String stringValue)
    Convert the string representation to an object