@MappedSuperclass public abstract class AbstractLockableEntity extends AbstractEntity implements ITransferableLockableEntity
| Modifier and Type | Field and Description |
|---|---|
static String |
COL_LOCKINGVERSION |
protected int |
lockingVersion
Versionskennung für 'Optimistic Locking'.
|
COL_ID, idIMPORT_ID, INVALID_ID| Constructor and Description |
|---|
AbstractLockableEntity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
entityHasChanged(de.xima.cmn.dao.interfaces.ILockableEntity<Long> ale) |
int |
getLockingVersion()
Ermitteln der aktuellen LockingVersion.
|
void |
setLockingVersion(int lockingVersion)
Setzen der LockingVersion.
|
String |
toString() |
asIntValue, isPersisted, setId, setIdcompareTo, equals, getDBTableName, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTopublic static final String COL_LOCKINGVERSION
protected int lockingVersion
public int getLockingVersion()
getLockingVersion in interface de.xima.cmn.dao.interfaces.ILockableEntity<Long>public void setLockingVersion(int lockingVersion)
setLockingVersion in interface de.xima.cmn.dao.interfaces.ILockableEntity<Long>lockingVersion - - nummerischer Wert auf den die LockinVersion gesetzt werden soll.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.