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

## Class HardSoftLongScoreConverter

- java.lang.Object
- - org.optaplanner.persistence.jpa.api.score.buildin.hardsoftlong.HardSoftLongScoreConverter

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

      public class HardSoftLongScoreConverter
      extends Object
      implements javax.persistence.AttributeConverter<HardSoftLongScore,String>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HardSoftLongScoreConverter()`

  - ### Method Summary

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

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

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

- - ### Constructor Detail

    - #### HardSoftLongScoreConverter

          public HardSoftLongScoreConverter()

  - ### Method Detail

    - #### convertToDatabaseColumn

          public String convertToDatabaseColumn(HardSoftLongScore score)

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

    - #### convertToEntityAttribute

          public HardSoftLongScore convertToEntityAttribute(String scoreString)

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

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