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, setLowestWinningBid
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()
public void populateDataBean() throws java.lang.Exception
populateDataBean
in interface RuleInterpreter
populateDataBean
in class RuleInterpreterImpl
java.lang.Exception
public void saveDataBean() throws java.lang.Exception
saveDataBean
in interface RuleInterpreter
saveDataBean
in class RuleInterpreterImpl
java.lang.Exception
- The exception description.public void setBidValue(java.lang.String newBidValue)
setBidValue
in interface RuleInterpreter
setBidValue
in class RuleInterpreterImpl
newBidValue
- java.lang.Stringpublic boolean validate() throws java.lang.Exception
validate
in interface RuleInterpreter
validate
in class RuleInterpreterImpl
java.lang.Exception