public class Participant
extends java.lang.Object
| Constructor and Description |
|---|
Participant(AgentID id,
ParticipantRepItem party,
ProfileRepItem profile) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Equals is based only on the agent id.
|
AgentID |
getId() |
ProfileRepItem |
getProfile() |
ParticipantRepItem |
getStrategy() |
int |
hashCode() |
java.lang.String |
toString() |
public Participant(AgentID id, ParticipantRepItem party, ProfileRepItem profile)
id - the agent IDparty - the ParticipantRepItem to use for this participant.profile - The profile that this participant uses. can be null if this
participant does not need a profile (eg, Mediator.public AgentID getId()
public ParticipantRepItem getStrategy()
public ProfileRepItem getProfile()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object