public class IntegerValidator extends Object
Integer,
optionally validating whether the number is positive.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowNegative |
| Constructor and Description |
|---|
IntegerValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(Object value,
javax.validation.ConstraintValidatorContext context) |
public boolean isValid(Object value, javax.validation.ConstraintValidatorContext context)
Copyright © 2019 Atlassian. All rights reserved.