public enum ValidationKind extends Enum<ValidationKind>
Enum Constant and Description |
---|
CREATE
Validates "create new".
|
DELETE
Validates "delete existing".
|
OTHER
Any other kind of validation.
|
UPDATE
Validates "update".
|
Modifier and Type | Method and Description |
---|---|
static ValidationKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationKind CREATE
public static final ValidationKind UPDATE
public static final ValidationKind DELETE
public static final ValidationKind OTHER
public static ValidationKind[] values()
for (ValidationKind c : ValidationKind.values()) System.out.println(c);
public static ValidationKind 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 © 2013-2016 Loetz GmbH&Co.KG - Heidelberg - Germany, Eclipse OSBP Project, OS.bee