Package | Description |
---|---|
moise.oe |
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<RolePlayer> |
GroupInstance.players |
protected java.util.Map<java.lang.String,RolePlayer> |
OEAgent.roles |
Modifier and Type | Method and Description |
---|---|
RolePlayer |
OEAgent.adoptRole(java.lang.String roleId,
GroupInstance gr)
adds a role for an agent.
|
RolePlayer |
OEAgent.adoptRole(java.lang.String roleId,
java.lang.String grId)
adds a role for an agent.
|
RolePlayer |
Permission.getRolePlayer() |
RolePlayer |
OEAgent.playsRole(java.lang.String roleId,
GroupInstance gr)
returns an object representing the roleId played by this agent
in the group gr.
|
RolePlayer |
OEAgent.removeRole(java.lang.String roleId,
GroupInstance gr)
removes a role from an agent.
|
RolePlayer |
OEAgent.removeRole(java.lang.String roleId,
java.lang.String grId)
removes a role from an agent.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<RolePlayer> |
GroupInstance.getPlayers()
returns an iterator for RolePlayer objects
|
java.util.Collection<RolePlayer> |
GroupInstance.getPlayers(java.lang.String roleId,
boolean includeSubGroups)
returns the roleId players in this group (includeSubGroups==false)
or in this group and its subgroups (includeSubGroups==true).
|
java.util.Collection<RolePlayer> |
OEAgent.getRoles()
returns an Iterator for RolePlayers objects
|
java.util.Collection<RolePlayer> |
OEAgent.playsRole(GroupInstance gr)
returns a collection of RolePlayer objects representing the
roles this agent plays in the group gr
|
Modifier and Type | Method and Description |
---|---|
void |
OEAgent.abortRole(RolePlayer rp)
removes a role of an agent without checking
|
void |
GroupInstance.addPlayer(RolePlayer rp)
adds a role player in this group
|
void |
GroupInstance.removePlayer(RolePlayer rp)
removes a role player from this group
|
Constructor and Description |
---|
Permission(RolePlayer rp,
Mission mis,
SchemeInstance sch) |