|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<BeanValidatorScope>
jaxx.runtime.validator.BeanValidatorScope
public enum BeanValidatorScope
The differents levels of messages in validation process.
The order of the enum defines the severity of validation. Always begin with error, then if no error found, try warning, then info...
| Enum Constant Summary | |
|---|---|
ERROR
the error scope level. |
|
INFO
the information scope level. |
|
WARNING
the warning scope level. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLabel()
|
static BeanValidatorScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BeanValidatorScope[] |
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 |
|---|
public static final BeanValidatorScope ERROR
public static final BeanValidatorScope WARNING
public static final BeanValidatorScope INFO
| Method Detail |
|---|
public static BeanValidatorScope[] values()
for (BeanValidatorScope c : BeanValidatorScope.values()) System.out.println(c);
public static BeanValidatorScope valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getLabel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||