Class RelatedProductBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.product.RelatedProductBean
- All Implemented Interfaces:
BusinessObject,RelatedProduct,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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintvoidsetParentProduct(Product parentProduct) voidsetParentProductID(int parentProductID) voidsetProduct(Product product) voidsetProductID(int productID) voidsetRelatedProductID(int relatedProductID) voidsetRelatedProductOrder(int relatedProductOrder) voidsetRelatedType(String relatedType) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
log
static org.apache.commons.logging.Log log -
parentProductID
private int parentProductID -
productID
private int productID -
parentProduct
-
product
-
-
Constructor Details
-
RelatedProductBean
public RelatedProductBean()
-
-
Method Details
-
getParentProductID
public int getParentProductID()- Specified by:
getParentProductIDin interfaceRelatedProduct
-
setParentProductID
public void setParentProductID(int parentProductID) - Specified by:
setParentProductIDin interfaceRelatedProduct
-
getProductID
public int getProductID()- Specified by:
getProductIDin interfaceRelatedProduct
-
setProductID
public void setProductID(int productID) - Specified by:
setProductIDin interfaceRelatedProduct
-
getRelatedProductID
public int getRelatedProductID()- Specified by:
getRelatedProductIDin interfaceRelatedProduct
-
setRelatedProductID
public void setRelatedProductID(int relatedProductID) - Specified by:
setRelatedProductIDin interfaceRelatedProduct
-
getRelatedProductOrder
public int getRelatedProductOrder()- Specified by:
getRelatedProductOrderin interfaceRelatedProduct
-
setRelatedProductOrder
public void setRelatedProductOrder(int relatedProductOrder) - Specified by:
setRelatedProductOrderin interfaceRelatedProduct
-
getParentProduct
- Specified by:
getParentProductin interfaceRelatedProduct
-
setParentProduct
- Specified by:
setParentProductin interfaceRelatedProduct
-
getProduct
- Specified by:
getProductin interfaceRelatedProduct
-
setProduct
- Specified by:
setProductin interfaceRelatedProduct
-
getRelatedType
- Specified by:
getRelatedTypein interfaceRelatedProduct
-
setRelatedType
- Specified by:
setRelatedTypein interfaceRelatedProduct
-