public abstract class CalculationCmdImpl extends BusinessPolicyCommandImpl implements CalculationCmd
CalculationCmd
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
NAME
Constructor and Description |
---|
CalculationCmdImpl()
Constructor for CalculationCmdImpl.
|
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 |
reset()
This method is called after a command has been executed.
|
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, setRequestProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, 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
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public CalculationCmdImpl()
public java.lang.String getCurrency()
getCurrency
in interface CalculationCmd
public java.util.HashMap getCustomProperties()
getCustomProperties
in interface CalculationCmd
String
).
Value: property value (class: Object
).public java.lang.Object getCustomProperty(java.lang.String astrName)
getCustomProperty
in interface CalculationCmd
astrName
- the property name.public java.sql.Timestamp getTimestamp()
getTimestamp
in interface CalculationCmd
public java.lang.Integer getUsageId()
getUsageId
in interface CalculationCmd
public void reset()
AbstractECTargetableCommand
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
Command.reset()
public void setCurrency(java.lang.String astrCurrency)
setCurrency
in interface CalculationCmd
astrCurrency
- the currency.public void setCustomProperties(java.util.HashMap ahshCustomProperties)
setCustomProperties
in interface CalculationCmd
ahshCustomProperties
- the custom properties. Key: property name (class:
String
). Value: property value (class: Object
).public void setCustomProperty(java.lang.String astrName, java.lang.Object aValue)
setCustomProperty
in interface CalculationCmd
astrName
- the property name.aValue
- the property value.public void setTimestamp(java.sql.Timestamp aTimestamp)
setTimestamp
in interface CalculationCmd
aTimestamp
- the timestamp.public void setUsageId(java.lang.Integer anUsageId)
setUsageId
in interface CalculationCmd
anUsageId
- the calculation usage ID.