Interface TokenIdGenerator


public interface TokenIdGenerator
In interface for objects that can generate an identifier for a token if the existing one is null.
  • Method Summary

    Modifier and Type
    Method
    Description
    generateTokenId(String existingId)
    The method should generate a new token ID if the existing one is null.
  • Method Details

    • generateTokenId

      String generateTokenId(String existingId)
      The method should generate a new token ID if the existing one is null.
      Parameters:
      existingId - The existing ID value.
      Returns:
      The non-null ID value.