public enum ValidationErrorDescription extends Enum<ValidationErrorDescription>
| Enum Constant and Description |
|---|
NEGATIVE_NUMBER |
NOT_PROVIDED |
NOT_SUPPORTED_VALUE |
WRONG_FORMAT |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescriptionFormat() |
static ValidationErrorDescription |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationErrorDescription[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationErrorDescription NOT_PROVIDED
public static final ValidationErrorDescription WRONG_FORMAT
public static final ValidationErrorDescription NEGATIVE_NUMBER
public static final ValidationErrorDescription NOT_SUPPORTED_VALUE
public static ValidationErrorDescription[] values()
for (ValidationErrorDescription c : ValidationErrorDescription.values()) System.out.println(c);
public static ValidationErrorDescription 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 nullpublic String getDescriptionFormat()
Copyright © 2016. All rights reserved.