Package de.xima.fc.data
Class EntityIdWithLockingVersion
- java.lang.Object
-
- de.xima.fc.data.EntityIdWithLockingVersion
-
public final class EntityIdWithLockingVersion extends Object
A POJO for the ID and locking version of an entity.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description EntityIdWithLockingVersion(long id, int lockingVersion)
Creates a new POJO for the ID and locking version of an entity.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
id()
TheIEntity.getId()
ID} of the entity.int
lockingVersion()
Thelocking version
of the entity.
-