Class ReportParamFieldValidator
java.lang.Object
io.jmix.flowui.component.validation.AbstractValidator<Object>
io.jmix.reportsflowui.view.validators.ReportParamFieldValidator
- All Implemented Interfaces:
Validator<Object>
,Consumer<Object>
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
@Component("report_ReportParamFieldValidator")
@Scope("prototype")
public class ReportParamFieldValidator
extends AbstractValidator<Object>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final com.vaadin.flow.component.Component
protected final ReportInputParameter
protected ReportParameterValidator
Fields inherited from class io.jmix.flowui.component.validation.AbstractValidator
applicationContext, currentAuthentication, datatypeRegistry, defaultMessage, message, messages, substitutor
-
Constructor Summary
ConstructorDescriptionReportParamFieldValidator
(com.vaadin.flow.component.Component component, ReportInputParameter inputParameter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks a value.void
Methods inherited from class io.jmix.flowui.component.validation.AbstractValidator
fireValidationException, fireValidationException, formatValue, getMessage, getTemplateErrorMessage, setApplicationContext, setMessage
-
Field Details
-
inputParameter
-
component
protected final com.vaadin.flow.component.Component component -
reportParameterValidator
-
-
Constructor Details
-
ReportParamFieldValidator
public ReportParamFieldValidator(com.vaadin.flow.component.Component component, ReportInputParameter inputParameter)
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Overrides:
afterPropertiesSet
in classAbstractValidator<Object>
-
accept
Description copied from interface:Validator
Checks a value.- Parameters:
value
- a value
-