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