public abstract class ArrayValidator extends BaseValidator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CHECK_NOT_EMPTY_MESSAGE
Validator default message.
|
private java.lang.Object[] |
value
Value object to validation.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ArrayValidator(java.lang.Object[] value)
Creates a new instance of ArrayRequiredValidator.
|
| Modifier and Type | Method and Description |
|---|---|
static ArrayValidator |
checkNotEmptyArray(java.lang.Object[] array)
Checks whether the specified array contains at least one element (that is not null).
|
protected boolean |
validateNotEmtyArray()
Checks whether the specified array contains at least one element (that is not null).
|
getMessage, isValid, setMessage, validatevalue - array - array to validation