MaxValidator
, MinValidator
, NegativeOrZeroValidator
,
NegativeValidator
, PositiveOrZeroValidator
or PositiveValidator
instead@Deprecated public class IntegerValidator extends java.lang.Object implements Field.Validator
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
message
Deprecated.
|
protected io.jmix.core.Messages |
messages
Deprecated.
|
protected java.lang.String |
messagesPack
Deprecated.
|
protected io.jmix.core.MessageTools |
messageTools
Deprecated.
|
protected java.lang.String |
onlyPositive
Deprecated.
|
Constructor and Description |
---|
IntegerValidator()
Deprecated.
|
IntegerValidator(org.dom4j.Element element,
java.lang.String messagesPack)
Deprecated.
|
IntegerValidator(java.lang.String message)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
validate(java.lang.Object value)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept
protected java.lang.String message
protected java.lang.String messagesPack
protected java.lang.String onlyPositive
protected io.jmix.core.Messages messages
protected io.jmix.core.MessageTools messageTools
public IntegerValidator(org.dom4j.Element element, java.lang.String messagesPack)
public IntegerValidator(java.lang.String message)
public IntegerValidator()
public void validate(java.lang.Object value) throws io.jmix.ui.component.ValidationException
validate
in interface Field.Validator
value
- field value to validateio.jmix.ui.component.ValidationException
- this exception must be thrown by the validator if the value is not valid