public class CollectionAccessAction.UserRoleBean
extends java.lang.Object
Constructor and Description |
---|
UserRoleBean(User user,
java.lang.String role)
Constructor for the UserRoleBean object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFullName()
Returns full name (lastname, firstname) of Beans's user attribute (or the
username if fullname can't be computed).
|
java.lang.String |
getRole()
Gets the role attribute of the UserRoleBean object
|
User |
getUser()
Gets the user attribute of the UserRoleBean object
|
public UserRoleBean(User user, java.lang.String role)
user
- the User objectrole
- a role valuepublic User getUser()
public java.lang.String getFullName()
public java.lang.String getRole()