org.kuali.student.common.ui.client.validator
Enum ValidationMessageKeys

java.lang.Object
  extended by java.lang.Enum<ValidationMessageKeys>
      extended by org.kuali.student.common.ui.client.validator.ValidationMessageKeys
All Implemented Interfaces:
Serializable, Comparable<ValidationMessageKeys>

public enum ValidationMessageKeys
extends Enum<ValidationMessageKeys>


Enum Constant Summary
BOOLEAN
           
DATE
           
DOUBLE
           
FLOAT
           
INTEGER
           
LENGTH_OUT_OF_RANGE
           
LONG
           
MAX_LENGTH
           
MAX_OCCURS
           
MAX_VALUE
           
MIN_LENGTH
           
MIN_OCCURS
           
MIN_VALUE
           
OCCURS
           
OUT_OF_RANGE
           
REQUIRED
           
REQUIRES_FIELD
           
VALID_CHARS
           
 
Field Summary
private  String key
           
private  String property
           
 
Method Summary
 String getKey()
           
 String getProperty()
           
static ValidationMessageKeys valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ValidationMessageKeys[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Field Detail

key

private final String key

property

private final String property
Method Detail

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.