@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, id
IMPORT_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, setId
compareTo, equals, getDBTableName, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo
public 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 © 2019 XIMA MEDIA GmbH. All rights reserved.