Jadex 0.96

jadex.examples.booktrading.common
Class NegotiationReport

java.lang.Object
  extended by jadex.examples.booktrading.common.NegotiationReport

public class NegotiationReport
extends Object

A negotiation report contains user-relevant data about negotiations, i.e. the order and details about the negotiation and the time.


Constructor Summary
NegotiationReport(Order order, String details, long time)
          Create a new report.
 
Method Summary
 String getDetails()
          Get the details.
 Order getOrder()
          Get the order.
 long getTime()
          Get the negotiation time.
 void setDetails(String details)
          Set the details.
 void setOrder(Order order)
          Set the order.
 void setTime(long time)
          Set the negotiation time.
 String toString()
          Get the string representation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NegotiationReport

public NegotiationReport(Order order,
                         String details,
                         long time)
Create a new report.

Method Detail

getOrder

public Order getOrder()
Get the order.

Returns:
The order.

setOrder

public void setOrder(Order order)
Set the order.

Parameters:
order - The order to set.

getDetails

public String getDetails()
Get the details.

Returns:
The details.

setDetails

public void setDetails(String details)
Set the details.

Parameters:
details - The details to set.

getTime

public long getTime()
Get the negotiation time.

Returns:
The time.

setTime

public void setTime(long time)
Set the negotiation time.

Parameters:
time - The time to set.

toString

public String toString()
Get the string representation.

Overrides:
toString in class Object
Returns:
The string representation.

Jadex 0.96

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.