Class CatalogEntryClassificationCodeDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean,,, Delegator,

    public class CatalogEntryClassificationCodeDataBean
    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


        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.
        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
        the primary key of the catalog entry
      • getDataBeanKeyDomain

        public java.lang.String getDataBeanKeyDomain()
        Gets the classification domain.
        Specified by:
        getDataBeanKeyDomain in interface
        the domain
      • setCommandContext

        public void setCommandContext(CommandContext aCommandContext)
        Sets the command context.
        Specified by:
        setCommandContext in interface SmartDataBean
        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
        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
        aDomain - the domain