public class BoaPartyRepItem extends ParticipantRepItem
NegotiationParty that
can be loaded by construction with BOAcomponents. immutable.| Constructor and Description |
|---|
BoaPartyRepItem(java.lang.String partyName)
Create default Boa party with given name.
|
BoaPartyRepItem(java.lang.String partyName,
BoaWithSettingsRepItem<OfferingStrategy> boa1,
BoaWithSettingsRepItem<AcceptanceStrategy> boa2,
BoaWithSettingsRepItem<OpponentModel> boa3,
BoaWithSettingsRepItem<OMStrategy> boa4) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
BoaWithSettingsRepItem<AcceptanceStrategy> |
getAcceptanceStrategy() |
java.lang.String |
getClassDescriptor() |
java.lang.String |
getName() |
BoaWithSettingsRepItem<OfferingStrategy> |
getOfferingStrategy() |
BoaWithSettingsRepItem<OMStrategy> |
getOmStrategy() |
BoaWithSettingsRepItem<OpponentModel> |
getOpponentModel() |
BoaWithSettingsRepItem<? extends BOA> |
getStrategy(BoaType strategyType) |
java.lang.String |
getUniqueName() |
int |
hashCode() |
NegotiationParty |
load() |
java.lang.String |
toString() |
getProtocolClassPath, init, initSilent, isMediatorpublic BoaPartyRepItem(java.lang.String partyName)
throws InstantiateException
partyName - name for the default partyInstantiateException - if problem with repopublic BoaPartyRepItem(java.lang.String partyName,
BoaWithSettingsRepItem<OfferingStrategy> boa1,
BoaWithSettingsRepItem<AcceptanceStrategy> boa2,
BoaWithSettingsRepItem<OpponentModel> boa3,
BoaWithSettingsRepItem<OMStrategy> boa4)
public java.lang.String getName()
public BoaWithSettingsRepItem<OfferingStrategy> getOfferingStrategy()
public BoaWithSettingsRepItem<AcceptanceStrategy> getAcceptanceStrategy()
public BoaWithSettingsRepItem<OpponentModel> getOpponentModel()
public BoaWithSettingsRepItem<OMStrategy> getOmStrategy()
public BoaWithSettingsRepItem<? extends BOA> getStrategy(BoaType strategyType)
public int hashCode()
hashCode in class ParticipantRepItempublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic NegotiationParty load() throws InstantiateException
load in class ParticipantRepItemNegotiationParty that this refers to.InstantiateException - if party can't be loadedpublic java.lang.String getUniqueName()
getUniqueName in class ParticipantRepItemRepItem.getName()
may not be unique.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getClassDescriptor()
getClassDescriptor in class ParticipantRepItem