public class JdkIdGenerator extends java.lang.Object implements IdGenerator
IdGenerator
that calls UUID.randomUUID()
.Constructor and Description |
---|
JdkIdGenerator() |
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
generateId()
Generate a new identifier.
|
public java.util.UUID generateId()
IdGenerator
generateId
in interface IdGenerator