public class ValidatorDateFuture extends AbstractValueValidator<Date>
ValueValidator
that
validates that a date
lies
in the future.Constructor and Description |
---|
ValidatorDateFuture()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected NlsMessage |
validateNotNull(Date value)
This method performs the validation in case
value is NOT null . |
validate, validateNull
createBundle, getCode, isDynamic, isMandatory, validate
protected NlsMessage validateNotNull(Date value)
value
is NOT null
. This method contains the
actual custom logic for the validation. It is therefore designed in a way that makes it most simple to implement
custom validators. NlsMessage
instead.validateNotNull
in class AbstractValueValidator<Date>
value
- is the value to validate.failure message
or null
if the the given
value
is valid.Copyright © 2001–2014 mmm-Team. All rights reserved.