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