public abstract class CalculationCmdImpl extends BusinessPolicyCommandImpl implements CalculationCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
Constructor and Description |
---|
CalculationCmdImpl()
Constructor for CalculationCmdImpl.
|
Modifier and Type | Method and Description |
---|---|
protected CalculationCmd | createCommand(CalculationMethodAccessBean aabMethod)
Creates the command corresponding to a calculation method.
|
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.
|
protected void | recycleCommand(CalculationCmd aCalculationCmd, CalculationMethodAccessBean aabMethod)
Saves a command created using the createCommand method.
|
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.
|
public static final java.lang.String COPYRIGHT
public CalculationCmdImpl()
protected CalculationCmd createCommand(CalculationMethodAccessBean aabMethod) throws ECException
protected void recycleCommand(CalculationCmd aCalculationCmd, CalculationMethodAccessBean aabMethod) throws ECException
public java.lang.String getCurrency()
public java.util.HashMap getCustomProperties()
public java.lang.Object getCustomProperty(java.lang.String astrName)
public java.sql.Timestamp getTimestamp()
public java.lang.Integer getUsageId()
public void reset()
public void setCurrency(java.lang.String astrCurrency)
public void setCustomProperties(java.util.HashMap ahshCustomProperties)
public void setCustomProperty(java.lang.String astrName, java.lang.Object aValue)
public void setTimestamp(java.sql.Timestamp aTimestamp)
public void setUsageId(java.lang.Integer anUsageId)