public class ValidatorDatePast extends AbstractValueValidator<Date>
ValueValidator that
validates that a date lies
in the past.| Constructor and Description |
|---|
ValidatorDatePast()
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, validateNullcreateBundle, getCode, isDynamic, isMandatory, validateprotected 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–2015 mmm-Team. All rights reserved.