public enum OptimisticLock extends java.lang.Enum<OptimisticLock>
Enum Constant and Description |
---|
KEY_AND_MODIFIED_COLUMNS |
KEY_AND_UPDATEBLE_COLUMNS |
KEY_COLUMNS |
Modifier and Type | Method and Description |
---|---|
static OptimisticLock |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OptimisticLock[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptimisticLock KEY_COLUMNS
public static final OptimisticLock KEY_AND_MODIFIED_COLUMNS
public static final OptimisticLock KEY_AND_UPDATEBLE_COLUMNS
public static OptimisticLock[] values()
for (OptimisticLock c : OptimisticLock.values()) System.out.println(c);
public static OptimisticLock 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