org.kuali.student.common.ui.client.validator
Enum ValidationMessageKeys
java.lang.Object
java.lang.Enum<ValidationMessageKeys>
org.kuali.student.common.ui.client.validator.ValidationMessageKeys
- All Implemented Interfaces:
- Serializable, Comparable<ValidationMessageKeys>
public enum ValidationMessageKeys
- extends Enum<ValidationMessageKeys>
REQUIRED
public static final ValidationMessageKeys REQUIRED
MIN_OCCURS
public static final ValidationMessageKeys MIN_OCCURS
MAX_OCCURS
public static final ValidationMessageKeys MAX_OCCURS
REQUIRES_FIELD
public static final ValidationMessageKeys REQUIRES_FIELD
VALID_CHARS
public static final ValidationMessageKeys VALID_CHARS
OCCURS
public static final ValidationMessageKeys OCCURS
BOOLEAN
public static final ValidationMessageKeys BOOLEAN
DOUBLE
public static final ValidationMessageKeys DOUBLE
OUT_OF_RANGE
public static final ValidationMessageKeys OUT_OF_RANGE
MAX_VALUE
public static final ValidationMessageKeys MAX_VALUE
MIN_VALUE
public static final ValidationMessageKeys MIN_VALUE
FLOAT
public static final ValidationMessageKeys FLOAT
LONG
public static final ValidationMessageKeys LONG
INTEGER
public static final ValidationMessageKeys INTEGER
DATE
public static final ValidationMessageKeys DATE
LENGTH_OUT_OF_RANGE
public static final ValidationMessageKeys LENGTH_OUT_OF_RANGE
MAX_LENGTH
public static final ValidationMessageKeys MAX_LENGTH
MIN_LENGTH
public static final ValidationMessageKeys MIN_LENGTH
key
private final String key
property
private final String property
values
public static ValidationMessageKeys[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ValidationMessageKeys c : ValidationMessageKeys.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ValidationMessageKeys valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getKey
public String getKey()
getProperty
public String getProperty()
Copyright © 2010 The Kuali Foundation. All rights reserved.