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, setUsageId
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageId
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public FixedAmountCalculationRangeCmdImpl()
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class CalculationCmdImpl
Command.reset()
public java.math.BigDecimal getValue()
getValue
in interface CalculationRangeCmd
public void performExecute() throws ECException
AbstractECTargetableCommand
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
ECCommand.performExecute()
public void setBaseMonetaryValue(java.math.BigDecimal adBaseMonetaryValue)
setBaseMonetaryValue
in interface CalculationRangeCmd
adBaseMonetaryValue
- the base monetary value.public void setLookupNumber(java.math.BigDecimal adLookupNumber)
setLookupNumber
in interface CalculationRangeCmd
adLookupNumber
- the lookup number.public void setLookupResult(CalculationRangeLookupResultAccessBean aabLookupResult)
setLookupResult
in interface CalculationRangeCmd
aabLookupResult
- the calculation range lookup result.public void setRange(CalculationRangeAccessBean aabRange)
setRange
in interface CalculationRangeCmd
aabRange
- the calculation range.