public static enum BeanValueType.Convertability extends java.lang.Enum<BeanValueType.Convertability>
Enum Constant and Description |
---|
EXACT
The value is of this type, so conversion is exact.
|
PREFERRED
The value can be converted to the type, and this type is preferrable to others.
|
SUPPORTED
The value can be converted to the type, but other types might handle it better..
|
UNSUPPORTED
The value cannot be converted to the type.
|
Modifier and Type | Method and Description |
---|---|
static BeanValueType.Convertability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BeanValueType.Convertability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeanValueType.Convertability UNSUPPORTED
public static final BeanValueType.Convertability SUPPORTED
public static final BeanValueType.Convertability PREFERRED
public static final BeanValueType.Convertability EXACT
public static BeanValueType.Convertability[] values()
for (BeanValueType.Convertability c : BeanValueType.Convertability.values()) System.out.println(c);
public static BeanValueType.Convertability valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null