public class UnitPriceCalculationScaleLookupCmdImpl extends CalculationCmdImpl implements UnitPriceCalculationScaleLookupCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT |
Constructor and Description |
---|
UnitPriceCalculationScaleLookupCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal | getBaseMonetaryValue()
Returns the base monetary value.
|
protected Item[] | getItems()
Returns the items.
|
java.math.BigDecimal | getLookupNumber()
Returns the lookup number.
|
protected java.math.BigDecimal | getLookupNumber(Item aItem)
Returns the lookup number of a particular item.
|
java.math.BigDecimal | getResultMultiplier()
Returns the result multiplier.
|
protected java.lang.Integer | getTaxCategoryId()
Returns the tax category of the calculation rule.
|
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 UnitPriceCalculationScaleLookupCmdImpl()
public void reset()
public java.math.BigDecimal getBaseMonetaryValue()
public java.math.BigDecimal getLookupNumber()
protected java.math.BigDecimal getLookupNumber(Item aItem) throws ECException
public java.math.BigDecimal getResultMultiplier()
protected java.lang.Integer getTaxCategoryId() throws ECException
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)
protected Item[] getItems()