|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectibspan.ecap.merchant.shopdecisions.dataaccess.DemandFact
public class DemandFact
A class representing demand for a product. It is roughly equivalent to an entity of the Demand fact table.
Constructor Summary | |
---|---|
DemandFact()
Instantiates a new demand fact. |
|
DemandFact(int dateKey,
int productKey,
int cicQueryCount,
int shopsSellingCount)
Instantiates a new demand fact. |
Method Summary | |
---|---|
int |
getCicQueryCount()
Gets the number of queries about the product sent to the cic, the day the demand was checked. |
int |
getDateKey()
Gets the key to the date dimension entry that describes the date when the demand has been checked. |
int |
getProductKey()
Gets the key to the product dimension entry that describes the product for which the demand was checked. |
int |
getRegisteredClients()
Gets the total number of clients that registered with the GA wanting to buy the product. |
int |
getShopsSellingCount()
Gets the number of shops selling the product on the day the demand was checked |
void |
setCicQueryCount(int cicQueryCount)
Sets the number of queries about the product sent to the cic, the day the demand was checked. |
void |
setDateKey(int dateKey)
Sets the key to the date dimension entry that describes the date when the demand has been checked. |
void |
setProductKey(int productKey)
Sets the key to the product dimension entry that describes the product for which the demand was checked. |
void |
setRegisteredClients(int registeredClients)
Sets the total number of clients that registered with the GA wanting to buy the product. |
void |
setShopsSellingCount(int shopsSellingCount)
Sets the number of shops selling the product on the day the demand was checked |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DemandFact()
public DemandFact(int dateKey, int productKey, int cicQueryCount, int shopsSellingCount)
dateKey
- the key to the date dimension entry that describes the date when the demand has been checked.productKey
- the key to the product dimension entry that describes the product for which the demand was checked.cicQueryCount
- the cic query countshopsSellingCount
- the shops selling countMethod Detail |
---|
public int getDateKey()
public void setDateKey(int dateKey)
dateKey
- the key to the date dimension entry that describes the date when the demand has been checked.public int getProductKey()
public void setProductKey(int productKey)
productKey
- the key to the product dimension entry that describes the product for which the demand was checked.public int getCicQueryCount()
public void setCicQueryCount(int cicQueryCount)
cicQueryCount
- the number of queries about the product sent to the cic, the day the demand was checked.public int getShopsSellingCount()
public void setShopsSellingCount(int shopsSellingCount)
shopsSellingCount
- the number of shops selling the product on the day the demand was checkedpublic int getRegisteredClients()
public void setRegisteredClients(int registeredClients)
registeredClients
- the total number of clients that registered with the GA wanting to buy the product.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |