Class NegativeValidator<T extends Number>
java.lang.Object
io.jmix.flowui.component.validation.AbstractValidator<T>
io.jmix.flowui.component.validation.NegativeValidator<T>
- All Implemented Interfaces:
- Validator<T>,- Consumer<T>,- org.springframework.beans.factory.Aware,- org.springframework.beans.factory.InitializingBean,- org.springframework.context.ApplicationContextAware
@Component("flowui_NegativeValidator")
@Scope("prototype")
public class NegativeValidator<T extends Number>
extends AbstractValidator<T>
implements org.springframework.beans.factory.InitializingBean
- 
Field SummaryFieldsFields inherited from class io.jmix.flowui.component.validation.AbstractValidatorapplicationContext, currentAuthentication, datatypeRegistry, message, messages, substitutor
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class io.jmix.flowui.component.validation.AbstractValidatorafterPropertiesSet, fireValidationException, fireValidationException, formatValue, getMessage, getTemplateErrorMessage, setApplicationContext, setMessageMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet
- 
Field Details- 
defaultMessage
 
- 
- 
Constructor Details- 
NegativeValidatorpublic NegativeValidator()
- 
NegativeValidatorConstructor for custom error message. This message can contain '${value}' key for formatted output.Example: "Value '${value}' should be less than 0". - Parameters:
- message- error message
 
 
- 
- 
Method Details