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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()Getter for the fieldid.getRole()Getter for the fieldrole.getUser()Getter for the fielduser.Getter for the fielduserGroup.inthashCode()voidSetter for the fieldid.voidSetter for the fieldrole.voidSetter for the fielduser.voidsetUserGroup(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
 
 -