|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectibspan.ecap.merchant.shopdecisions.dataaccess.SalesFact
public class SalesFact
A class representing an observation about the sales process of a single product. It is roughly equivalent to an entity of the Sales fact table.
Constructor Summary | |
---|---|
SalesFact()
Instantiates a new sales fact. |
|
SalesFact(int negotiationEndDateKey,
int negotiationEndTimeKey,
int productOfferedKey,
int strategyUsedKey,
int templateUsedKey,
int negotiationId,
int quantityOffered,
float valueOffered,
float minimumValueOffered,
int quantityReserved,
float valueReserved,
int quantityConfirmed,
float valueConfirmed,
int bidCount,
int winningBidCount,
int finishedTransactionCount)
Creates a new instance of SalesFact . |
Method Summary | |
---|---|
int |
getBidCount()
Gets the number of bids during the negotiation. |
int |
getFinishedTransactionCount()
Gets the number of finished transactions following this negotiation, that is the reservations that ended up either confirmed, cancelled or expired. |
float |
getMinimumValueOffered()
Gets the total value of the product offered using the minimum price set in the negotiation strategy. |
int |
getNegotiationEndDateKey()
Gets the key to the date dimension entry describing the negotiation end date. |
int |
getNegotiationEndTimeKey()
Gets the key to the time dimension entry describing the negotiation end time. |
int |
getNegotiationId()
Gets the negotiation's operational id. |
int |
getProductOfferedKey()
Gets the key to the product dimension entry describing the offered product. |
int |
getQuantityConfirmed()
Gets the amount of product confirmed by the buyers and considered sold. |
int |
getQuantityOffered()
Gets the amount of product offered for negotiation. |
int |
getQuantityReserved()
Gets the amount of product reserved after negotiation. |
int |
getStrategyUsedKey()
Gets the key to the strategy dimension entry describing the strategy used during the negotiation. |
int |
getTemplateUsedKey()
Gets the key to the template dimension entry describing the template used during the negotiation. |
float |
getValueConfirmed()
Gets the total value of the products confirmed by the buyers and considered sold. |
float |
getValueOffered()
Gets the total value of the products offered for negotiation counted using the starting price. |
float |
getValueReserved()
Gets the total value of the products reserved after the negotiation. |
int |
getWinningBidCount()
Gets the number of winning bids. |
void |
setBidCount(int bidCount)
Sets the number of bids during the negotiation. |
void |
setFinishedTransactionCount(int finishedTransactionCount)
Sets the number of finished transactions following this negotiation, that is the reservations that ended up either confirmed, cancelled or expired. |
void |
setMinimumValueOffered(float minimumValueOffered)
Sets the total value of the product offered using the minimum price set in the negotiation strategy. |
void |
setNegotiationEndDateKey(int negotiationEndDateKey)
Sets the key to the date dimension entry describing the negotiation end date. |
void |
setNegotiationEndTimeKey(int negotiationEndTimeKey)
Sets the key to the time dimension entry describing the negotiation end time. |
void |
setNegotiationId(int negotiationId)
Sets the negotiation's operational id. |
void |
setProductOfferedKey(int productOfferedKey)
Sets the key to the product dimension entry describing the offered product. |
void |
setQuantityConfirmed(int quantityConfirmed)
Sets the amount of product confirmed by the buyers and considered sold. |
void |
setQuantityOffered(int quantityOffered)
Sets the amount of product offered for negotiation. |
void |
setQuantityReserved(int quantityReserved)
Sets the amount of product reserved after negotiation. |
void |
setStrategyUsedKey(int strategyUsedKey)
Sets the key to the strategy dimension entry describing the strategy used during the negotiation. |
void |
setTemplateUsedKey(int templateUsedKey)
Sets the key to the template dimension entry describing the template used during the negotiation. |
void |
setValueConfirmed(float valueConfirmed)
Sets the total value of the products confirmed by the buyers and considered sold. |
void |
setValueOffered(float valueOffered)
Sets the total value of the products offered for negotiation counted using the starting price. |
void |
setValueReserved(float valueReserved)
Sets the total value of the products reserved after the negotiation. |
void |
setWinningBidCount(int winningBidCount)
Sets the number of winning bids. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SalesFact()
public SalesFact(int negotiationEndDateKey, int negotiationEndTimeKey, int productOfferedKey, int strategyUsedKey, int templateUsedKey, int negotiationId, int quantityOffered, float valueOffered, float minimumValueOffered, int quantityReserved, float valueReserved, int quantityConfirmed, float valueConfirmed, int bidCount, int winningBidCount, int finishedTransactionCount)
SalesFact
.
negotiationEndDateKey
- the negotiation end date keynegotiationEndTimeKey
- the negotiation end time keyproductOfferedKey
- the product offered keystrategyUsedKey
- the strategy used keytemplateUsedKey
- the template used keynegotiationId
- the negotiation idquantityOffered
- the quantity offeredvalueOffered
- the value offeredminimumValueOffered
- the minimum value offeredquantityReserved
- the quantity reservedvalueReserved
- the value reservedquantityConfirmed
- the quantity confirmedvalueConfirmed
- the value confirmedbidCount
- the bid countwinningBidCount
- the winning bid countfinishedTransactionCount
- the finished transaction countMethod Detail |
---|
public int getBidCount()
public void setBidCount(int bidCount)
bidCount
- the number of bids during the negotiation to set.public int getFinishedTransactionCount()
public void setFinishedTransactionCount(int finishedTransactionCount)
finishedTransactionCount
- the number of finished transactions following this negotiation to setpublic float getMinimumValueOffered()
public void setMinimumValueOffered(float minimumValueOffered)
minimumValueOffered
- the the total value of the product offered using the minimum price set in the negotiation strategy to setpublic int getNegotiationEndDateKey()
public void setNegotiationEndDateKey(int negotiationEndDateKey)
negotiationEndDateKey
- the key to the date dimension entry describing the negotiation end date.public int getNegotiationEndTimeKey()
public void setNegotiationEndTimeKey(int negotiationEndTimeKey)
negotiationEndTimeKey
- the key to the time dimension entry describing the negotiation end time to setpublic int getNegotiationId()
public void setNegotiationId(int negotiationId)
negotiationId
- the negotiation's operational id to set.public int getProductOfferedKey()
public void setProductOfferedKey(int productOfferedKey)
productOfferedKey
- the key to the product dimension entry describing the offered product to setpublic int getQuantityConfirmed()
public void setQuantityConfirmed(int quantityConfirmed)
quantityConfirmed
- the amount of product confirmed by the buyers and considered sold to setpublic int getQuantityOffered()
public void setQuantityOffered(int quantityOffered)
quantityOffered
- the amount of product offered for negotiation.public int getQuantityReserved()
public void setQuantityReserved(int quantityReserved)
quantityReserved
- the amount of product reserved after negotiation to setpublic int getStrategyUsedKey()
public void setStrategyUsedKey(int strategyUsedKey)
strategyUsedKey
- the key to the strategy dimension entry describing the strategy used during the negotiation to setpublic int getTemplateUsedKey()
public void setTemplateUsedKey(int templateUsedKey)
templateUsedKey
- the key to the template dimension entry describing the template used during the negotiation to setpublic float getValueConfirmed()
public void setValueConfirmed(float valueConfirmed)
valueConfirmed
- the total value of the products confirmed by the buyers and considered sold to setpublic float getValueOffered()
public void setValueOffered(float valueOffered)
valueOffered
- the total value of the products offered for negotiation counted using the starting price to setpublic float getValueReserved()
public void setValueReserved(float valueReserved)
valueReserved
- the total value of the products reserved after the negotiation to setpublic int getWinningBidCount()
public void setWinningBidCount(int winningBidCount)
winningBidCount
- the number of winning bids to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |