Package org.springframework.util
Interface IdGenerator
- All Known Implementing Classes:
AlternativeJdkIdGenerator,JdkIdGenerator,SimpleIdGenerator
public interface IdGenerator
Contract for generating universally unique identifiers(UUIDs).- Since:
- 4.0
- Author:
- Rossen Stoyanchev
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UUIDgenerateId()Generate a new identifier.
Method Detail
generateId
UUID generateId()
Generate a new identifier.- Returns:
- the generated identifier