public class FormattedQuantityAmountDataBean extends QuantityAmountDataBeanImpl implements FormattedQuantityAmountInputDataBean, FormattedQuantityAmountSmartDataBean
Constructor and Description |
---|
FormattedQuantityAmountDataBean()
Formatted quantity amount data bean default constructor.
|
FormattedQuantityAmountDataBean(QuantityAmount aQuantityAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLangId)
Formatted quantity amount data bean constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Double | getAmount()
Gets the amount to be formatted.
|
CommandContext | getCommandContext()
Gets the command context.
|
TypedProperty | getRequestProperties()
Gets request properties.
|
java.lang.String | getUnit()
Gets the unit of the quantity amount.
|
void | populate()
This method is used to create the formatted quantity amount.
|
void | setAmount(java.lang.Double newAmount)
Sets the value of the quantity amount.
|
void | setCommandContext(CommandContext commandContext)
Sets the command context.
|
void | setRequestProperties(TypedProperty param)
Sets request properties (not implemented).
|
void | setUnit(java.lang.String newUnit)
Sets the quantity unit.
|
public FormattedQuantityAmountDataBean() throws ECSystemException
public FormattedQuantityAmountDataBean(QuantityAmount aQuantityAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLangId) throws ECSystemException
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)