|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.root.realm.PersistentUserRole
public class PersistentUserRole
The relation class between a persistent user and its roles.
| Nested Class Summary | |
|---|---|
static class |
PersistentUserRole.Id
An inner class for a composite id. |
| Constructor Summary | |
|---|---|
PersistentUserRole()
The default constructor. |
|
PersistentUserRole(Object uid,
Object rid)
Constructs a new relation. |
|
| Method Summary | |
|---|---|
PersistentUserRole.Id |
getId()
Gets the composite id. |
Object |
getRoleId()
Gets the role id. |
Object |
getUserId()
Gets the user id. |
void |
setId(PersistentUserRole.Id id)
Sets the composite id. |
void |
setRoleId(Object id)
Sets the role id. |
void |
setUserId(Object id)
Sets the user id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersistentUserRole()
public PersistentUserRole(Object uid,
Object rid)
uid - the user id.rid - the role id.| Method Detail |
|---|
public PersistentUserRole.Id getId()
public void setId(PersistentUserRole.Id id)
id - the composite id.public Object getUserId()
public void setUserId(Object id)
id - the user id.public Object getRoleId()
public void setRoleId(Object id)
id - the user id.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||