Class BendableScoreConverter

  • All Implemented Interfaces:
    javax.persistence.AttributeConverter<org.optaplanner.core.api.score.buildin.bendable.BendableScore,​String>

    public class BendableScoreConverter
    extends Object
    implements javax.persistence.AttributeConverter<org.optaplanner.core.api.score.buildin.bendable.BendableScore,​String>
    • Constructor Detail

      • BendableScoreConverter

        public BendableScoreConverter()
    • Method Detail

      • convertToDatabaseColumn

        public String convertToDatabaseColumn​(org.optaplanner.core.api.score.buildin.bendable.BendableScore score)
        Specified by:
        convertToDatabaseColumn in interface javax.persistence.AttributeConverter<org.optaplanner.core.api.score.buildin.bendable.BendableScore,​String>
      • convertToEntityAttribute

        public org.optaplanner.core.api.score.buildin.bendable.BendableScore convertToEntityAttribute​(String scoreString)
        Specified by:
        convertToEntityAttribute in interface javax.persistence.AttributeConverter<org.optaplanner.core.api.score.buildin.bendable.BendableScore,​String>