java.lang.Objectcom.ibm.commerce.price.utils.UnitAmountDataBeanImpl
com.ibm.commerce.price.utils.QuantityAmountDataBeanImpl
com.ibm.commerce.price.beans.FormattedQuantityAmountDataBean
A formatter bean used to format quantity amounts.
Field Summary |
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 | |
FormattedQuantityAmountDataBean() Formatted quantity amount data bean default constructor. |
|
FormattedQuantityAmountDataBean(QuantityAmount aQuantityAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLangId) Formatted quantity amount data bean constructor. |
Method Summary | |
java.lang.Double | getAmount() Get the amount to be formatted. |
CommandContext | getCommandContext() Get the command context. |
TypedProperty | getRequestProperties() Get request properties. |
java.lang.String | getUnit() Get the unit of the quantity amount. |
void | populate() Create the formatted quantity amount. |
void | setAmount(java.lang.Double newAmount) Set the value of the quantity amount. |
void | setCommandContext(CommandContext commandContext) Set the command context. |
void | setRequestProperties(TypedProperty param) Set request properties (not implemented). |
void | setUnit(java.lang.String newUnit) Set the quantity unit. |
Methods inherited from class com.ibm.commerce.price.utils.QuantityAmountDataBeanImpl |
getFormattedQuantity, getQuantity, setQuantity |
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, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FormattedQuantityAmountDataBean() throws ECSystemException
public FormattedQuantityAmountDataBean(QuantityAmount aQuantityAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLangId) throws ECSystemException
Method Detail |
public java.lang.Double getAmount()
public CommandContext getCommandContext()
public TypedProperty getRequestProperties()
public java.lang.String getUnit()
public void populate() throws java.lang.Exception
public void setAmount(java.lang.Double newAmount)
public void setCommandContext(CommandContext commandContext)
public void setRequestProperties(TypedProperty param) throws java.lang.Exception
public void setUnit(java.lang.String newUnit)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.