Class ValidationMessageConstants


  • public final class ValidationMessageConstants
    extends Object

    This class defines constants for the keys of validation messages.

    In this class the keys for the validation messages generated by the default validators shipped with the framework are defined.

    Version:
    $Id: ValidationMessageConstants.java 205 2012-01-29 18:29:57Z oheger $
    Author:
    Oliver Heger
    • Field Detail

      • ERR_MESSAGE_CAPTION

        public static final String ERR_MESSAGE_CAPTION
        The default caption of a message box for displaying validation messages. If validation messages have to be displayed to the end user directly, this constant can be used for resolving the default caption of this message box.
        See Also:
        Constant Field Values
      • ERR_DATE_BEFORE

        public static final String ERR_DATE_BEFORE
        The entered date must be before a reference date.
        See Also:
        Constant Field Values
      • ERR_DATE_BEFORE_EQUAL

        public static final String ERR_DATE_BEFORE_EQUAL
        The entered date must be before or equal a reference date.
        See Also:
        Constant Field Values
      • ERR_DATE_AFTER

        public static final String ERR_DATE_AFTER
        The entered date must be after a reference date.
        See Also:
        Constant Field Values
      • ERR_DATE_AFTER_EQUAL

        public static final String ERR_DATE_AFTER_EQUAL
        The entered date must be after or equal a reference date.
        See Also:
        Constant Field Values
      • ERR_TIME_BEFORE

        public static final String ERR_TIME_BEFORE
        The entered time must be before a reference date.
        See Also:
        Constant Field Values
      • ERR_TIME_BEFORE_EQUAL

        public static final String ERR_TIME_BEFORE_EQUAL
        The entered time must be before or equal a reference date.
        See Also:
        Constant Field Values
      • ERR_TIME_AFTER

        public static final String ERR_TIME_AFTER
        The entered time must be after a reference date.
        See Also:
        Constant Field Values
      • ERR_TIME_AFTER_EQUAL

        public static final String ERR_TIME_AFTER_EQUAL
        The entered time must be after or equal a reference date.
        See Also:
        Constant Field Values
      • ERR_INVALID_NUMBER

        public static final String ERR_INVALID_NUMBER
        The entered string is not a valid number.
        See Also:
        Constant Field Values
      • ERR_NUMBER_OUT_OF_RANGE

        public static final String ERR_NUMBER_OUT_OF_RANGE
        The entered number is too small or too big for the supported value range.
        See Also:
        Constant Field Values
      • ERR_NUMBER_TOO_SMALL

        public static final String ERR_NUMBER_TOO_SMALL
        The entered number is too small.
        See Also:
        Constant Field Values
      • ERR_NUMBER_INTERVAL

        public static final String ERR_NUMBER_INTERVAL
        The entered number must be in a specified interval.
        See Also:
        Constant Field Values
      • ERR_FIELD_REQUIRED

        public static final String ERR_FIELD_REQUIRED
        This is a mandatory field. A value must be entered.
        See Also:
        Constant Field Values