public class FromSolutionPropertyPlanningValueRangeDescriptor extends AbstractPlanningValueRangeDescriptor
variableDescriptor
Constructor and Description |
---|
FromSolutionPropertyPlanningValueRangeDescriptor(PlanningVariableDescriptor variableDescriptor,
Method readMethod) |
Modifier and Type | Method and Description |
---|---|
Collection<?> |
extractAllValues(Solution solution) |
Collection<?> |
extractValues(Solution solution,
Object entity) |
long |
getValueCount(Solution solution,
Object entity) |
boolean |
isEntityDependent() |
boolean |
isValuesCacheable() |
getVariableDescriptor, toString
public FromSolutionPropertyPlanningValueRangeDescriptor(PlanningVariableDescriptor variableDescriptor, Method readMethod)
public boolean isEntityDependent()
public Collection<?> extractAllValues(Solution solution)
public Collection<?> extractValues(Solution solution, Object entity)
public boolean isValuesCacheable()
isValuesCacheable
in interface PlanningValueRangeDescriptor
isValuesCacheable
in class AbstractPlanningValueRangeDescriptor
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.