com.softslate.commerce.businessobjects.product
Class RelatedProductBean

java.lang.Object
  extended by com.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended by com.softslate.commerce.businessobjects.product.RelatedProductBean
All Implemented Interfaces:
BusinessObject, RelatedProduct, java.io.Serializable

public class RelatedProductBean
extends BaseBusinessObject
implements RelatedProduct, java.io.Serializable

Object representing a related product in the system. RelatedProductBean is the default implementation of the RelatedProduct interface for the application.

The database stores related products in the sscRelatedProduct table, and this interface can be used to represent a single row of that table. The Hibernate configuration file RelatedProductBean.hbm.xml maps that table's columns to the properties in this object.

Author:
David Tobey
See Also:
Serialized Form

Field Summary
(package private) static org.apache.commons.logging.Log log
           
private  Product parentProduct
           
private  int parentProductID
           
private  Product product
           
private  int productID
           
private  int relatedProductID
           
private  int relatedProductOrder
           
private  java.lang.String relatedType
           
private static long serialVersionUID
           
 
Constructor Summary
RelatedProductBean()
           
 
Method Summary
 Product getParentProduct()
           
 int getParentProductID()
           
 Product getProduct()
           
 int getProductID()
           
 int getRelatedProductID()
           
 int getRelatedProductOrder()
           
 java.lang.String getRelatedType()
           
 void setParentProduct(Product parentProduct)
           
 void setParentProductID(int parentProductID)
           
 void setProduct(Product product)
           
 void setProductID(int productID)
           
 void setRelatedProductID(int relatedProductID)
           
 void setRelatedProductOrder(int relatedProductOrder)
           
 void setRelatedType(java.lang.String relatedType)
           
 
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

log

static org.apache.commons.logging.Log log

relatedProductID

private int relatedProductID

parentProductID

private int parentProductID

productID

private int productID

relatedProductOrder

private int relatedProductOrder

relatedType

private java.lang.String relatedType

parentProduct

private Product parentProduct

product

private Product product
Constructor Detail

RelatedProductBean

public RelatedProductBean()
Method Detail

getParentProductID

public int getParentProductID()
Specified by:
getParentProductID in interface RelatedProduct

setParentProductID

public void setParentProductID(int parentProductID)
Specified by:
setParentProductID in interface RelatedProduct

getProductID

public int getProductID()
Specified by:
getProductID in interface RelatedProduct

setProductID

public void setProductID(int productID)
Specified by:
setProductID in interface RelatedProduct

getRelatedProductID

public int getRelatedProductID()
Specified by:
getRelatedProductID in interface RelatedProduct

setRelatedProductID

public void setRelatedProductID(int relatedProductID)
Specified by:
setRelatedProductID in interface RelatedProduct

getRelatedProductOrder

public int getRelatedProductOrder()
Specified by:
getRelatedProductOrder in interface RelatedProduct

setRelatedProductOrder

public void setRelatedProductOrder(int relatedProductOrder)
Specified by:
setRelatedProductOrder in interface RelatedProduct

getParentProduct

public Product getParentProduct()
Specified by:
getParentProduct in interface RelatedProduct

setParentProduct

public void setParentProduct(Product parentProduct)
Specified by:
setParentProduct in interface RelatedProduct

getProduct

public Product getProduct()
Specified by:
getProduct in interface RelatedProduct

setProduct

public void setProduct(Product product)
Specified by:
setProduct in interface RelatedProduct

getRelatedType

public java.lang.String getRelatedType()
Specified by:
getRelatedType in interface RelatedProduct

setRelatedType

public void setRelatedType(java.lang.String relatedType)
Specified by:
setRelatedType in interface RelatedProduct


Copyright © SoftSlate, LLC 2003–2005