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 TypeMethodDescriptionint
int
int
int
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
(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 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:
getParentProductID
in interfaceRelatedProduct
-
setParentProductID
public void setParentProductID(int parentProductID) - Specified by:
setParentProductID
in interfaceRelatedProduct
-
getProductID
public int getProductID()- Specified by:
getProductID
in interfaceRelatedProduct
-
setProductID
public void setProductID(int productID) - Specified by:
setProductID
in interfaceRelatedProduct
-
getRelatedProductID
public int getRelatedProductID()- Specified by:
getRelatedProductID
in interfaceRelatedProduct
-
setRelatedProductID
public void setRelatedProductID(int relatedProductID) - Specified by:
setRelatedProductID
in interfaceRelatedProduct
-
getRelatedProductOrder
public int getRelatedProductOrder()- Specified by:
getRelatedProductOrder
in interfaceRelatedProduct
-
setRelatedProductOrder
public void setRelatedProductOrder(int relatedProductOrder) - Specified by:
setRelatedProductOrder
in interfaceRelatedProduct
-
getParentProduct
- Specified by:
getParentProduct
in interfaceRelatedProduct
-
setParentProduct
- Specified by:
setParentProduct
in interfaceRelatedProduct
-
getProduct
- Specified by:
getProduct
in interfaceRelatedProduct
-
setProduct
- Specified by:
setProduct
in interfaceRelatedProduct
-
getRelatedType
- Specified by:
getRelatedType
in interfaceRelatedProduct
-
setRelatedType
- Specified by:
setRelatedType
in interfaceRelatedProduct
-