com.ibm.commerce.catalog.beans

Class CatalogEntryClassificationCodeDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.catalog.beans.CatalogEntryClassificationCodeInputDataBean, com.ibm.commerce.catalog.beans.CatalogEntryClassificationCodeSmartDataBean, Delegator, java.io.Serializable


    public class CatalogEntryClassificationCodeDataBean
    extends com.ibm.commerce.catalog.beansrc.CatalogEntryClassificationCodeDataBeanBase
    implements com.ibm.commerce.catalog.beans.CatalogEntryClassificationCodeInputDataBean, com.ibm.commerce.catalog.beans.CatalogEntryClassificationCodeSmartDataBean
    Holds the classification code and domain (such as UNSPSC, SPSC, and so on) associated with a catalog entry. This data bean maps to the CATCLSFCOD database table.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • CatalogEntryClassificationCodeDataBean

        public CatalogEntryClassificationCodeDataBean(java.lang.String aCatEntryId,
                                                      java.lang.String aDomain)
        Constructs a CatalogEntryClassificationCodeDataBean from a catalog entry and a classification domain.
        Parameters:
        aCatEntryId - the catalog entry ID.
        aDomain - the domain to which this code refers.
    • Method Detail

      • getDataBeanKeyCatEntryId

        public java.lang.String getDataBeanKeyCatEntryId()
        Gets the primary key of the catalog entry.
        Specified by:
        getDataBeanKeyCatEntryId in interface com.ibm.commerce.catalog.beans.CatalogEntryClassificationCodeSmartDataBean
        Returns:
        the primary key of the catalog entry
      • getDataBeanKeyDomain

        public java.lang.String getDataBeanKeyDomain()
        Gets the classification domain.
        Specified by:
        getDataBeanKeyDomain in interface com.ibm.commerce.catalog.beans.CatalogEntryClassificationCodeSmartDataBean
        Returns:
        the domain
      • setCommandContext

        public void setCommandContext(CommandContext aCommandContext)
        Sets the command context.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        aCommandContext - the command context
      • setDataBeanKeyCatEntryId

        public void setDataBeanKeyCatEntryId(java.lang.String aCatEntryId)
        Sets the primary key of the catalog entry.
        Specified by:
        setDataBeanKeyCatEntryId in interface com.ibm.commerce.catalog.beans.CatalogEntryClassificationCodeInputDataBean
        Parameters:
        aCatEntryId - the catalog entry
      • setDataBeanKeyDomain

        public void setDataBeanKeyDomain(java.lang.String aDomain)
        Sets the classification domain. The classification domain value must be equal to an entry in the CLASIFCODE database table. *
        Specified by:
        setDataBeanKeyDomain in interface com.ibm.commerce.catalog.beans.CatalogEntryClassificationCodeInputDataBean
        Parameters:
        aDomain - the domain