Class AbstractFromPropertyValueRangeDescriptor<Solution_>
java.lang.Object
org.optaplanner.core.impl.domain.valuerange.descriptor.AbstractValueRangeDescriptor<Solution_>
org.optaplanner.core.impl.domain.valuerange.descriptor.AbstractFromPropertyValueRangeDescriptor<Solution_>
- Type Parameters:
Solution_
- the solution type, the class with thePlanningSolution
annotation
- All Implemented Interfaces:
ValueRangeDescriptor<Solution_>
- Direct Known Subclasses:
FromEntityPropertyValueRangeDescriptor
,FromSolutionPropertyValueRangeDescriptor
public abstract class AbstractFromPropertyValueRangeDescriptor<Solution_>
extends AbstractValueRangeDescriptor<Solution_>
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected final MemberAccessor
Fields inherited from class org.optaplanner.core.impl.domain.valuerange.descriptor.AbstractValueRangeDescriptor
addNullInValueRange, variableDescriptor
-
Constructor Summary
ConstructorDescriptionAbstractFromPropertyValueRangeDescriptor
(GenuineVariableDescriptor<Solution_> variableDescriptor, boolean addNullInValueRange, MemberAccessor memberAccessor) -
Method Summary
Methods inherited from class org.optaplanner.core.impl.domain.valuerange.descriptor.AbstractValueRangeDescriptor
doNullInValueRangeWrapping, getVariableDescriptor, mightContainEntity, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.optaplanner.core.impl.domain.valuerange.descriptor.ValueRangeDescriptor
extractValueRange, isEntityIndependent
-
Field Details
-
memberAccessor
-
collectionWrapping
protected boolean collectionWrapping -
arrayWrapping
protected boolean arrayWrapping -
countable
protected boolean countable
-
-
Constructor Details
-
AbstractFromPropertyValueRangeDescriptor
public AbstractFromPropertyValueRangeDescriptor(GenuineVariableDescriptor<Solution_> variableDescriptor, boolean addNullInValueRange, MemberAccessor memberAccessor)
-
-
Method Details
-
isCountable
public boolean isCountable()- Returns:
- true if the
ValueRange
is countable (for example a double value range between 1.2 and 1.4 is not countable)
-
readValueRange
-