public interface CalculationScaleLookupCmd extends CalculationCmd
Set a calculation scale and a list of items first. This command will calculate the corresponding lookup number, base monetary value and result multiplier, plus the mathematical weight of each item for distributing values.
For more information, see CalculationRuleCalculateCmdImpl.
This is the base interface that commands registered as calculation methods of type "CalculationScaleLookup" must extend. These commands include:
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String | NAME
The name of this interface.
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal | getBaseMonetaryValue()
Returns the base monetary value.
|
java.math.BigDecimal | getLookupNumber()
Returns the lookup number.
|
java.math.BigDecimal | getResultMultiplier()
Returns the result multiplier.
|
java.math.BigDecimal[] | getWeights()
Returns the mathematical weights of the items for distributing values.
|
void | setItems(Item[] aItems)
Sets the items.
|
void | setRule(CalculationRuleAccessBean aabRule)
Sets the calculation rule.
|
void | setScale(CalculationScaleAccessBean aabScale)
Sets the calculation scale.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
java.math.BigDecimal getBaseMonetaryValue()
java.math.BigDecimal getLookupNumber()
java.math.BigDecimal getResultMultiplier()
java.math.BigDecimal[] getWeights()
void setItems(Item[] aItems)
void setRule(CalculationRuleAccessBean aabRule)
void setScale(CalculationScaleAccessBean aabScale)