Class AbstractFromPropertyValueRangeDescriptor<Solution_>

java.lang.Object
ai.timefold.solver.core.impl.domain.valuerange.descriptor.AbstractValueRangeDescriptor<Solution_>
ai.timefold.solver.core.impl.domain.valuerange.descriptor.AbstractFromPropertyValueRangeDescriptor<Solution_>
Type Parameters:
Solution_ - the solution type, the class with the PlanningSolution annotation
All Implemented Interfaces:
ValueRangeDescriptor<Solution_>
Direct Known Subclasses:
FromEntityPropertyValueRangeDescriptor, FromSolutionPropertyValueRangeDescriptor

public abstract class AbstractFromPropertyValueRangeDescriptor<Solution_> extends AbstractValueRangeDescriptor<Solution_>
  • Field Details

    • memberAccessor

      protected final MemberAccessor memberAccessor
    • collectionWrapping

      protected boolean collectionWrapping
    • arrayWrapping

      protected boolean arrayWrapping
    • countable

      protected boolean countable
  • Constructor Details

  • 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

      protected <Value_> ValueRange<Value_> readValueRange(Object bean)
    • readValueRangeSize

      protected long readValueRangeSize(Object bean)