com.ibm.commerce.catalog.beans

Class RelatedItemDataBean

  • All Implemented Interfaces:
    com.ibm.commerce.catalog.beans.RelatedItemInputDataBean, com.ibm.commerce.catalog.beans.RelatedItemSmartDataBean, java.io.Serializable


    public class RelatedItemDataBean
    extends RelatedCatalogEntryAccessBean
    implements com.ibm.commerce.catalog.beans.RelatedItemInputDataBean, com.ibm.commerce.catalog.beans.RelatedItemSmartDataBean
    This bean represents a related Item 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

      • RelatedItemDataBean

        public RelatedItemDataBean()
        Creates an empty RelatedItemDataBean.
      • RelatedItemDataBean

        public RelatedItemDataBean(RelatedCatalogEntryAccessBean abRelCatEntry)
        Creates a RelatedItemDataBean from a RelatedCatalogEntryAccessBean.
        Parameters:
        abRelCatEntry - the related catalog entry access bean.
      • RelatedItemDataBean

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

      • getItem

        public ItemDataBean getItem()
        Returns a bean that represents the related Item.
        Specified by:
        getItem in interface com.ibm.commerce.catalog.beans.RelatedItemSmartDataBean
        Returns:
        the related Item.
      • setItem

        public void setItem(ItemDataBean abnItem)
        Sets the related Item.
        Specified by:
        setItem in interface com.ibm.commerce.catalog.beans.RelatedItemInputDataBean
        Parameters:
        abnItem - the related Item.