Class URIConverter

  • All Implemented Interfaces:
    javax.persistence.AttributeConverter<URI,​String>

    public class URIConverter
    extends Object
    implements javax.persistence.AttributeConverter<URI,​String>
    Since:
    2.8
    Author:
    Michiel Meeuwissen
    • Constructor Detail

      • URIConverter

        public URIConverter()
    • Method Detail

      • convertToDatabaseColumn

        public String convertToDatabaseColumn​(URI uri)
        Specified by:
        convertToDatabaseColumn in interface javax.persistence.AttributeConverter<URI,​String>
      • convertToEntityAttribute

        public URI convertToEntityAttribute​(String uri)
        Specified by:
        convertToEntityAttribute in interface javax.persistence.AttributeConverter<URI,​String>