com.ibm.commerce.negotiation.beans
Class OpenCryBidControlRuleDataBean

java.lang.Object
  |
  +--com.ibm.commerce.negotiation.beans.ControlRuleDataBean
        |
        +--com.ibm.commerce.negotiation.beans.OpenCryBidControlRuleDataBean
All Implemented Interfaces:
CommandDataBean, ControlRuleInputDataBean, ControlRuleSmartDataBean, DataBean, InputDataBean, OpenCryBidControlRuleInputDataBean, OpenCryBidControlRuleSmartDataBean, java.io.Serializable

public class OpenCryBidControlRuleDataBean
extends ControlRuleDataBean
implements OpenCryBidControlRuleInputDataBean, OpenCryBidControlRuleSmartDataBean

Provides access to the fields of an Open Cry bid control rule.

See Also:
SealedBidControlRuleDataBean, ControlRuleDataBean, Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
protected  java.lang.String minQuant
           
protected  java.lang.String minValue
           
protected  NumericRangeDataBean[] priceRanges
           
 
Fields inherited from class com.ibm.commerce.negotiation.beans.ControlRuleDataBean
commandInterfaceName, id, ownerId, ruleDesc, ruleInterpreterClassId, ruleName, ruleType
 
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
 
Constructor Summary
OpenCryBidControlRuleDataBean()
          Constructs an OpenCryBidControlRuleDataBean.
 
Method Summary
 java.lang.String getCommandInterfaceName()
          Gets the commandInterfaceName.
 java.lang.String getMinQuant()
          Gets the minimum bid quantity from a rule.
 java.lang.String getMinValue()
          Gets the minimum bid value.
 NumericRangeDataBean[] getPriceRanges()
          Gets an array of NumericRangeDataBean price-range objects.
 void setCommandInterfaceName(java.lang.String ifname)
          Sets the commandInterfaceName.
 void setMinQuant(java.lang.String newMinQuant)
          Sets the minimum bid quantity.
 void setMinValue(java.lang.String newMinValue)
          Sets the minimum bid value.
 void setPriceRanges(NumericRangeDataBean[] newPriceRanges)
          Loads an array of price-range (NumericRangeDataBean) objects.
 
Methods inherited from class com.ibm.commerce.negotiation.beans.ControlRuleDataBean
getId, getOwnerId, getRequestProperties, getRuleDesc, getRuleInterpreterClassId, getRuleName, getRuleType, setId, setOwnerId, setRequestProperties, setRuleDesc, setRuleInterpreterClassId, setRuleName, setRuleType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

minQuant

protected java.lang.String minQuant

minValue

protected java.lang.String minValue

priceRanges

protected NumericRangeDataBean[] priceRanges
Constructor Detail

OpenCryBidControlRuleDataBean

public OpenCryBidControlRuleDataBean()
Constructs an OpenCryBidControlRuleDataBean.
Method Detail

getCommandInterfaceName

public java.lang.String getCommandInterfaceName()
Gets the commandInterfaceName.
Specified by:
getCommandInterfaceName in interface OpenCryBidControlRuleSmartDataBean
Overrides:
getCommandInterfaceName in class ControlRuleDataBean
Returns:
if not null, the commandInterfaceName; otherwise OpenCryBidControlRuleBeanCmd.NAME.

getMinQuant

public java.lang.String getMinQuant()
Gets the minimum bid quantity from a rule.
Specified by:
getMinQuant in interface OpenCryBidControlRuleSmartDataBean
Returns:
the minimum bid quantity.

getMinValue

public java.lang.String getMinValue()
Gets the minimum bid value.
Specified by:
getMinValue in interface OpenCryBidControlRuleSmartDataBean
Returns:
the minumum bid value.

getPriceRanges

public NumericRangeDataBean[] getPriceRanges()
Gets an array of NumericRangeDataBean price-range objects.
Specified by:
getPriceRanges in interface OpenCryBidControlRuleSmartDataBean
Returns:
array of NumericRangeDataBean (price range) objects.

setCommandInterfaceName

public void setCommandInterfaceName(java.lang.String ifname)
Sets the commandInterfaceName.
Specified by:
setCommandInterfaceName in interface OpenCryBidControlRuleInputDataBean
Overrides:
setCommandInterfaceName in class ControlRuleDataBean
Parameters:
ifname - the new command interface name.

setMinQuant

public void setMinQuant(java.lang.String newMinQuant)
Sets the minimum bid quantity.
Specified by:
setMinQuant in interface OpenCryBidControlRuleInputDataBean
Parameters:
newMinQuant - the minimum bid quantity.

setMinValue

public void setMinValue(java.lang.String newMinValue)
Sets the minimum bid value.
Specified by:
setMinValue in interface OpenCryBidControlRuleInputDataBean
Parameters:
newMinValue - the minimum bid value.

setPriceRanges

public void setPriceRanges(NumericRangeDataBean[] newPriceRanges)
Loads an array of price-range (NumericRangeDataBean) objects.
Specified by:
setPriceRanges in interface OpenCryBidControlRuleInputDataBean
Parameters:
newPriceRanges - an array of price-range (NumericRangeDataBean) objects.