public enum ValidationErrorReason extends Enum<ValidationErrorReason>
Enum Constant and Description |
---|
DUPLICATED_NAME |
EMPTY_NAME |
INVALID_NAME |
NOT_ALLOWED |
Modifier and Type | Method and Description |
---|---|
static ValidationErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationErrorReason EMPTY_NAME
public static final ValidationErrorReason INVALID_NAME
public static final ValidationErrorReason DUPLICATED_NAME
public static final ValidationErrorReason NOT_ALLOWED
public static ValidationErrorReason[] values()
for (ValidationErrorReason c : ValidationErrorReason.values()) System.out.println(c);
public static ValidationErrorReason 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 © 2012–2019 JBoss by Red Hat. All rights reserved.