ibspan.ecap.shared.ontology.negotiation
Class DemandData

java.lang.Object
  extended by ibspan.ecap.shared.ontology.negotiation.DemandData
All Implemented Interfaces:
jade.content.Concept, jade.content.Term, java.io.Serializable

public class DemandData
extends java.lang.Object
implements jade.content.Concept

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.lang.String getGlobalProductId()
          Gets the id of the product.
 int getMeanAmountPerClient()
           
 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.
 java.util.Date getWhen()
          Gets the when on which the data was collected.
 void setCicQueryCount(int cicQueryCount)
          Sets the amount of queries the CIC has registered during the day.
 void setGlobalProductId(java.lang.String productId)
          Sets the id of the product.
 void setMeanAmountPerClient(int meanAmountPerClient)
           
 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.
 void setWhen(java.util.Date date)
          Sets the date on which the data was collected.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, 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.

getGlobalProductId

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

Returns:
the id of the product.

setGlobalProductId

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

Parameters:
productId - the id of the product.

getWhen

public java.util.Date getWhen()
Gets the when on which the data was collected.

Returns:
the when

setWhen

public void setWhen(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

getMeanAmountPerClient

public int getMeanAmountPerClient()
Returns:
the meanAmountPerClient

setMeanAmountPerClient

public void setMeanAmountPerClient(int meanAmountPerClient)
Parameters:
meanAmountPerClient - the meanAmountPerClient to set