public class NumericRangeDataBean extends java.lang.Object implements NumericRangeInputDataBean, NumericRangeSmartDataBean
Constructor and Description |
---|
NumericRangeDataBean()
Constructs a NumericRangeDataBean.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFormattedIncrement()
Gets the formatted Increment
|
java.lang.String |
getFormattedLowerLimit()
Gets the formatted lower limit
|
java.lang.String |
getFormattedUpperLimit()
Gets the formatted upper limit
|
java.math.BigDecimal |
getIncrement()
Gets the required bid increment.
|
java.lang.String |
getIncrementForEdit()
Gets the Increment for edit
|
java.math.BigDecimal |
getLowerLimit()
Gets the lowerLimit of a bid price-range.
|
java.lang.String |
getLowerLimitForEdit()
Gets the lower limit for edit
|
java.math.BigDecimal |
getUpperLimit()
Gets the upperLimit of a bid price-range.
|
java.lang.String |
getUpperLimitForEdit()
Gets the upper limit for edit
|
void |
setCommandContext(CommandContext cmdContext)
Sets command context.
|
void |
setIncrement(java.math.BigDecimal newIncrement)
Sets the required bid increment.
|
void |
setLowerLimit(java.math.BigDecimal newLowerLimit)
Sets the lowerLimit of a bid price-range.
|
void |
setUpperLimit(java.math.BigDecimal newUpperLimit)
Sets the upperLimit of a bid price-range.
|
public NumericRangeDataBean()
public java.math.BigDecimal getIncrement()
getIncrement
in interface NumericRangeSmartDataBean
public java.math.BigDecimal getLowerLimit()
getLowerLimit
in interface NumericRangeSmartDataBean
public java.math.BigDecimal getUpperLimit()
getUpperLimit
in interface NumericRangeSmartDataBean
public void setIncrement(java.math.BigDecimal newIncrement)
setIncrement
in interface NumericRangeInputDataBean
newIncrement
- the minimum bid increment.public void setLowerLimit(java.math.BigDecimal newLowerLimit)
setLowerLimit
in interface NumericRangeInputDataBean
newLowerLimit
- the lower limit of a price rangepublic void setUpperLimit(java.math.BigDecimal newUpperLimit)
setUpperLimit
in interface NumericRangeInputDataBean
newUpperLimit
- the upper limit of a price range.public java.lang.String getFormattedLowerLimit()
public java.lang.String getLowerLimitForEdit()
public java.lang.String getFormattedUpperLimit()
public java.lang.String getUpperLimitForEdit()
public java.lang.String getFormattedIncrement()
public java.lang.String getIncrementForEdit()
public void setCommandContext(CommandContext cmdContext)
commandContext
- The command context.