Class 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 Detail

      • 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