Package Models
Class User
java.lang.Object
Models.User
A class representing the User object
-
Constructor Summary
ConstructorDescriptionUser
(int userId, String username, String password, LocalDateTime createDate, String createdBy, LocalDateTime lastUpdate, String lastUpdateBy) Constructor method for the User object -
Method Summary
Modifier and TypeMethodDescriptionint
void
setCreateDate
(LocalDateTime createDate) void
setCreatedBy
(String createdBy) void
setLastUpdate
(LocalDateTime lastUpdate) void
setLastUpdateBy
(String lastUpdateBy) void
setPassword
(String password) void
setUserId
(int userId) void
setUsername
(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
-