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 |
|---|---|
void |
populateDataBean()
Populates the data bean object with a ControlRuleAccessBean object.
|
void |
saveDataBean()
Saves the databean back to a ControlRuleAccessBean, then to the database.
|
void |
setBidValue(java.lang.String newBidValue)
Sets a new bid value.
|
boolean |
validate()
validate
Validates an open-cry bid against the auction control rule.
|
addRelevantObject, getBidQty, getBidValue, getCommandContext, getControlRuleAccessBean, getControlRuleDataBean, getLowestWinningBid, getRelevantObject, setBidQty, setCommandContext, setControlRuleAccessBean, setControlRuleDataBean, setLowestWinningBidpublic static final java.lang.String COPYRIGHT
public static final java.lang.String TEXT_SEPARATOR
public static final java.lang.String TEXT_DELIMITER
public OpenCryBidRuleInterpreterImpl()
public void populateDataBean()
throws java.lang.Exception
populateDataBean in interface RuleInterpreterpopulateDataBean in class RuleInterpreterImpljava.lang.Exceptionpublic void saveDataBean()
throws java.lang.Exception
saveDataBean in interface RuleInterpretersaveDataBean in class RuleInterpreterImpljava.lang.Exception - The exception description.public void setBidValue(java.lang.String newBidValue)
setBidValue in interface RuleInterpretersetBidValue in class RuleInterpreterImplnewBidValue - java.lang.Stringpublic boolean validate()
throws java.lang.Exception
validate in interface RuleInterpretervalidate in class RuleInterpreterImpljava.lang.Exception