com.softslate.commerce.businessobjects.product
Class ProductCategoryBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.product.ProductCategoryBean
- All Implemented Interfaces:
- BusinessObject, ProductCategory, java.io.Serializable
public class ProductCategoryBean
- extends BaseBusinessObject
- implements ProductCategory, java.io.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:
- 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
productCategoryID
private int productCategoryID
productID
private int productID
categoryID
private int categoryID
productCategoryOrder
private int productCategoryOrder
product
private Product product
category
private Category category
ProductCategoryBean
public ProductCategoryBean()
getProductCategoryID
public int getProductCategoryID()
- Specified by:
getProductCategoryID
in interface ProductCategory
setProductCategoryID
public void setProductCategoryID(int productCategoryID)
- Specified by:
setProductCategoryID
in interface ProductCategory
getProductID
public int getProductID()
- Specified by:
getProductID
in interface ProductCategory
setProductID
public void setProductID(int productID)
- Specified by:
setProductID
in interface ProductCategory
getCategoryID
public int getCategoryID()
- Specified by:
getCategoryID
in interface ProductCategory
setCategoryID
public void setCategoryID(int categoryID)
- Specified by:
setCategoryID
in interface ProductCategory
getProductCategoryOrder
public int getProductCategoryOrder()
- Specified by:
getProductCategoryOrder
in interface ProductCategory
setProductCategoryOrder
public void setProductCategoryOrder(int productCategoryOrder)
- Specified by:
setProductCategoryOrder
in interface ProductCategory
getProduct
public Product getProduct()
- Specified by:
getProduct
in interface ProductCategory
setProduct
public void setProduct(Product product)
- Specified by:
setProduct
in interface ProductCategory
getCategory
public Category getCategory()
- Specified by:
getCategory
in interface ProductCategory
setCategory
public void setCategory(Category category)
- Specified by:
setCategory
in interface ProductCategory
Copyright © SoftSlate, LLC 20032005