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