public enum ValidationOptions extends Enum<ValidationOptions>
| Enum Constant and Description |
|---|
AS_SOURCE
Validate as source, that means it is readable.
|
AS_SOURCE_AND_TARGET
Validate as source and target, that means it is readable and writable.
|
AS_TARGET
Validate as target, that means it is writable.
|
| Modifier and Type | Method and Description |
|---|---|
static ValidationOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationOptions AS_SOURCE
public static final ValidationOptions AS_TARGET
public static final ValidationOptions AS_SOURCE_AND_TARGET
public static ValidationOptions[] values()
for (ValidationOptions c : ValidationOptions.values()) System.out.println(c);
public static ValidationOptions 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 © 2010–2017. All rights reserved.