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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintvoidsetCategory(Category category) voidsetCategoryID(int categoryID) voidsetProduct(Product product) voidsetProductCategoryID(int productCategoryID) voidsetProductCategoryOrder(int productCategoryOrder) voidsetProductID(int productID) 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 -
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:
getProductCategoryIDin interfaceProductCategory
-
setProductCategoryID
public void setProductCategoryID(int productCategoryID) - Specified by:
setProductCategoryIDin interfaceProductCategory
-
getProductID
public int getProductID()- Specified by:
getProductIDin interfaceProductCategory
-
setProductID
public void setProductID(int productID) - Specified by:
setProductIDin interfaceProductCategory
-
getCategoryID
public int getCategoryID()- Specified by:
getCategoryIDin interfaceProductCategory
-
setCategoryID
public void setCategoryID(int categoryID) - Specified by:
setCategoryIDin interfaceProductCategory
-
getProductCategoryOrder
public int getProductCategoryOrder()- Specified by:
getProductCategoryOrderin interfaceProductCategory
-
setProductCategoryOrder
public void setProductCategoryOrder(int productCategoryOrder) - Specified by:
setProductCategoryOrderin interfaceProductCategory
-
getProduct
- Specified by:
getProductin interfaceProductCategory
-
setProduct
- Specified by:
setProductin interfaceProductCategory
-
getCategory
- Specified by:
getCategoryin interfaceProductCategory
-
setCategory
- Specified by:
setCategoryin interfaceProductCategory
-