Package main.boundary.account
Class AttributeGetter
java.lang.Object
main.boundary.account.AttributeGetter
This class is used to interact with the user and retrieve various attributes such as domain, password, UserID, and username.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UserType
Prompts the user to select their domain and returns their chosen UserType.static String
Prompts the user to enter their password securely without displaying it on the screen.static String
Prompts the user to enter their UserID.static String
Prompts the user to enter their username.
-
Constructor Details
-
AttributeGetter
public AttributeGetter()
-
-
Method Details
-
getDomain
Prompts the user to select their domain and returns their chosen UserType.- Returns:
- The UserType chosen by the user.
-
getPassword
Prompts the user to enter their password securely without displaying it on the screen.- Returns:
- The password entered by the user.
-
getUserID
Prompts the user to enter their UserID.- Returns:
- The UserID entered by the user.
-
getUserName
Prompts the user to enter their username.- Returns:
- The username entered by the user.
-