Class NotEmptyValidator<T>
java.lang.Object
io.jmix.flowui.component.validation.AbstractValidator<T>
io.jmix.flowui.component.validation.NotEmptyValidator<T>
- All Implemented Interfaces:
- Validator<T>,- Consumer<T>,- org.springframework.beans.factory.Aware,- org.springframework.beans.factory.InitializingBean,- org.springframework.context.ApplicationContextAware
@Component("flowui_NotEmptyValidator")
@Scope("prototype")
public class NotEmptyValidator<T>
extends AbstractValidator<T>
- 
Field SummaryFields inherited from class io.jmix.flowui.component.validation.AbstractValidatorapplicationContext, currentAuthentication, datatypeRegistry, defaultMessage, message, messages, substitutor
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class io.jmix.flowui.component.validation.AbstractValidatorafterPropertiesSet, fireValidationException, fireValidationException, formatValue, getMessage, getTemplateErrorMessage, setApplicationContext, setMessage
- 
Constructor Details- 
NotEmptyValidatorpublic NotEmptyValidator()
- 
NotEmptyValidatorConstructor for custom error message.- Parameters:
- message- error message
 
 
- 
- 
Method Details- 
acceptDescription copied from interface:ValidatorChecks a value.- Parameters:
- value- a value
- Throws:
- ValidationException
 
 
-