|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FormResult.FormFieldStatus>
org.torweg.pulse.result.FormResult.FormFieldStatus
public static enum FormResult.FormFieldStatus
The different form field status types.
| Enum Constant Summary | |
|---|---|
CONFIRMATION_FAILURE
The given value confirmation does not match the given value. |
|
INVALID_CHAR
The given value contains invalid chars. |
|
OK
Either the given value is OK, or no value has been given and none is required. |
|
REGEX_FAILURE
The given value did not pass the regex check. |
|
REQUIRED
No value has been given, but a value is required. |
|
TOO_LONG
The given value is too long. |
|
TOO_SHORT
The given value is too short. |
|
| Method Summary | |
|---|---|
static FormResult.FormFieldStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FormResult.FormFieldStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final FormResult.FormFieldStatus OK
public static final FormResult.FormFieldStatus REQUIRED
public static final FormResult.FormFieldStatus TOO_SHORT
public static final FormResult.FormFieldStatus TOO_LONG
public static final FormResult.FormFieldStatus INVALID_CHAR
public static final FormResult.FormFieldStatus REGEX_FAILURE
public static final FormResult.FormFieldStatus CONFIRMATION_FAILURE
| Method Detail |
|---|
public static final FormResult.FormFieldStatus[] values()
for(FormResult.FormFieldStatus c : FormResult.FormFieldStatus.values())
System.out.println(c);
public static FormResult.FormFieldStatus 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||