- All Implemented Interfaces:
javax.persistence.AttributeConverter<URI,String>
public class UriConverter
extends Object
implements javax.persistence.AttributeConverter<URI,String>
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
UriConverter
public UriConverter()
-
Method Details
-
convertToDatabaseColumn
public String convertToDatabaseColumn(URI attribute)
- Specified by:
convertToDatabaseColumn
in interface javax.persistence.AttributeConverter<URI,String>
-
convertToEntityAttribute
public URI convertToEntityAttribute(String dbData)
- Specified by:
convertToEntityAttribute
in interface javax.persistence.AttributeConverter<URI,String>