org.optaplanner.core.impl.domain.value
public class CompositePlanningValueRangeDescriptor extends AbstractPlanningValueRangeDescriptor
Modifier and Type | Field and Description |
---|---|
protected boolean |
entityDependent |
protected List<PlanningValueRangeDescriptor> |
valueRangeDescriptorList |
variableDescriptor
Constructor and Description |
---|
CompositePlanningValueRangeDescriptor(PlanningVariableDescriptor variableDescriptor,
List<PlanningValueRangeDescriptor> valueRangeDescriptorList) |
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
protected final List<PlanningValueRangeDescriptor> valueRangeDescriptorList
protected boolean entityDependent
public CompositePlanningValueRangeDescriptor(PlanningVariableDescriptor variableDescriptor, List<PlanningValueRangeDescriptor> valueRangeDescriptorList)
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-2013 JBoss by Red Hat. All Rights Reserved.