|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.bdi.planlib.protocols.ParticipantProposal
public class ParticipantProposal
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 |
|---|
protected IComponentIdentifier participant
protected java.lang.Object proposal
protected java.lang.Object evaluation
| Constructor Detail |
|---|
public ParticipantProposal()
public ParticipantProposal(IComponentIdentifier participant)
| Method Detail |
|---|
public IComponentIdentifier getParticipant()
public void setParticipant(IComponentIdentifier participant)
public java.lang.Object getProposal()
public void setProposal(java.lang.Object proposal)
public java.lang.Object getEvaluation()
public void setEvaluation(java.lang.Object evaluation)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||