Class HardSoftScoreConverter

    • Constructor Detail

      • HardSoftScoreConverter

        public HardSoftScoreConverter()
    • Method Detail

      • convertToDatabaseColumn

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

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