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 Details

    • EntityIdWithLockingVersion

      public EntityIdWithLockingVersion(long id, int lockingVersion)
      Creates a new POJO for the ID and locking version of an entity.
      Parameters:
      id - The ID of the entity.
      lockingVersion - The locking version of the entity.
  • Method Details

    • id

      public long id()
      The IEntity.getId() ID} of the entity.
      Returns:
      The ID of the entity.
    • lockingVersion

      public int lockingVersion()
      The locking version of the entity.
      Returns:
      The locking version of the entity.