Class BendableScoreConverter

java.lang.Object
org.optaplanner.persistence.jpa.api.score.buildin.bendable.BendableScoreConverter
All Implemented Interfaces:
jakarta.persistence.AttributeConverter<BendableScore,String>

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

    • BendableScoreConverter

      public BendableScoreConverter()
  • Method Details

    • convertToDatabaseColumn

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

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