Class SimpleScoreConverter

java.lang.Object
org.optaplanner.persistence.jpa.api.score.buildin.simple.SimpleScoreConverter
All Implemented Interfaces:
jakarta.persistence.AttributeConverter<SimpleScore,String>

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

    • SimpleScoreConverter

      public SimpleScoreConverter()
  • Method Details

    • convertToDatabaseColumn

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

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