public class NumericValidator extends ValidatorAdapter
| Constructor and Description |
|---|
NumericValidator(String attribute) |
| Modifier and Type | Method and Description |
|---|---|
void |
setAllowNull(Boolean allowNull) |
void |
setMax(Double max) |
void |
setMin(Double min) |
void |
setOnlyInteger(boolean onlyInteger) |
void |
validate(Validatable validatable)
Called by framework when validation is required
|
formatMessage, getMessage, pinMessage, setMessagepublic NumericValidator(String attribute)
public void validate(Validatable validatable)
Validatorvalidatable - map being validated.public void setMin(Double min)
public void setMax(Double max)
public void setAllowNull(Boolean allowNull)
public void setOnlyInteger(boolean onlyInteger)
Copyright © 2022 JavaLite. All rights reserved.