com.ibm.commerce.catalog.beans

Class RelatedCategoryDataBean

  • All Implemented Interfaces:
    com.ibm.commerce.catalog.beans.RelatedCategoryInputDataBean, com.ibm.commerce.catalog.beans.RelatedCategorySmartDataBean, java.io.Serializable


    public class RelatedCategoryDataBean
    extends RelatedCatalogGroupAccessBean
    implements com.ibm.commerce.catalog.beans.RelatedCategoryInputDataBean, com.ibm.commerce.catalog.beans.RelatedCategorySmartDataBean
    This databean represents the merchandising association between a category and another category. This bean maps to the MASSOCGPGP database table.

    You can find more information about data beans in the WebSphere Commerce data beans topic in the Information Center.

    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

      • RelatedCategoryDataBean

        public RelatedCategoryDataBean()
        Creates an empty databean for the merchandising association between two categories.
      • RelatedCategoryDataBean

        public RelatedCategoryDataBean(RelatedCatalogGroupAccessBean abRelCatGroup)
        Creates the databean that represents the merchandising association between two categories from its access bean.
        Parameters:
        abRelCatGroup - The access bean that represents the merchandising association between two categories
      • RelatedCategoryDataBean

        public RelatedCategoryDataBean(RelatedCatalogGroupAccessBean abRelCatGroup,
                                       CommandContext aCommandContext)
        Creates the databean that represents the merchandising association between two categories from its access bean and the command context.
        Parameters:
        abRelCatGroup - The access bean that represents the merchandising association between two categories
        aCommandContext - the command context
    • Method Detail

      • getCategory

        public CategoryDataBean getCategory()
        Returns a bean that represents the related category.
        Specified by:
        getCategory in interface com.ibm.commerce.catalog.beans.RelatedCategorySmartDataBean
        Returns:
        CategoryDataBean the related category bean
      • setCategory

        public void setCategory(CategoryDataBean abnCategory)
        Sets the related category.
        Specified by:
        setCategory in interface com.ibm.commerce.catalog.beans.RelatedCategoryInputDataBean
        Parameters:
        abnCategory - the related category bean