Solution_ - the solution type, the class with the PlanningSolution annotationpublic abstract class AbstractValueRangeDescriptor<Solution_> extends Object implements ValueRangeDescriptor<Solution_>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
addNullInValueRange |
protected GenuineVariableDescriptor<Solution_> |
variableDescriptor |
| Constructor and Description |
|---|
AbstractValueRangeDescriptor(GenuineVariableDescriptor<Solution_> variableDescriptor,
boolean addNullInValueRange) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> ValueRange<T> |
doNullInValueRangeWrapping(ValueRange<T> valueRange) |
GenuineVariableDescriptor<Solution_> |
getVariableDescriptor() |
boolean |
mightContainEntity() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitextractValueRange, isCountable, isEntityIndependentprotected final GenuineVariableDescriptor<Solution_> variableDescriptor
protected final boolean addNullInValueRange
public AbstractValueRangeDescriptor(GenuineVariableDescriptor<Solution_> variableDescriptor, boolean addNullInValueRange)
public GenuineVariableDescriptor<Solution_> getVariableDescriptor()
getVariableDescriptor in interface ValueRangeDescriptor<Solution_>public boolean mightContainEntity()
mightContainEntity in interface ValueRangeDescriptor<Solution_>ValueRange might contain a planning entity instance
(not necessarily of the same entity class as this entity class of this descriptor.protected <T> ValueRange<T> doNullInValueRangeWrapping(ValueRange<T> valueRange)
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.