@Entity public class Role extends Object implements com.sun.xml.bind.CycleRecoverable
| Constructor and Description |
|---|
Role()
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?
|
Object |
onCycleDetected(com.sun.xml.bind.CycleRecoverable.Context context) |
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()
Long representing the role's id.public void setId(Long inId)
inId - The number representing the role's id.public String getName()
public void setName(String inName)
inName - A string containing the role's name.public boolean isDefaultRole()
public void setDefaultRole(boolean inDefaultRole)
inDefaultRole - True or False, True indicating a default role, False
indicating a non-default role.public Object onCycleDetected(com.sun.xml.bind.CycleRecoverable.Context context)
onCycleDetected in interface com.sun.xml.bind.CycleRecoverableCopyright © 2012–2016 Emory University. All rights reserved.