ibspan.ecap.merchant.shopdecisions.dataadministration
Class SuppliesFactProcessor
java.lang.Object
ibspan.ecap.merchant.shopdecisions.dataadministration.SuppliesFactProcessor
public class SuppliesFactProcessor
- extends java.lang.Object
A class responsible for extracting the appropriate information from the supply delivery log and creating a supplies fact object.
- Author:
- Micha³ Drozdowicz
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuppliesFactProcessor
public SuppliesFactProcessor()
createSuppliesFact
public SuppliesFact createSuppliesFact(int orderDateKey,
int orderTimeKey,
int deliveryDateKey,
int deliveryTimeKey,
int productKey,
int wholesalerKey,
DeliveryLog log)
- Creates the supplies fact.
- Parameters:
orderDateKey
- the key to the date dimension entry describing the date of the making of the orderorderTimeKey
- the key to the time dimension entry describing the time of day of the making of the order.deliveryDateKey
- the key to the date dimension entry describing the date the ordered product was delivered.deliveryTimeKey
- the key to the time dimension entry describing the time of day when the ordered product was delivered.productKey
- the key to the product dimension entry describing the product delivered.wholesalerKey
- the key of the wholesaler dimension entry describing the wholesaler who handled this order.log
- the log describing the delivery
- Returns:
- the supplies fact