public class PartyRepItem extends ParticipantRepItem
NegotiationParty that
can be loaded. immutable.| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
classPath
This can be two things:
a class path, eg "agents.anac.y2010.AgentFSEGA.AgentFSEGA".
|
protected java.lang.String |
strategyParameters |
| Constructor and Description |
|---|
PartyRepItem(java.lang.String path) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getClassDescriptor() |
java.lang.String |
getClassPath() |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
java.lang.String |
getUniqueName() |
protected NegotiationParty |
init()
Init our fields to cache the party information.
|
java.lang.Boolean |
isMediator() |
NegotiationParty |
load() |
java.lang.String |
toString() |
getProtocolClassPath, hashCode, initSilentprotected java.lang.String classPath
protected java.lang.String strategyParameters
public PartyRepItem(java.lang.String path)
path - full.path.to.class or file name.protected NegotiationParty init() throws InstantiateException
init in class ParticipantRepItemparty - InstantiateExceptionpublic java.lang.String getClassPath()
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Boolean isMediator()
isMediator in class ParticipantRepItempublic NegotiationParty load() throws InstantiateException
load in class ParticipantRepItemNegotiationParty that this refers to.InstantiateException - if party can't be loadedpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String getUniqueName()
getUniqueName in class ParticipantRepItemRepItem.getName()
may not be unique.public java.lang.String getClassDescriptor()
getClassDescriptor in class ParticipantRepItem