Class ProductCategoryBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.product.ProductCategoryBean
- All Implemented Interfaces:
BusinessObject
,ProductCategory
,Serializable
public class ProductCategoryBean
extends BaseBusinessObject
implements ProductCategory, Serializable
Object representing a product within a category in the system.
ProductCategoryBean
is the default implementation of the
ProductCategory
interface for the application.
The database stores product categories in the sscProductCategory
table, and this interface can be used to represent a single row of that
table. The Hibernate configuration file
ProductCategoryBean.hbm.xml
maps that table's columns to the
properties in this object.
- Author:
- David Tobey
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
void
setCategory
(Category category) void
setCategoryID
(int categoryID) void
setProduct
(Product product) void
setProductCategoryID
(int productCategoryID) void
setProductCategoryOrder
(int productCategoryOrder) void
setProductID
(int productID) 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 -
productCategoryID
private int productCategoryID -
productID
private int productID -
categoryID
private int categoryID -
productCategoryOrder
private int productCategoryOrder -
product
-
category
-
-
Constructor Details
-
ProductCategoryBean
public ProductCategoryBean()
-
-
Method Details
-
getProductCategoryID
public int getProductCategoryID()- Specified by:
getProductCategoryID
in interfaceProductCategory
-
setProductCategoryID
public void setProductCategoryID(int productCategoryID) - Specified by:
setProductCategoryID
in interfaceProductCategory
-
getProductID
public int getProductID()- Specified by:
getProductID
in interfaceProductCategory
-
setProductID
public void setProductID(int productID) - Specified by:
setProductID
in interfaceProductCategory
-
getCategoryID
public int getCategoryID()- Specified by:
getCategoryID
in interfaceProductCategory
-
setCategoryID
public void setCategoryID(int categoryID) - Specified by:
setCategoryID
in interfaceProductCategory
-
getProductCategoryOrder
public int getProductCategoryOrder()- Specified by:
getProductCategoryOrder
in interfaceProductCategory
-
setProductCategoryOrder
public void setProductCategoryOrder(int productCategoryOrder) - Specified by:
setProductCategoryOrder
in interfaceProductCategory
-
getProduct
- Specified by:
getProduct
in interfaceProductCategory
-
setProduct
- Specified by:
setProduct
in interfaceProductCategory
-
getCategory
- Specified by:
getCategory
in interfaceProductCategory
-
setCategory
- Specified by:
setCategory
in interfaceProductCategory
-