Class SimpleScoreConverter

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

    public class SimpleScoreConverter
    extends Object
    implements javax.persistence.AttributeConverter<SimpleScore,​String>
    • Constructor Detail

      • SimpleScoreConverter

        public SimpleScoreConverter()
    • Method Detail

      • convertToDatabaseColumn

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

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