ibspan.ecap.merchant.shopdecisions.dataadministration
Class TransactionLog

java.lang.Object
  extended by ibspan.ecap.merchant.shopdecisions.dataadministration.TransactionLog
All Implemented Interfaces:
java.io.Serializable

public class TransactionLog
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
TransactionLog()
           
 
Method Summary
 java.lang.String getClientId()
          Gets the id of the client who made the reservation.
 FinalisationType getFinalisationType()
          Gets the type of the finalisation.
 int getNegotiationId()
          Gets the id of the negotiation after which the reservation has been made.
 int getQuantityReserved()
          Gets the amount of the product that was reserved.
 java.util.Date getTime()
          Gets the time of the reservation finalisation.
 java.lang.String getTransactionId()
          Gets the id of the finished transaction.
 float getValueReserved()
          Gets the value of the product that was reserved (at the price offered by the client).
 void setClientId(java.lang.String clientId)
          Sets the id of the client who made the reservation.
 void setFinalisationType(FinalisationType finalisationType)
          Sets the type of the finalisation.
 void setNegotiationId(int negotiationId)
          Sets the id of the negotiation after which the reservation has been made.
 void setQuantityReserved(int quantityReserved)
          Sets the amount of the product that was reserved.
 void setTime(java.util.Date time)
          Sets the time of the reservation finalisation.
 void setTransactionId(java.lang.String transactionId)
          Sets the id of the finished transaction
 void setValueReserved(float valueReserved)
          Sets the value of the product that was reserved (at the price offered by the client).
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionLog

public TransactionLog()
Method Detail

getQuantityReserved

public int getQuantityReserved()
Gets the amount of the product that was reserved.

Returns:
the amount of the product that was reserved.

setQuantityReserved

public void setQuantityReserved(int quantityReserved)
Sets the amount of the product that was reserved.

Parameters:
quantityReserved - the amount of the product that was reserved.

getValueReserved

public float getValueReserved()
Gets the value of the product that was reserved (at the price offered by the client).

Returns:
the value of the product that was reserved (at the price offered by the client).

setValueReserved

public void setValueReserved(float valueReserved)
Sets the value of the product that was reserved (at the price offered by the client).

Parameters:
valueReserved - value of the product that was reserved (at the price offered by the client).

getTransactionId

public java.lang.String getTransactionId()
Gets the id of the finished transaction.

Returns:
the id of the finished transaction

setTransactionId

public void setTransactionId(java.lang.String transactionId)
Sets the id of the finished transaction

Parameters:
transactionId - the id of the finished transaction

getClientId

public java.lang.String getClientId()
Gets the id of the client who made the reservation.

Returns:
the id of the client who made the reservation.

setClientId

public void setClientId(java.lang.String clientId)
Sets the id of the client who made the reservation.

Parameters:
clientId - the id of the client who made the reservation.

getTime

public java.util.Date getTime()
Gets the time of the reservation finalisation.

Returns:
the time of the reservation finalisation.

setTime

public void setTime(java.util.Date time)
Sets the time of the reservation finalisation.

Parameters:
time - the time of the reservation finalisation.

getFinalisationType

public FinalisationType getFinalisationType()
Gets the type of the finalisation.

Returns:
the type of the finalisation.

setFinalisationType

public void setFinalisationType(FinalisationType finalisationType)
Sets the type of the finalisation.

Parameters:
finalisationType - the type of the finalisation.

getNegotiationId

public int getNegotiationId()
Gets the id of the negotiation after which the reservation has been made.

Returns:
the id of the negotiation after which the reservation has been made.

setNegotiationId

public void setNegotiationId(int negotiationId)
Sets the id of the negotiation after which the reservation has been made.

Parameters:
negotiationId - the id of the negotiation after which the reservation has been made.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object