com.ibm.commerce.tools.experimentation.search

Class PromotionSearchDataBean

  • java.lang.Object
    • com.ibm.commerce.tools.experimentation.search.PromotionSearchDataBean
  • All Implemented Interfaces:
    java.io.Serializable


    public class PromotionSearchDataBean
    extends java.lang.Object
    implements java.io.Serializable
    This data bean contains a row of promotion data that is returned by the promotion search function implemented in PromotionSearchListDataBean.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      PromotionSearchDataBean()
      The default constructor for this class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Integer getId()
      This method returns the ID of this promotion.
      java.lang.String getName()
      This method returns the name of this promotion.
      void populate()
      This method populates this data bean.
      void setId(java.lang.Integer newId)
      This method sets the ID of this promotion.
      void setName(java.lang.String newName)
      This method sets the name of this promotion.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

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

      • PromotionSearchDataBean

        public PromotionSearchDataBean()
        The default constructor for this class.
    • Method Detail

      • getId

        public java.lang.Integer getId()
        This method returns the ID of this promotion.
        Returns:
        The ID of this promotion.
      • getName

        public java.lang.String getName()
        This method returns the name of this promotion.
        Returns:
        The name of this promotion.
      • populate

        public void populate()
        This method populates this data bean. Since a lazy fetch mechanism is used for this bean, nothing is done here. Override this method if a different implementation is required.
      • setId

        public void setId(java.lang.Integer newId)
        This method sets the ID of this promotion.
        Parameters:
        newId - The ID of this promotion.
      • setName

        public void setName(java.lang.String newName)
        This method sets the name of this promotion.
        Parameters:
        newName - The name of this promotion.