@Entity public class AuthorizedUserEntity extends Object implements org.eurekaclinical.standardapis.entity.UserEntity<AuthorizedRoleEntity>
| Constructor and Description |
|---|
AuthorizedUserEntity()
Create an empty User object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRole(AuthorizedRoleEntity role) |
Long |
getId()
Get the user's unique identifier.
|
List<AuthorizedRoleEntity> |
getRoles() |
String |
getUsername()
Get the user's email address.
|
void |
removeRole(AuthorizedRoleEntity role) |
void |
setId(Long inId)
Set the user's unique identifier.
|
void |
setRoles(List<AuthorizedRoleEntity> inRoles) |
void |
setUsername(String inUsername)
Set the user's email address.
|
String |
toString() |
public Long getId()
getId in interface org.eurekaclinical.standardapis.entity.Entity<Long>getId in interface org.eurekaclinical.standardapis.entity.UserEntity<AuthorizedRoleEntity>Long representing the user's unique identifier.public void setId(Long inId)
setId in interface org.eurekaclinical.standardapis.entity.Entity<Long>setId in interface org.eurekaclinical.standardapis.entity.UserEntity<AuthorizedRoleEntity>inId - A Long representing the user's unique identifier.public String getUsername()
getUsername in interface org.eurekaclinical.standardapis.entity.UserEntity<AuthorizedRoleEntity>public void setUsername(String inUsername)
setUsername in interface org.eurekaclinical.standardapis.entity.UserEntity<AuthorizedRoleEntity>inUsername - A String containing the user's email address.public List<AuthorizedRoleEntity> getRoles()
getRoles in interface org.eurekaclinical.standardapis.entity.UserEntity<AuthorizedRoleEntity>public void setRoles(List<AuthorizedRoleEntity> inRoles)
setRoles in interface org.eurekaclinical.standardapis.entity.UserEntity<AuthorizedRoleEntity>public void addRole(AuthorizedRoleEntity role)
addRole in interface org.eurekaclinical.standardapis.entity.UserEntity<AuthorizedRoleEntity>public void removeRole(AuthorizedRoleEntity role)
removeRole in interface org.eurekaclinical.standardapis.entity.UserEntity<AuthorizedRoleEntity>Copyright © 2012–2020 Emory University. All rights reserved.