Package Models
Class User
java.lang.Object
Models.User
A class representing the User object
-
Constructor Summary
ConstructorsConstructorDescriptionUser(int userId, String username, String password, LocalDateTime createDate, String createdBy, LocalDateTime lastUpdate, String lastUpdateBy) Constructor method for the User object -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetCreateDate(LocalDateTime createDate) voidsetCreatedBy(String createdBy) voidsetLastUpdate(LocalDateTime lastUpdate) voidsetLastUpdateBy(String lastUpdateBy) voidsetPassword(String password) voidsetUserId(int userId) voidsetUsername(String username) toString()
-
Constructor Details
-
User
public User(int userId, String username, String password, LocalDateTime createDate, String createdBy, LocalDateTime lastUpdate, String lastUpdateBy) Constructor method for the User object- Parameters:
userId- the integer value of the userId to be set on the User objectusername- the username string value to be set on the User objectpassword- the password string value to be set on the User objectcreateDate- the createDate LocalDateTime value to be set on the User objectcreatedBy- the createdBy string value to be set on the User objectlastUpdate- the lastUpdate LocalDateTime value to be set on the User objectlastUpdateBy- the lastUpdateBy string value to be set on the User object
-
-
Method Details
-
getUserId
public int getUserId()- Returns:
- userId integer value on the User object
-
getUsername
- Returns:
- the username stringValue on the User object
-
getPassword
- Returns:
- the password string value on the User object
-
getCreateDate
- Returns:
- the createDate LocalDateTime value on the User object
-
getCreatedBy
- Returns:
- the createdBy string value on the User object
-
getLastUpdate
- Returns:
- the lastUpdate LocalDateTime value on the User object
-
getLastUpdateBy
- Returns:
- the lastUpdateBy string value on the User object
-
setUserId
public void setUserId(int userId) - Parameters:
userId- : the integer value of the userId to be set on the User object
-
setUsername
- Parameters:
username- the username string value to be set on the User object
-
setPassword
- Parameters:
password- the password string value to be set on the User object
-
setCreateDate
- Parameters:
createDate- the createDate LocalDateTime value to be set on the User object
-
setCreatedBy
- Parameters:
createdBy- the createdBy string value to be set on the User object
-
setLastUpdate
- Parameters:
lastUpdate- the lastUpdate LocalDateTime value to be set on the User object
-
setLastUpdateBy
- Parameters:
lastUpdateBy- the lastUpdateBy string value to be set on the User object
-
toString
-