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