public class FixedAmountCalculationRangeCmdImpl extends CalculationCmdImpl implements FixedAmountCalculationRangeCmd
The default implementation of FixedAmountCalculationRangeCmd.
It returns the value of the calculation range lookup result in the currency specified.
Commands used:
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
FixedAmountCalculationRangeCmdImpl()
Constructor for FixedAmountCalculationRangeCmdImpl.
|
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
getValue()
Returns the value.
|
void |
performExecute()
This method performs the business logic for this command.
|
void |
reset()
Resets the command properties.
|
void |
setBaseMonetaryValue(java.math.BigDecimal adBaseMonetaryValue)
Sets the base monetary value.
|
void |
setLookupNumber(java.math.BigDecimal adLookupNumber)
Sets the lookup number.
|
void |
setLookupResult(CalculationRangeLookupResultAccessBean aabLookupResult)
Sets the calculation range lookup result.
|
void |
setRange(CalculationRangeAccessBean aabRange)
Sets the calculation range.
|
getCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageIdgetPolicyId, getRequestProperties, setPolicyId, setRequestPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageIdgetPolicyId, getRequestProperties, setPolicyId, setRequestPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public FixedAmountCalculationRangeCmdImpl()
public void reset()
reset in interface com.ibm.websphere.command.Commandreset in class CalculationCmdImplCommand.reset()public java.math.BigDecimal getValue()
getValue in interface CalculationRangeCmdpublic void performExecute()
throws ECException
AbstractECTargetableCommandperformExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionECCommand.performExecute()public void setBaseMonetaryValue(java.math.BigDecimal adBaseMonetaryValue)
setBaseMonetaryValue in interface CalculationRangeCmdadBaseMonetaryValue - the base monetary value.public void setLookupNumber(java.math.BigDecimal adLookupNumber)
setLookupNumber in interface CalculationRangeCmdadLookupNumber - the lookup number.public void setLookupResult(CalculationRangeLookupResultAccessBean aabLookupResult)
setLookupResult in interface CalculationRangeCmdaabLookupResult - the calculation range lookup result.public void setRange(CalculationRangeAccessBean aabRange)
setRange in interface CalculationRangeCmdaabRange - the calculation range.