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 Summary
Fields inherited from class io.jmix.flowui.component.validation.AbstractValidator
applicationContext, currentAuthentication, datatypeRegistry, defaultMessage, message, messages, substitutor
-
Constructor Summary
-
Method Summary
Methods inherited from class io.jmix.flowui.component.validation.AbstractValidator
afterPropertiesSet, fireValidationException, fireValidationException, formatValue, getMessage, getTemplateErrorMessage, setApplicationContext, setMessage
-
Field Details
-
min
-
max
-
-
Constructor Details
-
DateTimeRangeValidator
public DateTimeRangeValidator() -
DateTimeRangeValidator
-
-
Method Details
-
getMin
-
setMin
-
getMax
-
setMax
-
accept
Description copied from interface:Validator
Checks a value.- Parameters:
value
- a value- Throws:
ValidationException
-