Class UuidIdentifierGenerator
- java.lang.Object
-
- org.craftercms.core.util.generators.impl.UuidIdentifierGenerator
-
- All Implemented Interfaces:
IdentifierGenerator
public class UuidIdentifierGenerator extends Object implements IdentifierGenerator
Generator for UUID identifiers.- Author:
- Alfonso Vásquez
-
-
Constructor Summary
Constructors Constructor Description UuidIdentifierGenerator()
-
-
-
Method Detail
-
generate
public String generate()
Generates a UUID identifier. UUIDs are unique between any calls to any instances.- Specified by:
generate
in interfaceIdentifierGenerator
- Returns:
- the UUID, as string
-
-