Package org.optaplanner.core.impl.domain.variable.inverserelation

## Interface SingletonInverseVariableSupply

- All Superinterfaces:
    `Supply`
  All Known Implementing Classes:
    `ExternalizedSingletonInverseVariableSupply`, `SingletonInverseVariableListener`

      public interface SingletonInverseVariableSupply
      extends Supply

  Currently only supported for chained variables, which guarantee that no 2 entities use the same planningValue.

  To get an instance, demand a `SingletonInverseVariableDemand` from `InnerScoreDirector.getSupplyManager()`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Object` | `getInverseSingleton​(Object planningValue)` | If entity1.varA = x then the inverse of x is entity1.

- - ### Method Detail

    - #### getInverseSingleton

          Object getInverseSingleton​(Object planningValue)

      If entity1.varA = x then the inverse of x is entity1.
      Parameters:
        `planningValue` - never null
      Returns:
        sometimes null, an entity for which the planning variable is the planningValue.