Class ValidatorTemporalFuture<V>

    • Constructor Detail

      • ValidatorTemporalFuture

        public ValidatorTemporalFuture()
        The constructor.
    • Method Detail

      • validateNotNull

        protected NlsMessage validateNotNull​(V value)
        Description copied from class: AbstractValueValidator
        This method performs the validation in case 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.
        Specified by:
        validateNotNull in class AbstractValueValidator<V>
        Parameters:
        value - the value to validate.
        Returns:
        the failure message or null if the the given value is valid.
      • isFuture

        protected abstract boolean isFuture​(V value)
        Parameters:
        value - the date to check.
        Returns:
        true if in future, false otherwise.