java.lang.Objectcom.ibm.commerce.price.utils.UnitAmountDataBeanImpl
com.ibm.commerce.price.utils.MonetaryAmountDataBean
com.ibm.commerce.price.beans.FormattedMonetaryAmountDataBean
A formatter bean used to format monetary amounts.
Field Summary |
Fields inherited from class com.ibm.commerce.price.utils.MonetaryAmountDataBean |
iCounterValueListPrefix, iCounterValueListSeparator, iCounterValueListSuffix |
Fields inherited from interface com.ibm.commerce.beans.InputDataBean |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.beans.DataBean |
emptyString |
Fields inherited from interface com.ibm.commerce.beans.SmartDataBean |
COPYRIGHT |
Constructor Summary | |
FormattedMonetaryAmountDataBean() Formatted monetary amount data bean default constructor. |
|
FormattedMonetaryAmountDataBean(MonetaryAmount aMonetaryAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLangId) Formatted monetary amount data bean constructor. |
Method Summary | |
java.math.BigDecimal | getAmount() Get the amount to be formatted. |
CommandContext | getCommandContext() Get the command context. |
java.lang.String | getCurrency() Get the currency of the monetary amount. |
TypedProperty | getRequestProperties() Get request properties. |
void | populate() Create the formatted monetary amount. |
void | setAmount(java.math.BigDecimal newAmount) Set the value of the monetary amount. |
void | setCommandContext(CommandContext commandContext) Set the command context. |
void | setCurrency(java.lang.String newCurrency) Set the monetary currency. |
void | setRequestProperties(TypedProperty param) Set request properties (not implemented). |
Methods inherited from class com.ibm.commerce.price.utils.MonetaryAmountDataBean |
getCounterValueListPrefix, getCounterValueListSeparator, getCounterValueListSuffix, getFormattedCounterValues, getPrimaryFormattedPrice, getPrimaryPrice, isShowCounterValues, setCounterValueListPrefix, setCounterValueListSeparator, setCounterValueListSuffix, setPrimaryPrice, setShowCounterValues, toString |
Methods inherited from class com.ibm.commerce.price.utils.UnitAmountDataBeanImpl |
formatAmount, getCustomizedString, getDescription, getLangId, getNumberUsage, getPrimaryAmount, getPrimaryFormattedAmount, getStoreAccessBean, getSymbol, roundAmount, setLangId, setNumberUsage, setPrimaryAmount, setStoreAccessBean, setUnitManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FormattedMonetaryAmountDataBean()
public FormattedMonetaryAmountDataBean(MonetaryAmount aMonetaryAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLangId)
Method Detail |
public java.math.BigDecimal getAmount()
public CommandContext getCommandContext()
public java.lang.String getCurrency()
public TypedProperty getRequestProperties()
public void populate() throws java.lang.Exception
public void setAmount(java.math.BigDecimal newAmount)
public void setCommandContext(CommandContext commandContext)
public void setCurrency(java.lang.String newCurrency)
public void setRequestProperties(TypedProperty param) throws java.lang.Exception
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.