
public enum LockModeType extends Enum<LockModeType>
lock-mode-type xsd type| Enum Constant and Description |
|---|
_NONE |
_OPTIMISTIC |
_OPTIMISTIC_FORCE_INCREMENT |
_PESSIMISTIC_FORCE_INCREMENT |
_PESSIMISTIC_READ |
_PESSIMISTIC_WRITE |
_READ |
_WRITE |
| Modifier and Type | Method and Description |
|---|---|
static LockModeType |
getFromStringValue(String value) |
String |
toString() |
static LockModeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockModeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LockModeType _READ
public static final LockModeType _WRITE
public static final LockModeType _OPTIMISTIC
public static final LockModeType _OPTIMISTIC_FORCE_INCREMENT
public static final LockModeType _PESSIMISTIC_READ
public static final LockModeType _PESSIMISTIC_WRITE
public static final LockModeType _PESSIMISTIC_FORCE_INCREMENT
public static final LockModeType _NONE
public static LockModeType[] values()
for (LockModeType c : LockModeType.values()) System.out.println(c);
public static LockModeType 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 nullpublic String toString()
toString in class Enum<LockModeType>public static LockModeType getFromStringValue(String value)
Copyright © 2021 JBoss by Red Hat. All rights reserved.