|
||||||||||
| 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 Object |
evaluation
An evaluation of the proposal. |
protected IComponentIdentifier |
participant
The participants component identifier. |
protected 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 | |
|---|---|
Object |
getEvaluation()
Get the evaluation. |
IComponentIdentifier |
getParticipant()
Get the participants component identifier. |
Object |
getProposal()
Get the proposal object. |
void |
setEvaluation(Object evaluation)
Set the evaluation. |
void |
setParticipant(IComponentIdentifier participant)
Set the participants component 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected IComponentIdentifier participant
protected Object proposal
protected Object evaluation
| Constructor Detail |
|---|
public ParticipantProposal()
public ParticipantProposal(IComponentIdentifier participant)
| Method Detail |
|---|
public IComponentIdentifier getParticipant()
public void setParticipant(IComponentIdentifier participant)
public Object getProposal()
public void setProposal(Object proposal)
public Object getEvaluation()
public void setEvaluation(Object evaluation)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||