com.ibm.commerce.common.beans

Class CurrencyDataBean

  • java.lang.Object
    • com.ibm.commerce.beans.InputDataBeanImpl
      • com.ibm.commerce.beans.SmartDataBeanImpl
        • com.ibm.commerce.common.beans.CurrencyDataBean
  • All Implemented Interfaces:
    com.ibm.commerce.beans.DataBean, com.ibm.commerce.beans.InputDataBean, com.ibm.commerce.beans.SmartDataBean, CurrencyInputDataBean, CurrencySmartDataBean, java.io.Serializable


    public class CurrencyDataBean
    extends com.ibm.commerce.beans.SmartDataBeanImpl
    implements CurrencyInputDataBean, CurrencySmartDataBean
    This data bean represents the currency object with specified currency code and language Id, it will populate currency description.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The IBM copyright notice field.
      • Fields inherited from interface com.ibm.commerce.beans.DataBean

        emptyString
    • Constructor Summary

      Constructors 
      Constructor and Description
      CurrencyDataBean() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getCurrencyCode()
      This method gets the currency code.
      java.lang.String getDescription()
      This method gets currency description.
      java.lang.String getLanguageId()
      This method gets language Id.
      void populate()
      This method is used to populate the CurrencyDataBean.
      void setCurrencyCode(java.lang.String newCurrencyCode)
      This method sets the currency code.
      void setDescription(java.lang.String newDescription)
      This method sets the currency description.
      void setLanguageId(java.lang.String newLanguageId)
      This method sets the language Id.
      • Methods inherited from class com.ibm.commerce.beans.SmartDataBeanImpl

        fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
      • Methods inherited from class com.ibm.commerce.beans.InputDataBeanImpl

        getRequestProperties, setRequestProperties
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.ibm.commerce.beans.SmartDataBean

        getCommandContext, setCommandContext
      • Methods inherited from interface com.ibm.commerce.beans.InputDataBean

        getRequestProperties, setRequestProperties
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CurrencyDataBean

        public CurrencyDataBean()
    • Method Detail

      • getCurrencyCode

        public java.lang.String getCurrencyCode()
        This method gets the currency code.
        Specified by:
        getCurrencyCode in interface CurrencySmartDataBean
        Returns:
        istrCurrencyCode currency code
      • getDescription

        public java.lang.String getDescription()
        This method gets currency description.
        Specified by:
        getDescription in interface CurrencySmartDataBean
        Returns:
        istrDescription currency description
      • getLanguageId

        public java.lang.String getLanguageId()
        This method gets language Id.
        Specified by:
        getLanguageId in interface CurrencySmartDataBean
        Returns:
        istrLanguageId string type of language Id
      • populate

        public void populate()
                      throws java.lang.Exception
        This method is used to populate the CurrencyDataBean.
        Specified by:
        populate in interface com.ibm.commerce.beans.SmartDataBean
        Overrides:
        populate in class com.ibm.commerce.beans.SmartDataBeanImpl
        Throws:
        java.lang.Exception
      • setCurrencyCode

        public void setCurrencyCode(java.lang.String newCurrencyCode)
        This method sets the currency code.
        Specified by:
        setCurrencyCode in interface CurrencyInputDataBean
        Parameters:
        newCurrencyCode - new currency code
      • setDescription

        public void setDescription(java.lang.String newDescription)
        This method sets the currency description.
        Specified by:
        setDescription in interface CurrencyInputDataBean
        Parameters:
        newDescription - new currency description
      • setLanguageId

        public void setLanguageId(java.lang.String newLanguageId)
        This method sets the language Id.
        Specified by:
        setLanguageId in interface CurrencyInputDataBean
        Parameters:
        newLanguageId - new language Id.