@Entity public class AuthorizedUserEntity extends org.eurekaclinical.standardapis.entity.AbstractUserEntity<AuthorizedRoleEntity>
| Constructor and Description |
|---|
AuthorizedUserEntity()
Create an empty User object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRole(AuthorizedRoleEntity inRole) |
boolean |
equals(Object obj) |
Long |
getId()
Get the user's unique identifier.
|
List<AuthorizedRoleEntity> |
getRoles()
Get all the roles assigned to the user.
|
String |
getUsername()
Get the user's email address.
|
int |
hashCode() |
void |
removeRole(AuthorizedRoleEntity inRole) |
void |
setId(Long inId)
Set the user's unique identifier.
|
void |
setRoles(List<AuthorizedRoleEntity> inRoles)
Set the roles assigned to the current user.
|
void |
setUsername(String inUsername)
Set the user's email address.
|
String |
toString() |
public Long getId()
Long representing the user's unique identifier.public void setId(Long inId)
inId - A Long representing the user's unique identifier.public String getUsername()
public void setUsername(String inUsername)
inUsername - A String containing the user's email address.public List<AuthorizedRoleEntity> getRoles()
public void setRoles(List<AuthorizedRoleEntity> inRoles)
inRoles - A list of roles to be assigned to the user.public void addRole(AuthorizedRoleEntity inRole)
public void removeRole(AuthorizedRoleEntity inRole)
Copyright © 2016–2018 Emory University. All rights reserved.