public class QuantityCalculationScaleLookupCmdImpl extends CalculationCmdImpl implements QuantityCalculationScaleLookupCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT |
Constructor and Description |
---|
QuantityCalculationScaleLookupCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal | getBaseMonetaryValue()
Returns the base monetary value.
|
java.math.BigDecimal | getLookupNumber()
Returns the lookup number.
|
protected java.math.BigDecimal | getLookupNumber(Item aItem, java.lang.String astrUnit)
Returns the lookup number of a particular item.
|
java.math.BigDecimal | getResultMultiplier()
Returns the result multiplier.
|
java.math.BigDecimal[] | getWeights()
Returns the mathematical weights of the items for distributing values.
|
void | performExecute()
This method performs the business logic for this command.
|
void | reset()
Resets the command properties.
|
void | setItems(Item[] aItems)
Sets the items.
|
void | setRule(CalculationRuleAccessBean aabRule)
Sets the calculation rule.
|
void | setScale(CalculationScaleAccessBean aabScale)
Sets the calculation scale.
|
public static final java.lang.String COPYRIGHT
public QuantityCalculationScaleLookupCmdImpl()
public void reset()
public java.math.BigDecimal getBaseMonetaryValue()
public java.math.BigDecimal getLookupNumber()
protected java.math.BigDecimal getLookupNumber(Item aItem, java.lang.String astrUnit) throws ECException
public java.math.BigDecimal getResultMultiplier()
public java.math.BigDecimal[] getWeights()
public void performExecute() throws ECException
public void setItems(Item[] aItems)
public void setRule(CalculationRuleAccessBean aabRule)
public void setScale(CalculationScaleAccessBean aabScale)