Class AttributeGetter

java.lang.Object
main.boundary.account.AttributeGetter

public class AttributeGetter extends Object
This class is used to interact with the user and retrieve various attributes such as domain, password, UserID, and username.
  • Constructor Details

    • AttributeGetter

      public AttributeGetter()
  • Method Details

    • getDomain

      public static UserType getDomain()
      Prompts the user to select their domain and returns their chosen UserType.
      Returns:
      The UserType chosen by the user.
    • getPassword

      public static String getPassword()
      Prompts the user to enter their password securely without displaying it on the screen.
      Returns:
      The password entered by the user.
    • getUserID

      public static String getUserID()
      Prompts the user to enter their UserID.
      Returns:
      The UserID entered by the user.
    • getUserName

      public static String getUserName()
      Prompts the user to enter their username.
      Returns:
      The username entered by the user.