Class Tan


  • public class Tan
    extends Object
    A representation of a tan.
    • Method Detail

      • of

        public static Tan of​(String tanString)
        Creates a new Tan(java.util.UUID) instance for the given tan string.
        Parameters:
        tanString - A valid UUID string representation.
        Returns:
        The Tan instance
        Throws:
        IllegalArgumentException - when the given tan string is not a valid UUID.
      • getTan

        public UUID getTan()
        Returns the tan entity as UUID.
        Returns:
        the tan.
      • toString

        public String toString()
        Returns the TAN in it's string representation.
        Overrides:
        toString in class Object
        Returns:
        the tan UUID as a string.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object