public interface CalculationCmd extends BusinessPolicyCommand
This is the base interface that commands registered as calculation methods must extend.
A calculation method is essentially a command that can be referenced by components of the Calculation Framework. For example, a calculation code relies on the calculation methods for qualifications and calculations.
For the complete list of calculation methods, refer to the CALMETHOD table.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String |
NAME
The name of this interface.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCurrency()
Returns the currency to use during execution.
|
java.util.HashMap |
getCustomProperties()
Returns the custom properties as a HashMap.
|
java.lang.Object |
getCustomProperty(java.lang.String astrName)
Returns the value of a custom property.
|
java.sql.Timestamp |
getTimestamp()
Returns the timestamp to use during execution.
|
java.lang.Integer |
getUsageId()
Returns the calculation usage.
|
void |
setCurrency(java.lang.String astrCurrency)
Sets the currency to use during execution.
|
void |
setCustomProperties(java.util.HashMap ahshCustomProperties)
Sets the custom properties.
|
void |
setCustomProperty(java.lang.String astrName,
java.lang.Object aValue)
Sets the value of a custom property.
|
void |
setTimestamp(java.sql.Timestamp aTimestamp)
Sets the timestamp to use during execution.
|
void |
setUsageId(java.lang.Integer anUsageId)
Sets the calculation usage.
|
getPolicyId, getRequestProperties, setPolicyId, setRequestPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersstatic final java.lang.String COPYRIGHT
static final java.lang.String NAME
java.lang.String getCurrency()
java.util.HashMap getCustomProperties()
String).
Value: property value (class: Object).java.lang.Object getCustomProperty(java.lang.String astrName)
astrName - the property name.java.sql.Timestamp getTimestamp()
java.lang.Integer getUsageId()
void setCurrency(java.lang.String astrCurrency)
astrCurrency - the currency.void setCustomProperties(java.util.HashMap ahshCustomProperties)
ahshCustomProperties - the custom properties. Key: property name (class:
String). Value: property value (class: Object).void setCustomProperty(java.lang.String astrName,
java.lang.Object aValue)
astrName - the property name.aValue - the property value.void setTimestamp(java.sql.Timestamp aTimestamp)
aTimestamp - the timestamp.void setUsageId(java.lang.Integer anUsageId)
anUsageId - the calculation usage ID.