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 fieldid.- Returns:
- the database identifier of this user role assignment
-
setId
Setter for the fieldid.- Parameters:
id- the database identifier to set
-
getUserGroup
Getter for the fielduserGroup.- Returns:
- the user group this role assignment belongs to
-
setUserGroup
Setter for the fielduserGroup.- Parameters:
userGroup- the user group this role assignment belongs to
-
getUser
Getter for the fielduser.- Returns:
- the user this role assignment belongs to
-
setUser
Setter for the fielduser.- Parameters:
user- the user this role assignment belongs to
-
getRole
Getter for the fieldrole.- Returns:
- the role assigned to the user within the group
-
setRole
Setter for the fieldrole.- Parameters:
role- the role assigned to the user within the group
-
toString
-