ibspan.ecap.merchant.shopdecisions.dataadministration
Class DemandData

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

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

A class containing information about daily demand for a specific product.

Author:
Micha³ Drozdowicz
See Also:
Serialized Form

Constructor Summary
DemandData()
           
 
Method Summary
 int getCicQueryCount()
          Gets the amount of queries the CIC has registered during the day.
 java.util.Date getDate()
          Gets the date on which the data was collected.
 java.lang.String getProductId()
          Gets the id of the product.
 int getRegisteredClients()
          Gets the total number of clients that registered with the GA wanting to buy the product.
 int getShopsSellingProductCount()
          Gets the amount of shops selling the specified product during the day.
 void setCicQueryCount(int cicQueryCount)
          Sets the amount of queries the CIC has registered during the day.
 void setDate(java.util.Date date)
          Sets the date on which the data was collected.
 void setProductId(java.lang.String productId)
          Sets the id of the product.
 void setRegisteredClients(int registeredClients)
          Sets the total number of clients that registered with the GA wanting to buy the product.
 void setShopsSellingProductCount(int shopsSellingProductCount)
          Sets the amount of shops selling the specified product during the day.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DemandData

public DemandData()
Method Detail

getRegisteredClients

public int getRegisteredClients()
Gets the total number of clients that registered with the GA wanting to buy the product.

Returns:
the total number of clients that registered with the GA wanting to buy the product.

setRegisteredClients

public void setRegisteredClients(int registeredClients)
Sets the total number of clients that registered with the GA wanting to buy the product.

Parameters:
registeredClients - total number of clients that registered with the GA wanting to buy the product.

getProductId

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

Returns:
the id of the product.

setProductId

public void setProductId(java.lang.String productId)
Sets the id of the product.

Parameters:
productId - the id of the product.

getDate

public java.util.Date getDate()
Gets the date on which the data was collected.

Returns:
the date

setDate

public void setDate(java.util.Date date)
Sets the date on which the data was collected.

Parameters:
date - the date to set

getCicQueryCount

public int getCicQueryCount()
Gets the amount of queries the CIC has registered during the day.

Returns:
the amount of CIC queries.

setCicQueryCount

public void setCicQueryCount(int cicQueryCount)
Sets the amount of queries the CIC has registered during the day.

Parameters:
cicQueryCount - the amount of CIC queries.

getShopsSellingProductCount

public int getShopsSellingProductCount()
Gets the amount of shops selling the specified product during the day.

Returns:
the amount of shops selling the product

setShopsSellingProductCount

public void setShopsSellingProductCount(int shopsSellingProductCount)
Sets the amount of shops selling the specified product during the day.

Parameters:
shopsSellingProductCount - the amount of shops selling the product

toString

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