Class EntryMetadataConverter

  • All Implemented Interfaces:
    javax.persistence.AttributeConverter<io.vlingo.symbio.Metadata,​java.lang.String>

    public class EntryMetadataConverter
    extends java.lang.Object
    implements javax.persistence.AttributeConverter<io.vlingo.symbio.Metadata,​java.lang.String>
    EntryMetadataConverter is responsible for converting instances of Metadata to and from a String representation.
    • Constructor Detail

      • EntryMetadataConverter

        public EntryMetadataConverter()
    • Method Detail

      • convertToDatabaseColumn

        public java.lang.String convertToDatabaseColumn​(io.vlingo.symbio.Metadata attribute)
        Specified by:
        convertToDatabaseColumn in interface javax.persistence.AttributeConverter<io.vlingo.symbio.Metadata,​java.lang.String>
      • convertToEntityAttribute

        public io.vlingo.symbio.Metadata convertToEntityAttribute​(java.lang.String dbData)
        Specified by:
        convertToEntityAttribute in interface javax.persistence.AttributeConverter<io.vlingo.symbio.Metadata,​java.lang.String>