|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.dyade.aaa.agent.Role
A role wraps an AgentId. It is identified by a name.
| Constructor Summary | |
Role(java.lang.String name)
Creates a new role with the specified name. |
|
Role(java.lang.String name,
AgentId listener)
Creates a new role with the specified name and AgentId. |
|
| Method Summary | |
AgentId |
getListener()
Returns the wrapped AgentId. |
java.lang.String |
getName()
Returns the role name. |
void |
setListener(AgentId listener)
Sets the wrapped AgentId. |
void |
setName(java.lang.String name)
Sets the role name. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Role(java.lang.String name)
name - the role name.
public Role(java.lang.String name,
AgentId listener)
name - the role name.listener - the wrapped AgentId.| Method Detail |
public void setListener(AgentId listener)
AgentId.
listener - the wrapped AgentId.public AgentId getListener()
AgentId.
public java.lang.String getName()
public void setName(java.lang.String name)
name - the role name.public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||