Class DateTimeRangeValidator<T extends Comparable>

java.lang.Object
io.jmix.flowui.component.validation.AbstractValidator<T>
io.jmix.flowui.component.validation.DateTimeRangeValidator<T>
All Implemented Interfaces:
Validator<T>, Consumer<T>, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

@Component("flowui_DateTimeRangeValidator") @Scope("prototype") public class DateTimeRangeValidator<T extends Comparable> extends AbstractValidator<T>
  • Field Details

  • Constructor Details

    • DateTimeRangeValidator

      public DateTimeRangeValidator()
    • DateTimeRangeValidator

      public DateTimeRangeValidator(String message)
  • Method Details

    • getMin

      @Nullable public T getMin()
    • setMin

      public void setMin(@Nullable T min)
    • getMax

      @Nullable public T getMax()
    • setMax

      public void setMax(@Nullable T max)
    • accept

      public void accept(@Nullable T value) throws ValidationException
      Description copied from interface: Validator
      Checks a value.
      Parameters:
      value - a value
      Throws:
      ValidationException