Class NegotiationReport


  • public class NegotiationReport
    extends java.lang.Object
    A negotiation report contains user-relevant data about negotiations, i.e. the order and details about the negotiation and the time.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String details
      The report.
      protected Order order
      The order.
      protected long time
      The negotiation time.
    • Constructor Summary

      Constructors 
      Constructor Description
      NegotiationReport​(Order order, java.lang.String details, long time)
      Create a new report.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDetails()
      Get the details.
      Order getOrder()
      Get the order.
      long getTime()
      Get the negotiation time.
      void setDetails​(java.lang.String details)
      Set the details.
      void setOrder​(Order order)
      Set the order.
      void setTime​(long time)
      Set the negotiation time.
      java.lang.String toString()
      Get the string representation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • order

        protected Order order
        The order.
      • details

        protected java.lang.String details
        The report.
      • time

        protected long time
        The negotiation time.
    • Constructor Detail

      • NegotiationReport

        public NegotiationReport​(Order order,
                                 java.lang.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 java.lang.String getDetails()
        Get the details.
        Returns:
        The details.
      • setDetails

        public void setDetails​(java.lang.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 java.lang.String toString()
        Get the string representation.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The string representation.