com.ibm.commerce.marketingcenter.events.databeans

Class ProductComparisonStatisticsBean

  • java.lang.Object
    • com.ibm.commerce.marketingcenter.events.databeans.ProductComparisonStatisticsBean


  • public class ProductComparisonStatisticsBean
    extends java.lang.Object
    This class represents an entry of the product comparison statistics in the database, with getters and setters to access the fields in the PCSTATS table.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      java.lang.Long catGroupId
      The category ID field in the PCSTATS table.
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      java.lang.Integer pcClicks
      The product comparison clicks field in the PCSTATS table.
      java.lang.Integer pcViews
      The product comparison views field in the PCSTATS table.
      java.lang.Integer storeId
      The store ID field in the PCSTATS table.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getCatGroupId()
      Gets the category ID of this statistics.
      java.lang.Long getCatGroupIdAsLong()
      Gets the category ID of this statistics, in EJB attribute type.
      java.lang.String getPcClicks()
      Gets the number of product comparison clicks of this statistics.
      java.lang.Integer getPcClicksAsInteger()
      Gets the number of product comparison clicks of this statistics, in EJB attribute type.
      java.lang.String getPcViews()
      Gets the number of product comparison views of this statistics.
      java.lang.Integer getPcViewsAsInteger()
      Gets the number of product comparison views of this statistics, in EJB attribute type.
      java.lang.String getStoreId()
      Gets the store ID of this statistics.
      java.lang.Integer getStoreIdAsInteger()
      Gets the store ID of this statistics, in EJB attribute type.
      void populate(com.ibm.commerce.marketingcenter.events.objects.ProductComparisonStatisticsAccessBean statsAB)
      Populate the databean that includes all the data related to this statistics.
      void setCatGroupId(java.lang.String newCatGroupId)
      Sets the category ID of this statistics.
      void setCatGroupIdAsLong(java.lang.Long newCatGroupId)
      Sets the category ID of this statistics, in EJB attribute type.
      void setPcClicks(java.lang.String newPcClicks)
      Sets the number of product comparison clicks of this statistics.
      void setPcClicksAsInteger(java.lang.Integer newPcClicks)
      Sets the number of product comparison clicks of this statistics, in EJB attribute type.
      void setPcViews(java.lang.String newPcViews)
      Sets the number of product comparison views of this statistics.
      void setPcViewsAsInteger(java.lang.Integer newPcViews)
      Sets the number of product comparison views of this statistics, in EJB attribute type.
      void setStoreId(java.lang.String newStoreId)
      Sets the store ID of this statistics.
      void setStoreIdAsInteger(java.lang.Integer newStoreId)
      Sets the store ID of this statistics, in EJB attribute type.
      • Methods inherited from class java.lang.Object

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

      • catGroupId

        public java.lang.Long catGroupId
        The category ID field in the PCSTATS table.
      • COPYRIGHT

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

        public java.lang.Integer pcClicks
        The product comparison clicks field in the PCSTATS table.
      • pcViews

        public java.lang.Integer pcViews
        The product comparison views field in the PCSTATS table.
      • storeId

        public java.lang.Integer storeId
        The store ID field in the PCSTATS table.
    • Constructor Detail

      • ProductComparisonStatisticsBean

        public ProductComparisonStatisticsBean()
        Constructor for ProductComparisonStatisticsBean.
    • Method Detail

      • getCatGroupId

        public java.lang.String getCatGroupId()
        Gets the category ID of this statistics.
        Returns:
        category ID
      • getCatGroupIdAsLong

        public java.lang.Long getCatGroupIdAsLong()
        Gets the category ID of this statistics, in EJB attribute type.
        Returns:
        category ID
      • getPcClicks

        public java.lang.String getPcClicks()
        Gets the number of product comparison clicks of this statistics.
        Returns:
        number of product comparison clicks
      • getPcClicksAsInteger

        public java.lang.Integer getPcClicksAsInteger()
        Gets the number of product comparison clicks of this statistics, in EJB attribute type.
        Returns:
        number of product comparison clicks
      • getPcViews

        public java.lang.String getPcViews()
        Gets the number of product comparison views of this statistics.
        Returns:
        number of product comparison views
      • getPcViewsAsInteger

        public java.lang.Integer getPcViewsAsInteger()
        Gets the number of product comparison views of this statistics, in EJB attribute type.
        Returns:
        number of product comparison views
      • getStoreId

        public java.lang.String getStoreId()
        Gets the store ID of this statistics.
        Returns:
        store ID
      • getStoreIdAsInteger

        public java.lang.Integer getStoreIdAsInteger()
        Gets the store ID of this statistics, in EJB attribute type.
        Returns:
        store ID
      • populate

        public void populate(com.ibm.commerce.marketingcenter.events.objects.ProductComparisonStatisticsAccessBean statsAB)
                      throws java.lang.Exception
        Populate the databean that includes all the data related to this statistics.
        Parameters:
        statsAB - An instance of the product comparison object used to populate all the fields.
        Throws:
        java.lang.Exception - Thrown whenever an exception is encountered.
      • setCatGroupId

        public void setCatGroupId(java.lang.String newCatGroupId)
        Sets the category ID of this statistics.
        Parameters:
        newCatGroupId - category ID
      • setCatGroupIdAsLong

        public void setCatGroupIdAsLong(java.lang.Long newCatGroupId)
        Sets the category ID of this statistics, in EJB attribute type.
        Parameters:
        newCatGroupId - category ID
      • setPcClicks

        public void setPcClicks(java.lang.String newPcClicks)
        Sets the number of product comparison clicks of this statistics.
        Parameters:
        newPcClicks - number of product comparison clicks
      • setPcClicksAsInteger

        public void setPcClicksAsInteger(java.lang.Integer newPcClicks)
        Sets the number of product comparison clicks of this statistics, in EJB attribute type.
        Parameters:
        newPcClicks - number of product comparison clicks
      • setPcViews

        public void setPcViews(java.lang.String newPcViews)
        Sets the number of product comparison views of this statistics.
        Parameters:
        newPcViews - number of product comparison views
      • setPcViewsAsInteger

        public void setPcViewsAsInteger(java.lang.Integer newPcViews)
        Sets the number of product comparison views of this statistics, in EJB attribute type.
        Parameters:
        newPcViews - number of product comparison views
      • setStoreId

        public void setStoreId(java.lang.String newStoreId)
        Sets the store ID of this statistics.
        Parameters:
        newStoreId - store ID
      • setStoreIdAsInteger

        public void setStoreIdAsInteger(java.lang.Integer newStoreId)
        Sets the store ID of this statistics, in EJB attribute type.
        Parameters:
        newStoreId - store ID