@Entity public class UserEntity extends Object implements org.eurekaclinical.standardapis.entity.UserEntity<RoleEntity>
| Constructor and Description |
|---|
UserEntity()
Create an empty User object.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getId()
Get the user's unique identifier.
|
List<RoleEntity> |
getRoles()
Get all the roles assigned to the user.
|
String |
getUsername()
Get the user's email address.
|
void |
setId(Long inId)
Set the user's unique identifier.
|
void |
setRoles(List<RoleEntity> inRoles)
Set the roles assigned to the current user.
|
void |
setUsername(String inUsername)
Set the user's email address.
|
String |
toString() |
public Long getId()
getId in interface org.eurekaclinical.standardapis.entity.UserEntity<RoleEntity>Long representing the user's unique identifier.public void setId(Long inId)
setId in interface org.eurekaclinical.standardapis.entity.UserEntity<RoleEntity>inId - A Long representing the user's unique identifier.public String getUsername()
getUsername in interface org.eurekaclinical.standardapis.entity.UserEntity<RoleEntity>public void setUsername(String inUsername)
setUsername in interface org.eurekaclinical.standardapis.entity.UserEntity<RoleEntity>inUsername - A String containing the user's email address.public List<RoleEntity> getRoles()
getRoles in interface org.eurekaclinical.standardapis.entity.UserEntity<RoleEntity>public void setRoles(List<RoleEntity> inRoles)
setRoles in interface org.eurekaclinical.standardapis.entity.UserEntity<RoleEntity>inRoles - A list of roles to be assigned to the user.Copyright © 2016 Emory University. All rights reserved.