public abstract class LngValidator extends Object implements Validator<Long>
| Modifier and Type | Class and Description |
|---|---|
static class |
LngValidator.GreaterThan
Validate that a long is greater than a specified reference.
|
static class |
LngValidator.GreaterThanOrEqualTo
Validate that an long is greater than or equal to a specified reference.
|
static class |
LngValidator.LessThan
Validate that an long is less than a specified reference.
|
static class |
LngValidator.LessThanOrEqualTo
Validate that a long is less than or equal to a specified reference.
|
| Constructor and Description |
|---|
LngValidator() |
| 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<Long>public String getInvalidSpecificationMessage()
ValidatorgetInvalidSpecificationMessage in interface Validator<Long>Copyright © 2017. All rights reserved.