public static enum ValidationErrorMessage.Code extends Enum<ValidationErrorMessage.Code>
| Enum Constant and Description |
|---|
ELEMENT_TOO_LONG |
ELEMENT_TOO_SHORT |
INVALID_JSON_FIELD |
INVALID_VALUE |
MANDATORY |
NO_VIABLE_ALTERNATIVE |
WRONG_JSON_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static ValidationErrorMessage.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationErrorMessage.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationErrorMessage.Code WRONG_JSON_TYPE
public static final ValidationErrorMessage.Code MANDATORY
public static final ValidationErrorMessage.Code ELEMENT_TOO_SHORT
public static final ValidationErrorMessage.Code ELEMENT_TOO_LONG
public static final ValidationErrorMessage.Code INVALID_JSON_FIELD
public static final ValidationErrorMessage.Code NO_VIABLE_ALTERNATIVE
public static final ValidationErrorMessage.Code INVALID_VALUE
public static ValidationErrorMessage.Code[] values()
for (ValidationErrorMessage.Code c : ValidationErrorMessage.Code.values()) System.out.println(c);
public static ValidationErrorMessage.Code valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 Vitam. All rights reserved.