Interface UuidGenerator


public interface UuidGenerator
This code is experimental. While this interface is functional and tested, it may change or be removed in a future version of the library. The UuidGenerator generates UUIDs
  • Method Details

    • generateUuid

      String generateUuid()
      Returns a generated uuid for a Metacard
      Returns:
    • generateKnownId

      String generateKnownId(String metacardTag, String userId, String... additionalInput)
      Parameters:
      metacardTag - tag of metacard to generate ID for
      userId - user the metacard is being created for
      additionalInput - any additional properties
      Returns:
      UUID
    • validateUuid

      boolean validateUuid(String uuid)
      Returns true if the UUID format is correct
      Parameters:
      uuid - - the given UUID
      Returns:
    • useHyphens

      boolean useHyphens()
      Returns true if the generated UUIDs contain hyphens or not