org.optaplanner.persistence.jpa.api.score.buildin.hardsoft

## Class HardSoftScoreConverter

- java.lang.Object
- - org.optaplanner.persistence.jpa.api.score.buildin.hardsoft.HardSoftScoreConverter

- All Implemented Interfaces:
    javax.persistence.AttributeConverter<HardSoftScore,String>

      public class HardSoftScoreConverter
      extends Object
      implements javax.persistence.AttributeConverter<HardSoftScore,String>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HardSoftScoreConverter()`

  - ### Method Summary

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

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

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

- - ### Constructor Detail

    - #### HardSoftScoreConverter

          public HardSoftScoreConverter()

  - ### Method Detail

    - #### convertToDatabaseColumn

          public String convertToDatabaseColumn(HardSoftScore score)

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

    - #### convertToEntityAttribute

          public HardSoftScore convertToEntityAttribute(String scoreString)

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

Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.