public enum ValueMapping extends Enum<ValueMapping>
| Enum Constant and Description |
|---|
CANONICAL
Any value is canonically mapped.
|
NEVER_EMPTY
An empty value is considered as a null value.
Other values are mapped canonically.
|
NEVER_NULL
A null value is considered as an empty value.
Other values are mapped canonically.
|
| Modifier and Type | Method and Description |
|---|---|
static ValueMapping |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueMapping[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueMapping CANONICAL
public static final ValueMapping NEVER_EMPTY
public static final ValueMapping NEVER_NULL
public static ValueMapping[] values()
for (ValueMapping c : ValueMapping.values()) System.out.println(c);
public static ValueMapping 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 © 2017 JBoss by Red Hat. All Rights Reserved.