public class CategorizedMonetaryAmountsDataBean extends MonetaryAmountDataBean implements CategorizedMonetaryAmountsInputDataBean, CategorizedMonetaryAmountsSmartDataBean
Constructor and Description |
---|
CategorizedMonetaryAmountsDataBean()
CategorizedMonetaryAmountFormatter constructor.
|
CategorizedMonetaryAmountsDataBean(MonetaryAmount aMonetaryAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLangId, java.lang.String aCategoryName)
CategorizedMonetaryAmountFormatter constructor.
|
CategorizedMonetaryAmountsDataBean(MonetaryAmount aMonetaryAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLangId, java.lang.String aCategoryName, java.util.Hashtable aDescHash, java.util.Hashtable aAmountHash, java.util.Hashtable aAmountDBHash)
CategorizedMonetaryAmountFormatter constructor.
|
CategorizedMonetaryAmountsDataBean(MonetaryAmount aMonetaryAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLangId, java.lang.String aCategoryName, java.util.Hashtable aDescHash, java.util.Hashtable aAmountHash, java.util.Hashtable aAmountDBHash, java.util.HashMap aRateHash)
CategorizedMonetaryAmountFormatter constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getACategorizedAmountWithName(java.lang.String aCategory)
Returns the monetary amount and name of a particular category.
|
java.lang.String | getACategorizedValueWithName(java.lang.String aCategory)
Returns the monetary value and name of a particular category.
|
java.lang.String | getAllCategorizedAmountsWithNames()
Returns all of the categorized monetary amounts and names.
|
java.lang.String | getAllCategorizedAmountsWithNamesAndRates()
Returns all of the categorized monetary amounts ,names and rates.
|
java.lang.String | getAllCategorizedValuesWithNames()
Returns all of the categorized monetary values and names.
|
java.lang.String | getAllCategorizedValuesWithNamesAndRates()
Returns all of the categorized monetary values , names and rates.
|
java.util.Hashtable | getCategorizedAmountsAndNames()
Gets the categorized names and monetary amounts hashtable.
|
java.util.Hashtable | getCategorizedAmountsDBAndNames()
Gets the categorized names and MonetaryAmountDataBean hashtable.
|
java.util.Hashtable | getCategorizedDescriptionsAndNames()
Gets the categorized descriptions and names hashtable.
|
java.util.HashMap | getCategorizedRatesAndNames()
Gets the categorized rates and names hashtable.
|
java.math.BigDecimal | getCategoryAmount()
This method gets the category monetary value.
|
java.lang.String | getCategoryName()
Gets the category name.
|
CommandContext | getCommandContext()
Gets the command context.
|
java.lang.String | getCurrency()
Gets the monetary currency.
|
int | getNoOfCategories()
Returns the total number of categories.
|
TypedProperty | getRequestProperties()
Gets the request properties.
|
java.lang.String | getTotalCategorizedAmount()
Returns the total of all the categorized amounts.
|
java.lang.String | getTotalCategorizedValue()
Returns the total of all the categorized amount values.
|
void | populate()
This method is used to create the hashtable that contains the categories and their corresponding monetary amounts.
|
void | setCategorizedAmountsAndNames(java.util.Hashtable aCategorizedAmounts)
Sets the categorized names and monetary amounts hashtable.
|
void | setCategorizedAmountsDBAndNames(java.util.Hashtable aCategorizedAmountsDB)
Sets the categorized names and MonetaryAmountDataBean hashtable.
|
void | setCategorizedDescriptionsAndNames(java.util.Hashtable aCategorizedDescriptionsAndNames)
Sets the categorized descriptions and names hashtable.
|
void | setCategorizedRatesAndNames(java.util.HashMap aCategorizedRatesAndNames)
Sets the categorized rates and names hashtable.
|
void | setCategorizedValuesAndNames(java.util.Hashtable aCategorizedValues)
Sets the categorized values and names hashtable.
|
void | setCategoryAmount(java.math.BigDecimal aCategoryAmount)
Sets the category value.
|
void | setCategoryName(java.lang.String aCgryName)
Sets the category name.
|
void | setCommandContext(CommandContext commandContext)
Sets the command context.
|
void | setCurrency(java.lang.String aCurrency)
Sets the monetary currency.
|
void | setRequestProperties(TypedProperty param)
Sets the request properties.
|
java.lang.String | toString()
Returns all of the categorized monetary amounts or monetary values and their corresponding category names.
|
public CategorizedMonetaryAmountsDataBean()
public CategorizedMonetaryAmountsDataBean(MonetaryAmount aMonetaryAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLangId, java.lang.String aCategoryName)
public CategorizedMonetaryAmountsDataBean(MonetaryAmount aMonetaryAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLangId, java.lang.String aCategoryName, java.util.Hashtable aDescHash, java.util.Hashtable aAmountHash, java.util.Hashtable aAmountDBHash)
public CategorizedMonetaryAmountsDataBean(MonetaryAmount aMonetaryAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLangId, java.lang.String aCategoryName, java.util.Hashtable aDescHash, java.util.Hashtable aAmountHash, java.util.Hashtable aAmountDBHash, java.util.HashMap aRateHash)
public java.lang.String getACategorizedAmountWithName(java.lang.String aCategory)
public java.lang.String getACategorizedValueWithName(java.lang.String aCategory)
public java.lang.String getAllCategorizedAmountsWithNames()
public java.lang.String getAllCategorizedAmountsWithNamesAndRates()
public java.lang.String getAllCategorizedValuesWithNames()
public java.lang.String getAllCategorizedValuesWithNamesAndRates()
public java.util.Hashtable getCategorizedAmountsAndNames()
public java.util.Hashtable getCategorizedAmountsDBAndNames()
public java.util.Hashtable getCategorizedDescriptionsAndNames()
public java.util.HashMap getCategorizedRatesAndNames()
public java.math.BigDecimal getCategoryAmount()
public java.lang.String getCategoryName()
public CommandContext getCommandContext()
public java.lang.String getCurrency()
public int getNoOfCategories()
public TypedProperty getRequestProperties()
public java.lang.String getTotalCategorizedAmount()
public java.lang.String getTotalCategorizedValue()
public void populate() throws java.lang.Exception
public void setCategorizedAmountsAndNames(java.util.Hashtable aCategorizedAmounts)
public void setCategorizedAmountsDBAndNames(java.util.Hashtable aCategorizedAmountsDB)
public void setCategorizedDescriptionsAndNames(java.util.Hashtable aCategorizedDescriptionsAndNames)
public void setCategorizedValuesAndNames(java.util.Hashtable aCategorizedValues)
public void setCategorizedRatesAndNames(java.util.HashMap aCategorizedRatesAndNames)
public void setCategoryAmount(java.math.BigDecimal aCategoryAmount)
public void setCategoryName(java.lang.String aCgryName)
public void setCommandContext(CommandContext commandContext)
public void setCurrency(java.lang.String aCurrency)
public void setRequestProperties(TypedProperty param) throws java.lang.Exception
public java.lang.String toString()