Class CollectionAccessAction.UserRoleBean

java.lang.Object
org.dlese.dpc.schemedit.security.action.CollectionAccessAction.UserRoleBean
Enclosing class:
CollectionAccessAction

public class CollectionAccessAction.UserRoleBean extends Object
Bean storing User object with a role value.
Author:
Jonathan Ostwald
  • Constructor Details

    • UserRoleBean

      public UserRoleBean(User user, String role)
      Constructor for the UserRoleBean object
      Parameters:
      user - the User object
      role - a role value
  • Method Details

    • getUser

      public User getUser()
      Gets the user attribute of the UserRoleBean object
      Returns:
      The user value
    • getFullName

      public String getFullName()
      Returns full name (lastname, firstname) of Beans's user attribute (or the username if fullname can't be computed).
      Returns:
      The fullName value
    • getRole

      public String getRole()
      Gets the role attribute of the UserRoleBean object
      Returns:
      The role value