|
Drools Planner distribution 6.0.0.Alpha9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface ValueRange
Specifies which planning values can be used for a planning variable.
This is specified on a getter of a java bean property which already has a PlanningVariable
annotation.
Required Element Summary | |
---|---|
ValueRangeType |
type
This is commonly ValueRangeType.FROM_SOLUTION_PROPERTY . |
Optional Element Summary | |
---|---|
boolean |
excludeUninitializedPlanningEntity
|
String |
planningEntityProperty
The property name for which exists a getter on the planning entity that returns a Collection . |
String |
solutionProperty
The property name for which exists a getter on the Solution that returns a Collection . |
Element Detail |
---|
public abstract ValueRangeType type
ValueRangeType.FROM_SOLUTION_PROPERTY
.
public abstract String solutionProperty
Solution
that returns a Collection
.
ValueRangeType.FROM_SOLUTION_PROPERTY
, always null otherwise.public abstract String planningEntityProperty
Collection
.
ValueRangeType.FROM_PLANNING_ENTITY_PROPERTY
, always null otherwise.public abstract boolean excludeUninitializedPlanningEntity
ValueRangeType.UNDEFINED
|
Drools Planner distribution 6.0.0.Alpha9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |