public class UUIDGenerator extends java.lang.Object implements IObjectIdGenerator
IObjectIdGenerator
that generates UUIDs.Constructor and Description |
---|
UUIDGenerator()
Returns a newly created instance.
|
Modifier and Type | Method and Description |
---|---|
static UUIDGenerator |
create()
Returns a newly created instance.
|
static UUIDGenerator |
get()
Returns a pre-defined default instance.
|
java.lang.String |
newIdentifier()
Returns a new identifier which usually must be different to the
previously returned.
|
java.lang.String |
toString() |
public static UUIDGenerator create()
public static UUIDGenerator get()
public java.lang.String newIdentifier()
IObjectIdGenerator
newIdentifier
in interface IObjectIdGenerator
public java.lang.String toString()
toString
in class java.lang.Object