com.irisel.oms.olapi.beans
Enum ValidationVO.Error
java.lang.Object
java.lang.Enum<ValidationVO.Error>
com.irisel.oms.olapi.beans.ValidationVO.Error
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ValidationVO.Error>
- Enclosing class:
- ValidationVO
public static enum ValidationVO.Error
- extends java.lang.Enum<ValidationVO.Error>
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ERR_NULL_NOT_ALLOWED
public static final ValidationVO.Error ERR_NULL_NOT_ALLOWED
ERR_NOT_A_NUMBER
public static final ValidationVO.Error ERR_NOT_A_NUMBER
ERR_NOT_INTEGER
public static final ValidationVO.Error ERR_NOT_INTEGER
ERR_NOT_A_DATE
public static final ValidationVO.Error ERR_NOT_A_DATE
ERR_NOT_TEXT
public static final ValidationVO.Error ERR_NOT_TEXT
ERR_OUT_OF_RANGE
public static final ValidationVO.Error ERR_OUT_OF_RANGE
ERR_VALIDATION
public static final ValidationVO.Error ERR_VALIDATION
ERR_ALREADY_EXISTS
public static final ValidationVO.Error ERR_ALREADY_EXISTS
NOT_AN_ERROR
public static final ValidationVO.Error NOT_AN_ERROR
values
public static ValidationVO.Error[] 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 (ValidationVO.Error c : ValidationVO.Error.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ValidationVO.Error valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
valueOf
public static ValidationVO.Error valueOf(int i)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<ValidationVO.Error>