public static enum OptimisticLockingPolicy.LockOnChange extends Enum<OptimisticLockingPolicy.LockOnChange>
Purpose: Provides the configuration options to force an Optimistic Write Lock When a set of mappings have changes. This enum defines what mappings are within that set.
Modifier and Type | Method and Description |
---|---|
static OptimisticLockingPolicy.LockOnChange |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptimisticLockingPolicy.LockOnChange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptimisticLockingPolicy.LockOnChange OWNING
public static final OptimisticLockingPolicy.LockOnChange NONE
public static final OptimisticLockingPolicy.LockOnChange ALL
public static OptimisticLockingPolicy.LockOnChange[] values()
for (OptimisticLockingPolicy.LockOnChange c : OptimisticLockingPolicy.LockOnChange.values()) System.out.println(c);
public static OptimisticLockingPolicy.LockOnChange 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 nullEclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference