Class HardSoftScoreConverter

java.lang.Object
org.optaplanner.persistence.jpa.api.score.buildin.hardsoft.HardSoftScoreConverter
All Implemented Interfaces:
jakarta.persistence.AttributeConverter<HardSoftScore,String>

public class HardSoftScoreConverter extends Object implements jakarta.persistence.AttributeConverter<HardSoftScore,String>
  • Constructor Details

    • HardSoftScoreConverter

      public HardSoftScoreConverter()
  • Method Details

    • convertToDatabaseColumn

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

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