public abstract class BigDecValidator extends Object implements Validator<BigDecimal>
| Modifier and Type | Class and Description |
|---|---|
static class |
BigDecValidator.GreaterThan
Validate that a BigDecimal is greater than a specified reference.
|
static class |
BigDecValidator.GreaterThanOrEqualTo
Validate that a BigDecimal is greater than or equal to a specified reference.
|
static class |
BigDecValidator.LessThan
Validate that a BigDecimal is less than a specified reference.
|
static class |
BigDecValidator.LessThanOrEqualTo
Validate that a BigDecimal is less than or equal to a specified reference.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getInvalidSpecificationMessage()
If the specification itself is invalid (such as a bad regex string), this
will build a message describing the problem to the user.
|
boolean |
isSpecificationValid()
Returns true if the validation criteria itself is valid.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInvalidMessage, getTheValueMustDescription, isValidpublic boolean isSpecificationValid()
ValidatorisSpecificationValid in interface Validator<BigDecimal>public String getInvalidSpecificationMessage()
ValidatorgetInvalidSpecificationMessage in interface Validator<BigDecimal>Copyright © 2021. All rights reserved.