@Entity public class AuthorizedRoleEntity extends Object implements org.eurekaclinical.standardapis.entity.RoleEntity
| Constructor and Description |
|---|
AuthorizedRoleEntity()
Create an empty role.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Long |
getId()
Get the role's identification number.
|
String |
getName()
Get the role's name.
|
int |
hashCode() |
boolean |
isDefaultRole()
Is this role a default role?
|
void |
setDefaultRole(boolean inDefaultRole)
Set the role's default flag.
|
void |
setId(Long inId)
Set the role's identification number.
|
void |
setName(String inName)
Set the role's name.
|
String |
toString() |
public Long getId()
public void setId(Long inId)
setId in interface org.eurekaclinical.standardapis.entity.Entity<Long>setId in interface org.eurekaclinical.standardapis.entity.RoleEntityinId - The number representing the role's id.public String getName()
getName in interface org.eurekaclinical.standardapis.entity.RoleEntitypublic void setName(String inName)
setName in interface org.eurekaclinical.standardapis.entity.RoleEntityinName - A string containing the role's name.public boolean isDefaultRole()
isDefaultRole in interface org.eurekaclinical.standardapis.entity.RoleEntitypublic void setDefaultRole(boolean inDefaultRole)
setDefaultRole in interface org.eurekaclinical.standardapis.entity.RoleEntityinDefaultRole - True or False, True indicating a default role, False
indicating a non-default role.Copyright © 2012–2017 Emory University. All rights reserved.