jadex.bdi.planlib.protocols
Class ParticipantProposal

java.lang.Object
  extended by jadex.bdi.planlib.protocols.ParticipantProposal

public class ParticipantProposal
extends java.lang.Object

An 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 Summary
protected  java.lang.Object evaluation
          An evaluation of the proposal.
protected  IComponentIdentifier participant
          The participants component identifier.
protected  java.lang.Object proposal
          The proposal object.
 
Constructor Summary
ParticipantProposal()
          Create a participant proposal.
ParticipantProposal(IComponentIdentifier participant)
          Create a participant proposal for a given participant.
 
Method Summary
 java.lang.Object getEvaluation()
          Get the evaluation.
 IComponentIdentifier getParticipant()
          Get the participants component identifier.
 java.lang.Object getProposal()
          Get the proposal object.
 void setEvaluation(java.lang.Object evaluation)
          Set the evaluation.
 void setParticipant(IComponentIdentifier participant)
          Set the participants component identifier.
 void setProposal(java.lang.Object proposal)
          Set the proposal object.
 java.lang.String toString()
          Create a string representation of the participant proposal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

participant

protected IComponentIdentifier participant
The participants component identifier.


proposal

protected java.lang.Object proposal
The proposal object.


evaluation

protected java.lang.Object evaluation
An evaluation of the proposal.

Constructor Detail

ParticipantProposal

public ParticipantProposal()
Create a participant proposal. Empty bean constructor.


ParticipantProposal

public ParticipantProposal(IComponentIdentifier participant)
Create a participant proposal for a given participant.

Method Detail

getParticipant

public IComponentIdentifier getParticipant()
Get the participants component identifier.


setParticipant

public void setParticipant(IComponentIdentifier participant)
Set the participants component identifier.


getProposal

public java.lang.Object getProposal()
Get the proposal object.


setProposal

public void setProposal(java.lang.Object proposal)
Set the proposal object.


getEvaluation

public java.lang.Object getEvaluation()
Get the evaluation.


setEvaluation

public void setEvaluation(java.lang.Object evaluation)
Set the evaluation.


toString

public java.lang.String toString()
Create a string representation of the participant proposal.

Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.