Class NegotiationReport
- java.lang.Object
- 
- jadex.bdi.examples.booktrading.common.NegotiationReport
 
- 
 public class NegotiationReport extends java.lang.ObjectA negotiation report contains user-relevant data about negotiations, i.e. the order and details about the negotiation and the time.
- 
- 
Constructor SummaryConstructors Constructor Description NegotiationReport(Order order, java.lang.String details, long time)Create a new report.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDetails()Get the details.OrdergetOrder()Get the order.longgetTime()Get the negotiation time.voidsetDetails(java.lang.String details)Set the details.voidsetOrder(Order order)Set the order.voidsetTime(long time)Set the negotiation time.java.lang.StringtoString()Get the string representation.
 
- 
- 
- 
Field Detail- 
orderprotected Order order The order.
 - 
detailsprotected java.lang.String details The report.
 - 
timeprotected long time The negotiation time.
 
- 
 - 
Constructor Detail- 
NegotiationReportpublic NegotiationReport(Order order, java.lang.String details, long time) Create a new report.
 
- 
 - 
Method Detail- 
getOrderpublic Order getOrder() Get the order.- Returns:
- The order.
 
 - 
setOrderpublic void setOrder(Order order) Set the order.- Parameters:
- order- The order to set.
 
 - 
getDetailspublic java.lang.String getDetails() Get the details.- Returns:
- The details.
 
 - 
setDetailspublic void setDetails(java.lang.String details) Set the details.- Parameters:
- details- The details to set.
 
 - 
getTimepublic long getTime() Get the negotiation time.- Returns:
- The time.
 
 - 
setTimepublic void setTime(long time) Set the negotiation time.- Parameters:
- time- The time to set.
 
 - 
toStringpublic java.lang.String toString() Get the string representation.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- The string representation.
 
 
- 
 
-