org.drools.planner.api.domain.variable
Annotation Type ValueRangeFromSolutionProperty
@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface ValueRangeFromSolutionProperty
Specifies that the planning value range for a planning variable is defined by a property on the Solution
.
It is specified on a getter of a java bean property which already has a PlanningVariable
annotation.
propertyName
public abstract String propertyName
- The property name of which exists a getter on the
Solution
that returns a Collection
.
- Returns:
- never null
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.