public enum BindingMode extends Enum<BindingMode>
CONTINUOUS
persists field values upon any change, while
PERSISTENT
only persists values when explicitly requested.Enum Constant and Description |
---|
CONTINUOUS |
PERSISTENT |
Modifier and Type | Method and Description |
---|---|
static BindingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BindingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BindingMode CONTINUOUS
public static final BindingMode PERSISTENT
public static BindingMode[] values()
for (BindingMode c : BindingMode.values()) System.out.println(c);
public static BindingMode 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. All rights reserved.