com.softslate.commerce.businessobjects.product
Class RelatedProductBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
RelatedProductBean
public RelatedProductBean()
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 20032005