Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.0.0.CR4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.optaplanner.core.api.domain.value
Annotation Type ValueRangeProvider

    @Target(value=METHOD)
    @Retention(value=RUNTIME)
    public @interface ValueRangeProvider

Provides the planning values can be used for a planning variable. This is specified on a getter of a java bean property which returns the value range.

The value range must be a `Collection`.

Required Element Summary
`String` | `id` Used by `PlanningVariable.valueRangeProviderRefs()` to map a `PlanningVariable` to a `ValueRangeProvider`.

Element Detail

### id

    public abstract String id

  Used by `PlanningVariable.valueRangeProviderRefs()` to map a `PlanningVariable` to a `ValueRangeProvider`.

  Returns:
    never null, must be unique across a `SolverFactory`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.0.0.CR4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.