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

## Class HardSoftBigDecimalScoreJaxbAdapter

- java.lang.Object
- - javax.xml.bind.annotation.adapters.XmlAdapter<String,​Score_>
  - - org.optaplanner.persistence.jaxb.api.score.AbstractScoreJaxbAdapter<HardSoftBigDecimalScore>
    - - org.optaplanner.persistence.jaxb.api.score.buildin.hardsoftbigdecimal.HardSoftBigDecimalScoreJaxbAdapter

-     public class HardSoftBigDecimalScoreJaxbAdapter
      extends AbstractScoreJaxbAdapter<HardSoftBigDecimalScore>

  JAXB binding support for a `Score` type.

  For example: use `@XmlJavaTypeAdapter(HardSoftScoreJaxbAdapter.class)` on a `HardSoftScore score` field and it will marshalled to XML as `<score>-999hard/-999soft</score>`.

- - ### Constructor Summary

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

  - ### Method Summary

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

    - ### Methods inherited from class org.optaplanner.persistence.jaxb.api.score.AbstractScoreJaxbAdapter

      `marshal`

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

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

- - ### Constructor Detail

    - #### HardSoftBigDecimalScoreJaxbAdapter

          public HardSoftBigDecimalScoreJaxbAdapter()

  - ### Method Detail

    - #### unmarshal

          public HardSoftBigDecimalScore unmarshal​(String scoreString)

      Specified by:
        `unmarshal` in class `XmlAdapter<String,​HardSoftBigDecimalScore>`