All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.search.bridge.TwoWayStringBridge Maven / Gradle / Ivy

There is a newer version: 3.5.6-Final
Show newest version
//$Id: $
package org.hibernate.search.bridge;

/**
 * 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 
 * @author Emmanuel Bernard
 */
public interface TwoWayStringBridge extends StringBridge {
	/**
	 * Convert the string representation to an object
	 */
	Object stringToObject(String stringValue);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy