Package main.model.user
Interface User
- All Known Implementing Classes:
- Coordinator,- Student,- Supervisor
A class that represents a user
- 
Method SummaryModifier and TypeMethodDescriptiondefault booleancheckUsername(String username) The function to check if username is equal to the user's username regardless of casegetEmail()Gets the email of the userGets the hashed password of the usergetID()Gets the user ID of the user.Gets the username of the uservoidsetHashedPassword(String hashedPassword) Sets the hashed password of the user
- 
Method Details- 
getIDString getID()Gets the user ID of the user.
- 
getUserNameString getUserName()Gets the username of the user- Returns:
- the name of the user
 
- 
getHashedPasswordString getHashedPassword()Gets the hashed password of the user- Returns:
- the hashed password of the user
 
- 
setHashedPasswordSets the hashed password of the user- Parameters:
- hashedPassword- the hashed password of the user
 
- 
getEmailString getEmail()Gets the email of the user- Returns:
- the email of the user
 
- 
checkUsernameThe function to check if username is equal to the user's username regardless of case- Parameters:
- username- the username to be checked
- Returns:
- true if the username is equal to the user's username regardless of case
 
 
-