Class UserRole
java.lang.Object
io.goobi.viewer.model.security.user.UserRole
- All Implemented Interfaces:
Serializable
Objects that map roles to users within a user group.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
Getter for the fieldid
.getRole()
Getter for the fieldrole
.getUser()
Getter for the fielduser
.Getter for the fielduserGroup
.int
hashCode()
void
Setter for the fieldid
.void
Setter for the fieldrole
.void
Setter for the fielduser
.void
setUserGroup
(UserGroup userGroup) Setter for the fielduserGroup
.toString()
-
Constructor Details
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getId
Getter for the field
id
.- Returns:
- the id
-
setId
Setter for the field
id
.- Parameters:
id
- the id to set
-
getUserGroup
Getter for the field
userGroup
.- Returns:
- the userGroup
-
setUserGroup
Setter for the field
userGroup
.- Parameters:
userGroup
- the userGroup to set
-
getUser
Getter for the field
user
.- Returns:
- the user
-
setUser
Setter for the field
user
.- Parameters:
user
- the user to set
-
getRole
Getter for the field
role
.- Returns:
- the role
-
setRole
Setter for the field
role
.- Parameters:
role
- the role to set
-
toString
-