public class UuidGeneratorImpl extends Object implements UuidGenerator
Constructor and Description |
---|
UuidGeneratorImpl() |
Modifier and Type | Method and Description |
---|---|
String |
generateUuid()
Returns a generated uuid for a Metacard
|
void |
setRemoveHyphens(Boolean removeHyphens) |
boolean |
validateUuid(String uuid)
Returns true if the UUID format is correct
|
public void setRemoveHyphens(Boolean removeHyphens)
public String generateUuid()
UuidGenerator
generateUuid
in interface UuidGenerator
public boolean validateUuid(String uuid)
UuidGenerator
validateUuid
in interface UuidGenerator
uuid
- - the given UUIDThis work is licensed under a Creative Commons Attribution 4.0 International License.