Class SimpleScoreConverter
- java.lang.Object
-
- org.optaplanner.persistence.jpa.api.score.buildin.simple.SimpleScoreConverter
-
- All Implemented Interfaces:
javax.persistence.AttributeConverter<SimpleScore,String>
public class SimpleScoreConverter extends Object implements javax.persistence.AttributeConverter<SimpleScore,String>
-
-
Constructor Summary
Constructors Constructor Description SimpleScoreConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
convertToDatabaseColumn(SimpleScore score)
SimpleScore
convertToEntityAttribute(String scoreString)
-
-
-
Method Detail
-
convertToDatabaseColumn
public String convertToDatabaseColumn(SimpleScore score)
- Specified by:
convertToDatabaseColumn
in interfacejavax.persistence.AttributeConverter<SimpleScore,String>
-
convertToEntityAttribute
public SimpleScore convertToEntityAttribute(String scoreString)
- Specified by:
convertToEntityAttribute
in interfacejavax.persistence.AttributeConverter<SimpleScore,String>
-
-