com.ibm.commerce.marketingcenter.events.databeans
Class ProductAdvisorStatisticsBean

java.lang.Object
  |
  +--com.ibm.commerce.marketingcenter.events.databeans.ProductAdvisorStatisticsBean

public class ProductAdvisorStatisticsBean
extends java.lang.Object

This class represents an entry of the product advisor statistics in the database, with getters and setters to access the fields in the PASTATS table.


Field Summary
 java.lang.Long catGroupId
          The category ID field in the PASTATS table.
static java.lang.String COPYRIGHT
          IBM copyright notice field.
 java.lang.Integer metaphorTypeId
          The metaphor type ID field in the PASTATS table.
 java.lang.Integer paCount
          The product advisor count field in the PASTATS table.
 java.lang.Integer storeId
          The store ID field in the PASTATS table.
 
Constructor Summary
ProductAdvisorStatisticsBean()
          Constructor for ProductAdvisorStatisticsBean.
 
Method Summary
 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 getMetaphorTypeId()
          Gets the metaphor type ID of this statistics.
 java.lang.Integer getMetaphorTypeIdAsInteger()
          Gets the metaphor type ID of this statistics, in EJB attribute type.
 java.lang.String getPaCount()
          Gets the product advisor count of this statistics.
 java.lang.Integer getPaCountAsInteger()
          Gets the product advisor count 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( ProductAdvisorStatisticsAccessBean 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 setMetaphorTypeId(java.lang.String newMetaphorTypeId)
          Sets the metaphor type ID of this statistics.
 void setMetaphorTypeIdAsInteger(java.lang.Integer newMetaphorTypeId)
          Sets the metaphor type ID of this statistics, in EJB attribute type.
 void setPaCount(java.lang.String newPaCount)
          Sets the product advisor count of this statistics.
 void setPaCountAsInteger(java.lang.Integer newPaCount)
          Sets the product advisor count 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

metaphorTypeId

public java.lang.Integer metaphorTypeId
The metaphor type ID field in the PASTATS table.

storeId

public java.lang.Integer storeId
The store ID field in the PASTATS table.

catGroupId

public java.lang.Long catGroupId
The category ID field in the PASTATS table.

paCount

public java.lang.Integer paCount
The product advisor count field in the PASTATS table.
Constructor Detail

ProductAdvisorStatisticsBean

public ProductAdvisorStatisticsBean()
Constructor for ProductAdvisorStatisticsBean.
Method Detail

getCatGroupId

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

getCatGroupIdAsLong

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

getMetaphorTypeId

public java.lang.String getMetaphorTypeId()
Gets the metaphor type ID of this statistics.
Returns:
the metaphor type ID

getMetaphorTypeIdAsInteger

public java.lang.Integer getMetaphorTypeIdAsInteger()
Gets the metaphor type ID of this statistics, in EJB attribute type.
Returns:
the metaphor type ID

getPaCount

public java.lang.String getPaCount()
Gets the product advisor count of this statistics.
Returns:
the product advisor count

getPaCountAsInteger

public java.lang.Integer getPaCountAsInteger()
Gets the product advisor count of this statistics, in EJB attribute type.
Returns:
the product advisor count

getStoreId

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

getStoreIdAsInteger

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

populate

public void populate(ProductAdvisorStatisticsAccessBean statsAB)
              throws java.lang.Exception
Populate the databean that includes all the data related to this statistics.
Parameters:
statsAB - An instance of the product advisor statistics 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

setMetaphorTypeId

public void setMetaphorTypeId(java.lang.String newMetaphorTypeId)
Sets the metaphor type ID of this statistics.
Parameters:
newMetaphorTypeId - metaphor type ID

setMetaphorTypeIdAsInteger

public void setMetaphorTypeIdAsInteger(java.lang.Integer newMetaphorTypeId)
Sets the metaphor type ID of this statistics, in EJB attribute type.
Parameters:
newMetaphorTypeId - metaphor type ID

setPaCount

public void setPaCount(java.lang.String newPaCount)
Sets the product advisor count of this statistics.
Parameters:
newPaCount - product advisor count

setPaCountAsInteger

public void setPaCountAsInteger(java.lang.Integer newPaCount)
Sets the product advisor count of this statistics, in EJB attribute type.
Parameters:
newPaCount - product advisor count

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