ibspan.ecap.merchant.shopdecisions.dataadministration
Class DeliveryLog

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

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

A class containing information about a delivery to the warehouse.

Author:
Micha³ Drozdowicz
See Also:
Serialized Form

Constructor Summary
DeliveryLog()
           
 
Method Summary
 java.lang.String getDeliveredProductId()
          Gets the id of the delivered product.
 java.util.Date getDeliveryTime()
          Gets the time when the product was delivered.
 int getOrderedQuantity()
          Gets the ordered amount of product.
 float getOrderedValue()
          Gets the total value of the ordered product.
 java.util.Date getOrderTime()
          Gets the time when the product was ordered.
 java.lang.String getWholesalerId()
          Gets the id of the wholesaler, that carried out the order.
 void setDeliveredProductId(java.lang.String deliveredProductId)
          Sets the id of the delivered product
 void setDeliveryTime(java.util.Date deliveryTime)
          Sets the time when the product was delivered
 void setOrderedQuantity(int orderedQuantity)
          Sets the ordered amount of product.
 void setOrderedValue(float orderedValue)
          Sets the total value of the ordered product.
 void setOrderTime(java.util.Date orderTime)
          Sets the time when the product was ordered
 void setWholesalerId(java.lang.String wholesalerId)
          Sets the id of the wholesaler, that carried out the order.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeliveryLog

public DeliveryLog()
Method Detail

getWholesalerId

public java.lang.String getWholesalerId()
Gets the id of the wholesaler, that carried out the order.

Returns:
the id of the wholesaler, that carried out the order.

setWholesalerId

public void setWholesalerId(java.lang.String wholesalerId)
Sets the id of the wholesaler, that carried out the order.

Parameters:
wholesalerId - the id of the wholesaler, that carried out the order.

getDeliveredProductId

public java.lang.String getDeliveredProductId()
Gets the id of the delivered product.

Returns:
the id of the delivered product

setDeliveredProductId

public void setDeliveredProductId(java.lang.String deliveredProductId)
Sets the id of the delivered product

Parameters:
deliveredProductId - the id of the delivered product to set

getOrderTime

public java.util.Date getOrderTime()
Gets the time when the product was ordered.

Returns:
the the time when the product was ordered

setOrderTime

public void setOrderTime(java.util.Date orderTime)
Sets the time when the product was ordered

Parameters:
orderTime - the time when the product was ordered

getDeliveryTime

public java.util.Date getDeliveryTime()
Gets the time when the product was delivered.

Returns:
the time when the product was delivered

setDeliveryTime

public void setDeliveryTime(java.util.Date deliveryTime)
Sets the time when the product was delivered

Parameters:
deliveryTime - the time when the product was delivered

getOrderedQuantity

public int getOrderedQuantity()
Gets the ordered amount of product.

Returns:
the ordered amount of product.

setOrderedQuantity

public void setOrderedQuantity(int orderedQuantity)
Sets the ordered amount of product.

Parameters:
orderedQuantity - the ordered amount of product.

getOrderedValue

public float getOrderedValue()
Gets the total value of the ordered product.

Returns:
the total value of the ordered product.

setOrderedValue

public void setOrderedValue(float orderedValue)
Sets the total value of the ordered product.

Parameters:
orderedValue - the total value of the ordered product

toString

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