public class NegotiationRecord extends Object
| Constructor and Description |
|---|
NegotiationRecord(Object cfp,
Object cfp_info,
IComponentIdentifier[] participants,
long starttime)
Create a new negotiation record.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getCFP()
Get the call for proposal (sent to participants).
|
Object |
getCFPInfo()
Get the cfp info (i.e. local meta information).
|
long |
getEndtime()
Get the end time.
|
IComponentIdentifier[] |
getParticipants()
Get all participants.
|
ParticipantProposal |
getProposal(IComponentIdentifier participant)
Get the proposal for the participant.
|
ParticipantProposal[] |
getProposals()
Get the participant proposals.
|
long |
getStarttime()
Get the start time.
|
void |
setCFP(Object cfp)
Set the call for proposal (sent to participants).
|
void |
setCFPInfo(Object cfp_info)
Set the cfp info (i.e. local meta information).
|
void |
setEndtime(long endtime)
Set the end time.
|
void |
setStarttime(long starttime)
Set the start time.
|
String |
toString()
Get the string representation.
|
public NegotiationRecord(Object cfp, Object cfp_info, IComponentIdentifier[] participants, long starttime)
cfp - The call for proposal object.cfp_info - The cfp info (local meta information).participants - The participants agent identifiers.public Object getCFP()
public void setCFP(Object cfp)
cfp - The call for proposal.public Object getCFPInfo()
public void setCFPInfo(Object cfp_info)
cfp_info - The cfp_info to set.public long getStarttime()
public void setStarttime(long starttime)
starttime - The start time to set.public long getEndtime()
public void setEndtime(long endtime)
endtime - The end time to set.public ParticipantProposal[] getProposals()
public IComponentIdentifier[] getParticipants()
public ParticipantProposal getProposal(IComponentIdentifier participant)
participant - The participants agent identifier.Copyright © 2012. All Rights Reserved.