Package net.sf.jguiraffe.transform
Class ValidationMessageConstants
- java.lang.Object
-
- net.sf.jguiraffe.transform.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 Summary
Fields Modifier and Type Field Description static String
ERR_DATE_AFTER
The entered date must be after a reference date.static String
ERR_DATE_AFTER_EQUAL
The entered date must be after or equal a reference date.static String
ERR_DATE_BEFORE
The entered date must be before a reference date.static String
ERR_DATE_BEFORE_EQUAL
The entered date must be before or equal a reference date.static String
ERR_FIELD_REQUIRED
This is a mandatory field.static String
ERR_INVALID_DATE
The entered string is no valid date.static String
ERR_INVALID_NUMBER
The entered string is not a valid number.static String
ERR_INVALID_TIME
The entered string is no valid time.static String
ERR_MESSAGE_CAPTION
The default caption of a message box for displaying validation messages.static String
ERR_NUMBER_INTERVAL
The entered number must be in a specified interval.static String
ERR_NUMBER_OUT_OF_RANGE
The entered number is too small or too big for the supported value range.static String
ERR_NUMBER_TOO_BIG
The entered number is too big.static String
ERR_NUMBER_TOO_SMALL
The entered number is too small.static String
ERR_PATTERN
The input does not match the specified pattern.static String
ERR_TIME_AFTER
The entered time must be after a reference date.static String
ERR_TIME_AFTER_EQUAL
The entered time must be after or equal a reference date.static String
ERR_TIME_BEFORE
The entered time must be before a reference date.static String
ERR_TIME_BEFORE_EQUAL
The entered time must be before or equal a reference date.
-
-
-
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_INVALID_DATE
public static final String ERR_INVALID_DATE
The entered string is no valid date.- 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_INVALID_TIME
public static final String ERR_INVALID_TIME
The entered string is no valid time.- 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_TOO_BIG
public static final String ERR_NUMBER_TOO_BIG
The entered number is too big.- 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
-
ERR_PATTERN
public static final String ERR_PATTERN
The input does not match the specified pattern.- See Also:
- Constant Field Values
-
-