public class OpenCryBidRuleInterpreterImpl extends RuleInterpreterImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | TEXT_DELIMITER
Text delimiter.
|
static java.lang.String | TEXT_SEPARATOR
Text separator.
|
Constructor and Description |
---|
OpenCryBidRuleInterpreterImpl()
Creates an OpenCryBidRuleInterpreterImpl object.
|
Modifier and Type | Method and Description |
---|---|
protected java.math.BigDecimal | getIncrementFromRule()
Returns the increment associated with a control-rule price range.
|
void | populateDataBean()
Populates the data bean 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()
Saves the databean 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.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String TEXT_SEPARATOR
public static final java.lang.String TEXT_DELIMITER
public OpenCryBidRuleInterpreterImpl()
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