Package org.optaplanner.core.api.domain.valuerange

## Annotation Type ValueRangeProvider

-     @Target({METHOD,FIELD})
      @Retention(RUNTIME)
      public @interface ValueRangeProvider

  Provides the planning values that can be used for a `PlanningVariable`.

  This is specified on a getter of a java bean property (or directly on a field) which returns a `Collection` or `ValueRange`. A `Collection` is implicitly converted to a `ValueRange`.

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element | Description
    --- | --- | ---
    `String` | `id` | Used by `PlanningVariable.valueRangeProviderRefs()` to map a `PlanningVariable` to a `ValueRangeProvider`.

- - ### Element Detail

    - #### id

          String id

      Used by `PlanningVariable.valueRangeProviderRefs()` to map a `PlanningVariable` to a `ValueRangeProvider`.
      Returns:
        never null, must be unique across a `SolverFactory`