public class NonDiscountedPriceCalculationScaleLookupCmdImpl extends CalculationCmdImpl implements NonDiscountedPriceCalculationScaleLookupCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT |
Constructor and Description |
---|
NonDiscountedPriceCalculationScaleLookupCmdImpl() |
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 CalculationRuleAccessBean | getRule()
Returns the calculation rule.
|
protected CalculationScaleAccessBean | getScale()
Returns the calculation scale.
|
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.
|
protected void | setBaseMonetaryValue(java.math.BigDecimal adBaseMonetaryValue)
Sets the base monetary value.
|
void | setItems(Item[] aItems)
Sets the items.
|
protected void | setLookupNumber(java.math.BigDecimal adLookupNumber)
Sets the lookup number.
|
protected void | setResultMultiplier(java.math.BigDecimal adResultMultiplier)
Sets the result multiplier.
|
void | setRule(CalculationRuleAccessBean aabRule)
Sets the calculation rule.
|
void | setScale(CalculationScaleAccessBean aabScale)
Sets the calculation scale.
|
protected void | setWeights(java.math.BigDecimal[] adWeights)
Set the weights of the items.
|
public static final java.lang.String COPYRIGHT
public NonDiscountedPriceCalculationScaleLookupCmdImpl()
public java.math.BigDecimal getBaseMonetaryValue()
protected Item[] getItems()
public java.math.BigDecimal getLookupNumber()
protected java.math.BigDecimal getLookupNumber(Item aItem) throws ECException
public java.math.BigDecimal getResultMultiplier()
protected CalculationRuleAccessBean getRule()
protected CalculationScaleAccessBean getScale()
protected java.lang.Integer getTaxCategoryId() throws ECException
public java.math.BigDecimal[] getWeights()
public void performExecute() throws ECException
public void reset()
protected void setBaseMonetaryValue(java.math.BigDecimal adBaseMonetaryValue)
public void setItems(Item[] aItems)
protected void setLookupNumber(java.math.BigDecimal adLookupNumber)
protected void setResultMultiplier(java.math.BigDecimal adResultMultiplier)
public void setRule(CalculationRuleAccessBean aabRule)
public void setScale(CalculationScaleAccessBean aabScale)
protected void setWeights(java.math.BigDecimal[] adWeights)