![JAR search and dependency download from the Maven repository](/logo.png)
org.hibernate.search.bridge.TwoWayStringBridge Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-annotations
Show all versions of hibernate-annotations
Annotations metadata for Hibernate
//$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