Package org.optaplanner.persistence.jpa.api.score.buildin.hardsoftbigdecimal

## Class HardSoftBigDecimalScoreConverter

- java.lang.Object
- - org.optaplanner.persistence.jpa.api.score.buildin.hardsoftbigdecimal.HardSoftBigDecimalScoreConverter

- All Implemented Interfaces:
    `javax.persistence.AttributeConverter<HardSoftBigDecimalScore,​String>`

      public class HardSoftBigDecimalScoreConverter
      extends Object
      implements javax.persistence.AttributeConverter<HardSoftBigDecimalScore,​String>

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `HardSoftBigDecimalScoreConverter()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `convertToDatabaseColumn​(HardSoftBigDecimalScore score)` |
    `HardSoftBigDecimalScore` | `convertToEntityAttribute​(String scoreString)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HardSoftBigDecimalScoreConverter

          public HardSoftBigDecimalScoreConverter()

  - ### Method Detail

    - #### convertToDatabaseColumn

          public String convertToDatabaseColumn​(HardSoftBigDecimalScore score)

      Specified by:
        `convertToDatabaseColumn` in interface `javax.persistence.AttributeConverter<HardSoftBigDecimalScore,​String>`

    - #### convertToEntityAttribute

          public HardSoftBigDecimalScore convertToEntityAttribute​(String scoreString)

      Specified by:
        `convertToEntityAttribute` in interface `javax.persistence.AttributeConverter<HardSoftBigDecimalScore,​String>`