public abstract class RuleInterpreterImpl extends java.lang.Object implements RuleInterpreter
Modifier and Type | Field and Description |
---|---|
protected java.lang.String | bestBidValue
bestBidValue used in this instance
|
protected java.lang.String | bidQty
bidQty used in this instance
|
protected java.lang.String | bidValue
bidValue used in this instance
|
protected CommandContext | commandContext
commandContext used in this instance
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
protected ControlRuleDataBean | dataBean
ControlRuleDataBean used in this instance
|
protected java.lang.String | lowestWinningBid
lowestWinningBid used in this instance
|
protected java.util.Vector | objectList
Instance variable Object List
|
protected ControlRuleAccessBean | rule
ControlRuleAccessBean used in this instance
|
Constructor and Description |
---|
RuleInterpreterImpl()
Creates an OpenCryRuleInterpreter object.
|
Modifier and Type | Method and Description |
---|---|
void | addRelevantObject(java.lang.Object param)
addRelevantObject method comment.
|
java.lang.String | getBidQty()
Fetches bid quantity.
|
java.lang.String | getBidValue()
Fetches bid value.
|
CommandContext | getCommandContext()
Gets command context.
|
ControlRuleAccessBean | getControlRuleAccessBean()
Fetches a control rule.
|
ControlRuleDataBean | getControlRuleDataBean()
Fetches a control rule data bean.
|
java.lang.String | getLowestWinningBid()
Fetches the lowest winning bid.
|
java.lang.Object | getRelevantObject(int pos)
Fetches an object from list.
|
abstract void | populateDataBean()
Abstract method.
|
abstract void | saveDataBean()
Abstract method.
|
void | setBidQty(java.lang.String newBidQty)
Sets a new bid quantity.
|
void | setBidValue(java.lang.String newBidValue)
Sets a new bid value.
|
void | setCommandContext(CommandContext cmdContext)
Sets command context.
|
void | setControlRuleAccessBean(ControlRuleAccessBean param)
Sets a control rule.
|
void | setControlRuleDataBean(ControlRuleDataBean newControlRuleDataBean)
Setter method for controlRuleDataBean.
|
void | setLowestWinningBid(java.lang.String newLowestWinningBid)
Sets the lowest winning bid.
|
boolean | validate()
Determines whether a bid complies with a bid control rule.
|
public static final java.lang.String COPYRIGHT
protected java.util.Vector objectList
protected ControlRuleAccessBean rule
protected ControlRuleDataBean dataBean
protected java.lang.String bidQty
protected java.lang.String bidValue
protected java.lang.String bestBidValue
protected java.lang.String lowestWinningBid
protected CommandContext commandContext
public RuleInterpreterImpl()
public void addRelevantObject(java.lang.Object param)
public java.lang.String getBidQty()
public java.lang.String getBidValue()
public ControlRuleAccessBean getControlRuleAccessBean()
public ControlRuleDataBean getControlRuleDataBean()
public java.lang.String getLowestWinningBid()
public java.lang.Object getRelevantObject(int pos)
public abstract void populateDataBean() throws java.lang.Exception
public abstract void saveDataBean() throws java.lang.Exception
public void setBidQty(java.lang.String newBidQty)
public void setBidValue(java.lang.String newBidValue)
public void setControlRuleAccessBean(ControlRuleAccessBean param)
public void setControlRuleDataBean(ControlRuleDataBean newControlRuleDataBean)
public void setLowestWinningBid(java.lang.String newLowestWinningBid)
public boolean validate() throws java.lang.Exception
public void setCommandContext(CommandContext cmdContext)
public CommandContext getCommandContext()