java.lang.Objectcom.ibm.commerce.negotiation.operation.RuleInterpreterImpl
com.ibm.commerce.negotiation.operation.OpenCryBidRuleInterpreterImpl
This class handles Open Cry Auction bid rule.
Field Summary | |
static java.lang.String | COPYRIGHT Copyright statement. |
static java.lang.String | TEXT_DELIMITER Text delimiter. |
static java.lang.String | TEXT_SEPARATOR text separator. |
Fields inherited from class com.ibm.commerce.negotiation.operation.RuleInterpreterImpl |
bestBidValue, bidQty, bidValue, dataBean, lowestWinningBid, objectList, rule |
Constructor Summary | |
OpenCryBidRuleInterpreterImpl() Creates an OpenCryBidRuleInterpreterImpl object. |
Method Summary | |
protected java.math.BigDecimal | getIncrementFromRule() Returns the increment associated with a control-rule price range. |
void | populateDataBean() Populates the databean object with a ControlRuleAccessBean object. |
protected java.lang.String | priceRangesToText() Returns the string that represents the price range vector for Open Cry Bid Rule. |
void | saveDataBean() Save the datbean back to a ControlRuleAccessBean, then to the database. |
void | setBidValue(java.lang.String newBidValue) Sets a new bid value. |
protected java.util.Vector | textToPriceRanges() Parses text string into upper/lower price limit components. |
boolean | validate() validate Validates an open-cry bid against the auction control rule. |
Methods inherited from class com.ibm.commerce.negotiation.operation.RuleInterpreterImpl |
addRelevantObject, getBidQty, getBidValue, getControlRuleAccessBean, getControlRuleDataBean, getLowestWinningBid, getRelevantObject, setBidQty, setControlRuleAccessBean, setControlRuleDataBean, setLowestWinningBid |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String TEXT_SEPARATOR
public static final java.lang.String TEXT_DELIMITER
Constructor Detail |
public OpenCryBidRuleInterpreterImpl()
Method Detail |
protected java.math.BigDecimal getIncrementFromRule()
public void populateDataBean() throws java.lang.Exception
protected java.lang.String priceRangesToText()
public void saveDataBean() throws java.lang.Exception
public void setBidValue(java.lang.String newBidValue)
protected java.util.Vector textToPriceRanges()
public boolean validate() throws java.lang.Exception
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.