LegacyIds

public class LegacyIds extends EntityIdRegistryStrategy

Implementation of EntityIdRegistryStrategy which re-implements the legacy integer-based entity ids.

This implementation will generate sequences of entity ids and matches all strings which can be cast to integer as well-formed entity ids.

Author:

Timm Fitschen

Constructors

LegacyIds

public LegacyIds(Transaction<?> t)

Methods

generate

public String generate()

matchIdPattern

public boolean matchIdPattern(String id)