Interface IdentifierService

  • All Known Implementing Classes:
    DefaultIdentifierService

    public interface IdentifierService
    The IdentifierService provides a mechanism for creating new identifiers.
    • Method Detail

      • getSupplier

        Supplier<String> getSupplier​(String prefix,
                                     int hierarchy,
                                     int length)
        Get a Supplier that generates Strings with the provided prefix.
        Parameters:
        prefix - the prefix
        hierarchy - the levels of hierarchy to add
        length - the length of each level of hierarchy
        Returns:
        a String Supplier
      • getSupplier

        Supplier<String> getSupplier​(String prefix)
        Get a Supplier that generates Strings with the provided prefix.
        Parameters:
        prefix - the prefix
        Returns:
        a String Supplier
      • getSupplier

        Supplier<String> getSupplier()
        Get a Supplier that generates Strings with the provided prefix.
        Returns:
        a String Supplier