Repository navigation
User
Superclass for sorting user details and other information.
Author: Cyrus Yang (light touchups by Kyle Williamson)
userID: An integer representing the user's ID.
passwordKey: A string representing the user's password.
firstName: A string representing the user's first name.
lastName: A string representing the user's last name.
email: A string representing the user's email address.
public User(): Default constructor for general technical operations, initializing attributes with default values.
public User(int userID, String pass, String fName, String lName, String email): Constructor for creating new user accounts with specified values.
public User(User user): Constructor for creating a new user object based on an existing User object.
getUserID(): gets Username
getPasswordKey(): gets Password
getFirstName(): gets FirstName
getLastName(): gets LastName
getEmail()): gets Email
changePassword(String pass): Method to change the user's password.
changeEmail(String email): Method to change the user's email address.
changeFirstName(String firstName): Method to change the user's first name.
changeLastName(String lastName): Method to change the user's last name.
This class is designed to be a foundation for other classes that might extend or utilize user-related functionalities. It provides basic methods for creating, retrieving, and modifying user information. It is the MasterClass for Advisor and Client