com.ibm.commerce.catalog.beans

Class RelatedProductDataBean

  • All Implemented Interfaces:
    com.ibm.commerce.catalog.beans.RelatedProductInputDataBean, com.ibm.commerce.catalog.beans.RelatedProductSmartDataBean, java.io.Serializable


    public class RelatedProductDataBean
    extends RelatedCatalogEntryAccessBean
    implements com.ibm.commerce.catalog.beans.RelatedProductInputDataBean, com.ibm.commerce.catalog.beans.RelatedProductSmartDataBean
    This bean represents a related Product in a merchandising association. This bean maps to the MASSOCCECE 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

      • RelatedProductDataBean

        public RelatedProductDataBean()
        Creates an empty RelatedProductDataBean.
      • RelatedProductDataBean

        public RelatedProductDataBean(RelatedCatalogEntryAccessBean abRelCatEntry)
        Creates a RelatedProductDataBean from a RelatedCatalogEntryAccessBean.
        Parameters:
        abRelCatEntry - the related catalog entry,
      • RelatedProductDataBean

        public RelatedProductDataBean(RelatedCatalogEntryAccessBean abRelCatEntry,
                                      CommandContext aCommandContext)
        Creates a RelatedProductDataBean from a RelatedCatalogEntryAccessBean and a command context.
        Parameters:
        abRelCatEntry - the catalog entry access bean.
        aCommandContext - the command context.
    • Method Detail

      • getProduct

        public ProductDataBean getProduct()
        Returns a bean that represents the related Product.
        Specified by:
        getProduct in interface com.ibm.commerce.catalog.beans.RelatedProductSmartDataBean
        Returns:
        the related Product.
      • setProduct

        public void setProduct(ProductDataBean abnProduct)
        Sets the related Product.
        Specified by:
        setProduct in interface com.ibm.commerce.catalog.beans.RelatedProductInputDataBean
        Parameters:
        abnProduct - the related Product.