@Auditable
@Entity
public class UserRole
extends org.nrg.framework.orm.hibernate.AbstractHibernateEntity
Modifier and Type | Field and Description |
---|---|
static String |
ROLE_NON_EXPIRING |
Constructor and Description |
---|
UserRole() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getRole()
Gets the role
|
String |
getUsername()
Gets the username.
|
int |
hashCode() |
void |
setRole(String role)
Sets the role
|
void |
setUsername(String username)
Sets the username.
|
public static String ROLE_NON_EXPIRING
public String getRole()
public void setRole(String role)
role
- A value representing the role.public String getUsername()
public void setUsername(String username)
username
- A value representing the usernameCopyright © 2015 Neuroinformatics Research Group. All rights reserved.