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
FieldsModifier and TypeFieldDescriptionprotected final com.vaadin.flow.component.Componentprotected final ReportInputParameterprotected ReportParameterValidatorFields inherited from class io.jmix.flowui.component.validation.AbstractValidator
applicationContext, currentAuthentication, datatypeRegistry, defaultMessage, message, messages, substitutor -
Constructor Summary
ConstructorsConstructorDescriptionReportParamFieldValidator(com.vaadin.flow.component.Component component, ReportInputParameter inputParameter) -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks a value.voidMethods 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:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classAbstractValidator<Object>
-
accept
Description copied from interface:ValidatorChecks a value.- Parameters:
value- a value
-