Package org.optaplanner.core.impl.score.stream.bavet.uni

## Class BavetScoringUniTuple<A>

- java.lang.Object
- - org.optaplanner.core.impl.score.stream.bavet.common.BavetAbstractTuple
  - - org.optaplanner.core.impl.score.stream.bavet.uni.BavetAbstractUniTuple<A>
    - - org.optaplanner.core.impl.score.stream.bavet.uni.BavetScoringUniTuple<A>

- All Implemented Interfaces:
    `BavetScoringTuple`, `BavetTuple`

      public final class BavetScoringUniTuple<A>
      extends BavetAbstractUniTuple<A>
      implements BavetScoringTuple

- - ### Field Summary

    - ### Fields inherited from class org.optaplanner.core.impl.score.stream.bavet.common.BavetAbstractTuple

      `state`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BavetScoringUniTuple​(BavetScoringUniNode<A> node, BavetAbstractUniTuple<A> parentTuple)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `A` | `getFactA()` |
    `Score<?>` | `getMatchScore()` |
    `BavetScoringUniNode<A>` | `getNode()` |
    `UndoScoreImpacter` | `getUndoScoreImpacter()` |
    `void` | `refresh()` |
    `void` | `setMatchScore​(Score<?> matchScore)` |
    `void` | `setUndoScoreImpacter​(UndoScoreImpacter undoScoreImpacter)` |
    `String` | `toString()` |

    - ### Methods inherited from class org.optaplanner.core.impl.score.stream.bavet.uni.BavetAbstractUniTuple

      `getFacts`

    - ### Methods inherited from class org.optaplanner.core.impl.score.stream.bavet.common.BavetAbstractTuple

      `getNodeOrder, getState, isActive, isDirty, refreshed, setState`

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

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

    - ### Methods inherited from interface org.optaplanner.core.impl.score.stream.bavet.common.BavetTuple

      `getFactsString`

- - ### Constructor Detail

    - #### BavetScoringUniTuple

          public BavetScoringUniTuple​(BavetScoringUniNode<A> node,
                                      BavetAbstractUniTuple<A> parentTuple)

  - ### Method Detail

    - #### refresh

          public void refresh()

      Specified by:
        `refresh` in class `BavetAbstractTuple`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### getNode

          public BavetScoringUniNode<A> getNode()

      Specified by:
        `getNode` in interface `BavetTuple`

    - #### getFactA

          public A getFactA()

      Specified by:
        `getFactA` in class `BavetAbstractUniTuple<A>`

    - #### getUndoScoreImpacter

          public UndoScoreImpacter getUndoScoreImpacter()

      Specified by:
        `getUndoScoreImpacter` in interface `BavetScoringTuple`

    - #### setUndoScoreImpacter

          public void setUndoScoreImpacter​(UndoScoreImpacter undoScoreImpacter)

      Specified by:
        `setUndoScoreImpacter` in interface `BavetScoringTuple`

    - #### getMatchScore

          public Score<?> getMatchScore()

      Specified by:
        `getMatchScore` in interface `BavetScoringTuple`

    - #### setMatchScore

          public void setMatchScore​(Score<?> matchScore)

      Specified by:
        `setMatchScore` in interface `BavetScoringTuple`