|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectibspan.ecap.merchant.shopdecisions.dataadministration.DemandFactProcessor
public class DemandFactProcessor
A class responsible for extracting the appropriate information from the demand details and creating a supplies fact object.
Constructor Summary | |
---|---|
DemandFactProcessor()
|
Method Summary | |
---|---|
DemandFact |
createDemandFact(int productKey,
int dateKey,
DemandData data)
Creates the demand fact. |
DemandFact |
createDemandFact(int productKey,
int dateKey,
int registeredClients)
Creates the demand fact filling it with information about the number of buyers registered wanting to buy the product. |
void |
updateDemandFact(DemandFact fact,
DemandData data)
Updates the demand fact with new information about the demand gathered from the CIC. |
void |
updateDemandFact(DemandFact fact,
int registeredClients)
Updates the demand fact with new information about the number of clients registered to buy the product. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DemandFactProcessor()
Method Detail |
---|
public DemandFact createDemandFact(int productKey, int dateKey, DemandData data)
productKey
- the key to the product dimension entry that describes the product for which the demand was checked.dateKey
- the key to the date dimension entry that describes the date when the demand has been checked.data
- the demand data
public void updateDemandFact(DemandFact fact, DemandData data)
fact
- the fact data to updatepublic DemandFact createDemandFact(int productKey, int dateKey, int registeredClients)
productKey
- the product keydateKey
- the date keyregisteredClients
- the registered clients
public void updateDemandFact(DemandFact fact, int registeredClients)
fact
- the fact data to updateregisteredClients
- the number of clients registered to buy the product.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |