| Modifier and Type | Field and Description |
|---|---|
| public static final OptimisticLockStyle | ALL
all columns are compared |
| public static final OptimisticLockStyle | DIRTY
dirty columns are compared |
| public static final OptimisticLockStyle | NONE
no optimistic locking |
| private final int | |
| public static final OptimisticLockStyle | VERSION
use a dedicated version column |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public static OptimisticLockStyle | Returns: The interpreted enum valueThe old int constant code oldCode)Given an old code (one of the int constants from Cascade), interpret it as one of the new enums. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public static OptimisticLockStyle | |
| public static OptimisticLockStyle[] |
| ALL | back to summary |
|---|---|
| public static final OptimisticLockStyle ALL all columns are compared | |
| DIRTY | back to summary |
|---|---|
| public static final OptimisticLockStyle DIRTY dirty columns are compared | |
| NONE | back to summary |
|---|---|
| public static final OptimisticLockStyle NONE no optimistic locking | |
| oldCode | back to summary |
|---|---|
| private final int oldCode | |
| VERSION | back to summary |
|---|---|
| public static final OptimisticLockStyle VERSION use a dedicated version column | |
| OptimisticLockStyle | back to summary |
|---|---|
| private OptimisticLockStyle(int oldCode) | |
| getOldCode | back to summary |
|---|---|
| public int getOldCode() | |
| interpretOldCode | back to summary |
|---|---|
| public static OptimisticLockStyle interpretOldCode(int oldCode) Given an old code (one of the int constants from Cascade), interpret it as one of the new enums.
| |
| isAll | back to summary |
|---|---|
| public boolean isAll() | |
| isAllOrDirty | back to summary |
|---|---|
| public boolean isAllOrDirty() | |
| isDirty | back to summary |
|---|---|
| public boolean isDirty() | |
| isNone | back to summary |
|---|---|
| public boolean isNone() | |
| isVersion | back to summary |
|---|---|
| public boolean isVersion() | |
| valueOf | back to summary |
|---|---|
| public static OptimisticLockStyle valueOf(String name) | |
| values | back to summary |
|---|---|
| public static OptimisticLockStyle[] values() | |