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

## Interface CollectionInverseVariableSupply

- All Superinterfaces:
    Supply
  All Known Implementing Classes:
    CollectionInverseVariableListener, ExternalizedCollectionInverseVariableSupply

      public interface CollectionInverseVariableSupply
      extends Supply

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Collection<?>` | `getInverseCollection(Object planningValue)` If entity1.varA = x then an inverse of x is entity1.

- - ### Method Detail

    - #### getInverseCollection

          Collection<?> getInverseCollection(Object planningValue)

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

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