Jadex 0.96

jadex.planlib
Class ParticipantProposal

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

public class ParticipantProposal
extends Object

An object containing information about a proposal made in a negotiation, i.e., the agent 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.


Constructor Summary
ParticipantProposal()
          Create a participant proposal.
ParticipantProposal(AgentIdentifier participant)
          Create a participant proposal for a given participant.
 
Method Summary
 Object getEvaluation()
          Get the evaluation.
 AgentIdentifier getParticipant()
          Get the participants agent identifier.
 Object getProposal()
          Get the proposal object.
 void setEvaluation(Object evaluation)
          Set the evaluation.
 void setParticipant(AgentIdentifier participant)
          Set the participants agent identifier.
 void setProposal(Object proposal)
          Set the proposal object.
 String toString()
          Create a string representation of the participant proposal.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParticipantProposal

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


ParticipantProposal

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

Method Detail

getParticipant

public AgentIdentifier getParticipant()
Get the participants agent identifier.


setParticipant

public void setParticipant(AgentIdentifier participant)
Set the participants agent identifier.


getProposal

public Object getProposal()
Get the proposal object.


setProposal

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


getEvaluation

public Object getEvaluation()
Get the evaluation.


setEvaluation

public void setEvaluation(Object evaluation)
Set the evaluation.


toString

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

Overrides:
toString in class Object

Jadex 0.96

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.