Package com.brodygaudel.bank.common.util
Interface IdGenerator
- All Known Implementing Classes:
IdGeneratorImpl
public interface IdGenerator
An interface for generating unique IDs based on the current date, time, and a counter.
-
Method Summary
Modifier and TypeMethodDescriptionGenerates a unique ID based on the current date, time, and a counter.
-
Method Details
-
autoGenerate
String autoGenerate()Generates a unique ID based on the current date, time, and a counter.- Returns:
- A unique ID.
-