Package jadex.bdi.planlib.protocols
Class ParticipantProposal
- java.lang.Object
- 
- jadex.bdi.planlib.protocols.ParticipantProposal
 
- 
 public class ParticipantProposal extends java.lang.ObjectAn object containing information about a proposal made in a negotiation, i.e., the component identifier of the participant and the content object of the proposal message. When the proposal is evaluated the result of the evaluation can be saved. In the final round of an (interated) contract-net interaction, the evaluation can store the result of the task execution.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.ObjectevaluationAn evaluation of the proposal.protected IComponentIdentifierparticipantThe participants component identifier.protected java.lang.ObjectproposalThe proposal object.
 - 
Constructor SummaryConstructors Constructor Description ParticipantProposal()Create a participant proposal.ParticipantProposal(IComponentIdentifier participant)Create a participant proposal for a given participant.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetEvaluation()Get the evaluation.IComponentIdentifiergetParticipant()Get the participants component identifier.java.lang.ObjectgetProposal()Get the proposal object.voidsetEvaluation(java.lang.Object evaluation)Set the evaluation.voidsetParticipant(IComponentIdentifier participant)Set the participants component identifier.voidsetProposal(java.lang.Object proposal)Set the proposal object.java.lang.StringtoString()Create a string representation of the participant proposal.
 
- 
- 
- 
Field Detail- 
participantprotected IComponentIdentifier participant The participants component identifier.
 - 
proposalprotected java.lang.Object proposal The proposal object.
 - 
evaluationprotected java.lang.Object evaluation An evaluation of the proposal.
 
- 
 - 
Constructor Detail- 
ParticipantProposalpublic ParticipantProposal() Create a participant proposal. Empty bean constructor.
 - 
ParticipantProposalpublic ParticipantProposal(IComponentIdentifier participant) Create a participant proposal for a given participant.
 
- 
 - 
Method Detail- 
getParticipantpublic IComponentIdentifier getParticipant() Get the participants component identifier.
 - 
setParticipantpublic void setParticipant(IComponentIdentifier participant) Set the participants component identifier.
 - 
getProposalpublic java.lang.Object getProposal() Get the proposal object.
 - 
setProposalpublic void setProposal(java.lang.Object proposal) Set the proposal object.
 - 
getEvaluationpublic java.lang.Object getEvaluation() Get the evaluation.
 - 
setEvaluationpublic void setEvaluation(java.lang.Object evaluation) Set the evaluation.
 - 
toStringpublic java.lang.String toString() Create a string representation of the participant proposal.- Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-