Class AccountCredentials
java.lang.Object
no.idata1002.group19.domain.entity.AccountCredentials
Represents the account credentials entity that contains
the user's login information such as username and password.
- Since:
- 16.04.2023
- Version:
- 23.04.2023
- Author:
- Group19
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the password of the user.Gets the username of the user.void
setPassword
(String password) Sets the password of the user.void
setUsername
(String username) Sets the username of the user.
-
Constructor Details
-
AccountCredentials
public AccountCredentials()
-
-
Method Details
-
getUsername
Gets the username of the user.- Returns:
- the username of the user.
-
setUsername
Sets the username of the user.- Parameters:
username
- the username of the user.
-
getPassword
Gets the password of the user.- Returns:
- the password of the user.
-
setPassword
Sets the password of the user.- Parameters:
password
- the password of the user.
-