public static enum JpaEndpointBuilderFactory.LockModeType extends Enum<JpaEndpointBuilderFactory.LockModeType>
javax.persistence.LockModeType enum.| 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 JpaEndpointBuilderFactory.LockModeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JpaEndpointBuilderFactory.LockModeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JpaEndpointBuilderFactory.LockModeType READ
public static final JpaEndpointBuilderFactory.LockModeType WRITE
public static final JpaEndpointBuilderFactory.LockModeType OPTIMISTIC
public static final JpaEndpointBuilderFactory.LockModeType OPTIMISTIC_FORCE_INCREMENT
public static final JpaEndpointBuilderFactory.LockModeType PESSIMISTIC_READ
public static final JpaEndpointBuilderFactory.LockModeType PESSIMISTIC_WRITE
public static final JpaEndpointBuilderFactory.LockModeType PESSIMISTIC_FORCE_INCREMENT
public static final JpaEndpointBuilderFactory.LockModeType NONE
public static JpaEndpointBuilderFactory.LockModeType[] values()
for (JpaEndpointBuilderFactory.LockModeType c : JpaEndpointBuilderFactory.LockModeType.values()) System.out.println(c);
public static JpaEndpointBuilderFactory.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 nullApache Camel